Venly API
Search
K

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

Example

Response

{
"success": true,
"result": {
"available": true,
"secretType": "MATIC",
"balance": 0.089979,
"gasBalance": 0.089979,
"symbol": "MATIC",
"gasSymbol": "MATIC",
"rawBalance": "89979000000000000",
"rawGasBalance": "89979000000000000",
"decimals": 18
}
}