Get Wallet balance
This helps in getting the wallet balance with this method.
API Specification
Get Wallet balance
POST
http://localhost:8889/wallet/getBalance
Creates a new wallet under the given instance.
Request Body
Name
Type
Description
walletId*
String
wallet id
chainId*
String
chainId
{
"Status": "SUCCESS",
"Message": "",
"Data": {
"address": "xxxxxxxxxxxxxxxxx",
"balance": 190909345505164350
}
}
Take a look at how you might call this method using our official libraries, or via curl
:
curl -X POST http://localhost:8889/wallet/getBalance \
-H "Content-Type: application/json" \
-d '{
"walletId": "xxxxxxxxxxx",
"chainId": "xxxxxxxxxxx"
}'
Last updated
Was this helpful?