Skip to content

getbalanceandbandwidth

• Returns both balance and remaining bandwidth for a wallet.

• This is critical in UAX, where bandwidth is used to pay for transaction execution.

getbalanceandbandwidth
curl "http://localhost:8492/balance_and_bandwidth?address=5rGcfzFhn9QZ.uaxn&remark=UAXN
Response
{
"jsonrpc":"2.0",
"result":{
"balance":"5235.355783866049",
"bandwidth":"301.03998444768047"
},
"id":1}