Venly API
Search…
Retrieve token balance
How to retrieve the token balances for a wallet (ERC20 standard)
get
https://api.arkane.network
/api/wallets/<walletId>/balance/tokens
Get all token balances
get
https://api.arkane.network
/api/wallets/<walletId>/balance/tokens/<tokenAddress>
Get a specific token balance

Example

Response

1
{
2
"success": true,
3
"result": [
4
{
5
"tokenAddress": "0x2d7882bedcbfddce29ba99965dd3cdf7fcb10a1e",
6
"rawBalance": "1000000000000000000",
7
"balance": 1.0,
8
"decimals": 18,
9
"symbol": "TST",
10
"logo": "https://img.arkane.network/tokens/matic/testnet/logos/0x2d7882bedcbfddce29ba99965dd3cdf7fcb10a1e.png",
11
"type": "ERC_20",
12
"transferable": true
13
}
14
]
15
}
Copied!

Last modified 8mo ago