Giter VIP home page Giter VIP logo

get-collection's People

Contributors

austbot avatar linuskendall avatar s6thgehr avatar samuelvanderwaal avatar tpompon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

get-collection's Issues

maxSupportedTransactionVersion not supported

Do you think this is really a RPC issue OR should the script be updated?

Getting signatures...
Found 1293 signatures
Getting transaction data...
/Users/metasal/Projects on HDD/TEMP/get-collection/get-collection-ts/node_modules/@solana/web3.js/src/connection.ts:4833
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 (/Users/metasal/Projects on HDD/TEMP/get-collection/get-collection-ts/node_modules/@solana/web3.js/src/connection.ts:4833:13)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Promise.all (index 0)
at async main (/Users/metasal/Projects on HDD/TEMP/get-collection/get-collection-ts/index.ts:43:24) {
code: -32015,
data: undefined

Can't run `npx ts-node index.ts [collection_id]`

Problem

When running npx ts-node index.ts [collection_id], I'm getting a fetch error with the following reason Client network socket disconnected before secure TLS connection was established.

Here are the logs:

Getting signatures...
/Users/***/***/get-collection/get-collection-ts/node_modules/node-fetch/lib/index.js:1491
			reject(new FetchError(`request to ${request.url} failed, reason: ${err.message}`, 'system', err));
          ^
FetchError: request to https://api.metaplex.com/ failed, reason: Client network socket disconnected before secure TLS connection was established
    at ClientRequest.<anonymous> (/Users/***/***/get-collection/get-collection-ts/node_modules/node-fetch/lib/index.js:1491:11)
    at ClientRequest.emit (node:events:513:28)
    at ClientRequest.emit (node:domain:489:12)
    at TLSSocket.socketErrorListener (node:_http_client:488:9)
    at TLSSocket.emit (node:events:513:28)
    at TLSSocket.emit (node:domain:489:12)
    at emitErrorNT (node:internal/streams/destroy:151:8)
    at emitErrorCloseNT (node:internal/streams/destroy:116:3)
    at processTicksAndRejections (node:internal/process/task_queues:82:21) {
  type: 'system',
  errno: 'ECONNRESET',
  code: 'ECONNRESET'
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.