FULL NAME
SUBJECT
Customer Support
Customer Support
Business / Sales
Partnership
Feedback
Demo Request
Other
TEXT MESSAGE
0/300
📝 Share Your Feedback on Twitter and Claim 1M Free GetBlock Requests
Method: POST getAccountInfo
返回与提供的Pubkey帐户相关的所有信息。
Pubkey
- 细绳
cool的cubkey to询问,作为基本58编码字符串
Config
- 目的
选修的。
包含以下可选字段的配置对象: - 承诺(可选) - 编码:字符串 - 为帐户数据编码“ base58”(slow),“ base64”,“ base64+ZSTD”或“ JSONPARSED”。 “ base58”仅限于129个字节的数据。 “ base64”将返回基本64编码数据,以获取任何大小的帐户数据。 “ base64+ZSTD”使用ZSTANDARD压缩帐户数据,并编码结果。 “ JSONPARSED”编码尝试使用特定于程序的状态解析器来返回更多可读和明确的帐户状态数据。 如果请求“ JSONPARSED”,但找不到解析器,则该字段落在“ base64”编码中,当数据字段为类型字符串时可检测到。 -DataSlice:Object(可选) - 使用提供的[OFFSET:USIZE]和[length:usize]字段限制返回的帐户数据; 仅适用于“ base58”,“ base64”或“ base64+ZSTD”编码。
curl --location --request POST 'https://sol.getblock.io/mainnet' \ --header 'x-api-key: YOUR-API-KEY' \ --header 'Content-Type: application/json' \ --data-raw '{"jsonrpc": "2.0", "method": "getAccountInfo", "params": ["vines1vzrYbzLMRdu58ou5XTby4qAqVRLmqo36NKPTg", [{"encoding": "base58"}]], "id": "getblock.io"}'
{ "id": "getblock.io", "jsonrpc": "2.0", "result": { "context": { "slot": 1 }, "value": { "data": [ "11116bv5nS2h3y12kD1yUKeMZvGcKLSjQgX6BeV7u1FrjeJcKfsHRTPuR3oZ1EioKtYGiYxpxMG5vpbZLsbcBYBEmZZcMKaSoGx9JZeAuWf", "base58" ], "executable": false, "lamports": 1000000000, "owner": "11111111111111111111111111111111", "rentEpoch": 2 } } }
POST getAccountInfo
POST getBalance
POST getLargestAccounts
POST getMultipleAccounts
POST getProgramAccounts
POST getVoteAccounts
POST getBlock
POST getBlockHeight
POST getBlockProduction
POST getBlockCommitment
POST getBlocks
POST getBlocksWithLimit
POST getBlockTime
POST getFirstAvailableBlock
POST getClusterNodes
POST getEpochInfo
POST getEpochSchedule
POST getGenesisHash
POST getHealth
POST getIdentity
POST getInflationGovernor
POST getInflationRate
POST getInflationReward
POST getLeaderSchedule
POST getMaxRetransmitSlot
POST getMaxShredInsertSlot
POST getMinimumBalanceForRentExemption
POST getRecentPerformanceSamples
POST getSignaturesForAddress
POST getSignatureStatuses
POST getSlot
POST getSlotLeader
POST getSlotLeaders
POST getStakeActivation
POST getSupply
POST getVersion
POST minimumLedgerSlot
POST getTokenAccountBalance
POST getTokenAccountsByDelegate
POST getTokenAccountsByOwner
POST getTokenLargestAccounts
POST getTokenSupply
POST getTransaction
POST getTransactionCount
POST sendTransaction
POST simulateTransaction
POST getLatestBlockhash
POST isBlockhashValid
POST getConfirmedBlock
POST getConfirmedBlocks
POST getConfirmedBlocksWithLimit
POST getConfirmedSignaturesForAddress2
POST getConfirmedTransaction
POST getFeeCalculatorForBlockhash
POST getFeeRateGovernor
POST getFees
POST getRecentBlockhash
POST getSnapshotSlot
POST getFeeForMessage
POST getHighestSnapshotSlot
POST requestAirdrop
POST accountSubscribe
POST accountUnsubscribe
POST blockSubscribe
POST blockUnsubscribe
POST logsSubscribe
POST logsUnsubscribe
POST programSubscribe
POST programUnsubscribe
POST signatureSubscribe
POST signatureUnsubscribe
POST slotSubscribe
POST slotUnsubscribe
POST slotsUpdatesSubscribe
POST slotsUpdatesUnsubscribe
POST rootSubscribe
POST rootUnsubscribe
POST voteSubscribe
POST voteUnsubscribe
Nodes
Shared Nodes Dedicated Nodes Node Cluster Tracker Pricing Blockchain Development Documentation SLAPartnerships
Media KitNodes
Shared Nodes Dedicated Nodes Node Cluster Tracker Pricing Blockchain Development Documentation SLAPartnerships
Media KitNodes
Shared Nodes Dedicated Nodes Node Cluster Tracker Pricing Blockchain Development Documentation SLAPartnerships
Media KitPartnerships
Media KitFeel Free to Reach Out Anytime! 👋
FULL NAME
SUBJECT
Customer Support
Customer Support
Business / Sales
Partnership
Feedback
Demo Request
Other
TEXT MESSAGE
0/300
KakaoTalk