Shred Delivery and Sender are now live! Get earliest access to raw Solana data and optimized transaction sending. Learn about Shred Delivery | Learn about Sender
简体中文
返回提供的公钥账户的 lamport 余额。
cURL
curl --request POST \ --url https://mainnet.helius-rpc.com/ \ --header 'Content-Type: application/json' \ --data '{ "jsonrpc": "2.0", "id": "1", "method": "getBalance", "params": [ "83astBRguLMdt2h5U1Tpdq5tjFoJ6noeGwaY3mDLVcri" ] }'
{ "jsonrpc": "2.0", "id": "<string>", "result": { "context": { "slot": 1 }, "value": 0 } }
您的Helius API密钥。您可以在仪表板中免费获取一个。
JSON-RPC 协议版本。
2.0
请求的唯一标识符。
"1"
要调用的 RPC 方法名称。
getBalance
请求的参数。
Show child attributes
成功检索到账户余额。
此页面对您有帮助吗?