Venly API
Searchβ¦
Venly API
π
Introduction
π
Changelog
Postman Collection
π
Authentication
How to authenticate
How to get a Bearer token
π¦
API Products
Wallet API
Create a wallet
Retrieve a wallet
Retrieve a wallet by identifier
Retrieve all wallets
Retrieve wallet balance
Retrieve token balance
Retrieve non-fungible tokens
Transfer a native token
Transfer a fungible token
Transfer a non-fungible token
Swaps
Signatures
Read contract
Execute contract call
Get Tx status
Get fees
Resubmit transaction
Import a wallet
Export a wallet
Update wallet PIN
Archive a wallet
NFT API
NFT Analytics
Market API
βοΈAdvanced
Guides
NFT Configuration
πDeep dive
Environments & networks
Authentication Bridge
Object Reference
Powered By
GitBook
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
}
]
}
β
β
Previous
Retrieve wallet balance
Next
Retrieve non-fungible tokens
Last modified
2mo ago
Copy link
Outline
get
Get all token balances by wallet id
get
Get a specific token balance by wallet id
get
Get all token balances by secret type and wallet address
get
Get a specific token balance by secret type and wallet address
Example