Skip to content

Transaction version (0) is not supported by the requesting client, set maxSupportedTransactionVersion #2148

@kskalski

Description

@kskalski

This is probably due to old anchor dependency used by @pythnetwork/pyth-solana-receiver

node_modules/@solana/web3.js/src/connection.ts:5069
      throw new SolanaJSONRPCError(res.error, 'failed to get transaction');
            ^

SolanaJSONRPCError: failed to get transaction: Transaction version (0) is not supported by the requesting client. Please try the request again with the following configuration parameter: "maxSupportedTransactionVersion": 0
    at Connection.getTransaction (node_modules/@solana/web3.js/src/connection.ts:5069:13)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at AnchorProvider.sendAll (node_modules/@pythnetwork/pyth-solana-receiver/node_modules/@coral-xyz/anchor/src/provider.ts:256:28)
    at <anonymous> (pythPush.ts:63:5) {
  code: -32015,
  data: undefined
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions