Venly API
Search…
⌃K

Retrieve token balance

How to retrieve the token balances for a wallet (ERC20 standard)
get
https://api-wallet.venly.io
/api/wallets/<walletId>/balance/tokens
Get all token balances by wallet id
get
https://api-wallet.venly.io
/api/wallets/<walletId>/balance/tokens/<tokenAddress>
Get a specific token balance by wallet id
get
https://api-wallet.venly.io
/:secretType/:walletAddress/balance/tokens
Get all token balances by secret type and wallet address
get
https://api-wallet.venly.io
/:secretType/:walletAddress/balance/tokens/:tokenAddress
Get a specific token balance by secret type and wallet address

Example

Response

{
"success": true,
"result": [
{
"tokenAddress": "0x2d7882bedcbfddce29ba99965dd3cdf7fcb10a1e",
"rawBalance": "1000000000000000000",
"balance": 1.0,
"decimals": 18,
"symbol": "TST",
"logo": "https://img.arkane.network/tokens/matic/testnet/logos/0x2d7882bedcbfddce29ba99965dd3cdf7fcb10a1e.png",
"type": "ERC_20",
"transferable": true
}
]
}