This is an alpha API and subject to change.
Headers
API key required for authentication
Path Parameters
A wallet locator can be of the format:
<walletAddress>
email:<email>:<chainType>[:<walletType>]
(walletType defaults to 'smart')userId:<userId>:<chainType>[:<walletType>]
(white label user example)phoneNumber:<phoneNumber>:<chainType>[:<walletType>]
twitter:<handle>:<chainType>[:<walletType>]
x:<handle>:<chainType>[:<walletType>]
me:<chainType>[:<walletType>]
(Use when calling from the client side with a client API key)
Query Parameters
The blockchain(s) to query. Comma-separated list of chains
The tokens to query. Comma-separated list of either tokens or token locator strings
Response
Returns the balance of the wallet for the given chain and currency
Array of wallet balances per token
The number of decimals of the token
Example:
18
The amount of the token after placing the decimal point
Example:
"18.8343253454"
The raw amount of the token
Example:
"18834161225104097789"
Balance information per chain
Example:
{
"base": {
"contractAddress": "0x123",
"locator": "base:0x123",
"amount": "18.833423432423",
"rawAmount": "18834161225104097789"
},
"solana": {
"mintHash": "123123",
"locator": "solana:132",
"amount": "0",
"rawAmount": "00000000000000000"
}
}