curl --request POST \ --url https://devnet-as.magicblock.app/ \ --header 'Content-Type: application/json' \ --data '{ "jsonrpc": "2.0", "id": 1, "method": "getProgramAccounts", "params": [ "4Nd1mBQtrMJVYVfKf2PJy9NZUZdTAsp7D4xWLs4gDB4T", { "commitment": "finalized", "filters": [ { "dataSize": 17 }, { "memcmp": { "offset": 4, "bytes": "3Mc6vR" } } ] } ] }'
{ "jsonrpc": "2.0", "id": 1, "result": null, "error": null }
Returns all accounts owned by the provided program Pubkey.
Documentation IndexFetch the complete documentation index at: https://docs.magicblock.gg/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.magicblock.gg/llms.txt
Use this file to discover all available pages before exploring further.
2.0
getProgramAccounts
Method-specific parameters.
Successful response
Method-specific result payload.
이 페이지가 도움이 되었나요?