Retrieve wallet balance
How to retrieve the native balance of a wallet
get
https://api-wallet.venly.io
/api/wallets/:walletId/balance
Get native balance by wallet id
get
https://api-wallet.venly.io
/api/wallets/:secretType/:walletAddress/balance
Get native balance by secret type and wallet address
{
"success": true,
"result": {
"available": true,
"secretType": "MATIC",
"balance": 0.089979,
"gasBalance": 0.089979,
"symbol": "MATIC",
"gasSymbol": "MATIC",
"rawBalance": "89979000000000000",
"rawGasBalance": "89979000000000000",
"decimals": 18
}
}
Last modified 6mo ago