Authorizations API Key
WebAuthn (Passkey)
Cryptographically signed (stamped) request to be passed in as a header. For more info, see
here .
Cryptographically signed (stamped) request to be passed in as a header. For more info, see
here .
Body
Unique identifier for a given organization.
Address corresponding to a wallet account.
Enum options: eip155:1, eip155:11155111, eip155:8453, eip155:84532, eip155:137, eip155:80002
Response
A successful response returns the following fields:
List of asset balances The caip-19 asset identifier
The balance in atomic units
The number of decimals this asset uses
display field USD value for display purposes only. Do not do any arithmetic or calculations with these, as the results could be imprecise.
Normalized crypto value for display purposes only. Do not do any arithmetic or calculations with these, as the results could be imprecise.
curl --request POST \
--url https://api.turnkey.com/public/v1/query/get_wallet_address_balances \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header "X-Stamp: <string> (see Authorizations)" \
--data '{
"organizationId": "<string>",
"address": "<string>",
"caip2": "<eip155:1>"
}'
{
"balances" : [
{
"caip19" : "<string>" ,
"symbol" : "<string>" ,
"balance" : "<string>" ,
"decimals" : "<number>" ,
"display" : {
"usd" : "<string>" ,
"crypto" : "<string>"
},
"name" : "<string>"
}
]
}