Questions tagged [getaccountinfo]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer

Can I change program data ID of the program account?

When fetching the program account using getAccountInfo rpc, it will return the following response: { "jsonrpc": "2.0", "result": { "context": { ...
johnhckuo's user avatar
  • 135
3 votes
1 answer

Premature close error when fetching 25 or more accounts at once with @solana/web3.js connection.getAccountInfo

Overview Using the Connection class' method getAccountInfo with Promise.all and at least 25 requests will fail with: Error: failed to get info about account ...
Peroxy's user avatar
  • 161
1 vote
1 answer

How to get account info from my local private rpc?

I built private rpc node in mainnet and it catches up well. I want to get account info from localhost, but it gets error. curl http://localhost:8899 -X POST -H "Content-Type: application/json&...
picorypt's user avatar
1 vote
1 answer

How to parse base64 program data from getParsedAccountInfo?

I've been trying to figure out a way to programmatically derive the descriptive "label" given a program's base58 address, e.g. cndyAnrLdpjq1Ssp1z8xxDsB8dxe7u4HL5Nxi2K5WXZ => NFT Candy ...
Sun Lee's user avatar
  • 113