Last updated 25 days ago
address - string
address
Base58 address
curl --location --request POST 'https://go.getblock.io/<ACCESS-TOKEN>/' \ --header 'Content-Type: application/json' \ --data-raw '{"jsonrpc": "2.0", "method": "getbalancev2", "params": ["Adj7W5Z2hTeKH7YwJsfMzLuwiD671mvJ6X"], "id": "getblock.io"}'
{ "desc": "SUCCESS", "error": 0, "id": "getblock.io", "jsonrpc": "2.0", "result": { "height": "16224577", "ong": "9380961617034000000000", "ont": "14540000000000" } }
Example code for the getbalancev2 json-rpc method. Сomplete guide on how to use getbalancev2 json-rpc in GetBlock.io Web3 documentation.