FULL NAME
SUBJECT
Customer Support
Customer Support
Business / Sales
Partnership
Feedback
Demo Request
Other
TEXT MESSAGE
0/300
⚡ We welcome businesses to test our enterprise-grade service
Method: POST theta.GetAccount
此API返回以JSON格式查询的帐户的详细信息。
address
- 细绳
帐户的地址。
curl --location --request POST 'https://theta.getblock.io/mainnet/' \ --header 'x-api-key: YOUR-API-KEY' \ --header 'Content-Type: application/json' \ --data-raw '{"jsonrpc": "2.0", "method": "theta.GetAccount", "params": {"address": "0x4b80a68a8469d33449eb101082e5500b932a23ce"}, "id": "getblock.io"}'
{ "id": "getblock.io", "jsonrpc": "2.0", "result": { "code": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", "coins": { "tfuelwei": "0", "thetawei": "0" }, "last_updated_block_height": "0", "reserved_funds": [], "root": "0x0000000000000000000000000000000000000000000000000000000000000000", "sequence": "0" } }