Skip to content

Instantly share code, notes, and snippets.

@yuyasugano
Last active May 11, 2021 13:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yuyasugano/3081e169fc7666194337275599b59513 to your computer and use it in GitHub Desktop.
Save yuyasugano/3081e169fc7666194337275599b59513 to your computer and use it in GitHub Desktop.
confirm X-chain balance
curl -X POST --data '{
"jsonrpc":"2.0",
"id" : 1,
"method" :"avm.getAllBalances",
"params" :{
"address":"X-fuji14gnzvppj3ydjdkt49jdgrn67ha4fysk26jwm5g"
}
}' -H 'content-type:application/json;' 127.0.0.1:9650/ext/bc/X
{"jsonrpc":"2.0","result":{"balances":[{"asset":"AVAX","balance":"10500000000"}]},"id":1}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment