Wallet Operations

Balance queries and account management

Wallet-related operations including balance queries and account information retrieval.

Get wallet balance for default token

get
/api/wallet/balance/{publicKey}

Retrieves the AMA token balance for a specific public key

Path parameters
publicKeystringRequired

Base58-encoded public key

Example: 7EVUJfpnEqK32KrzUAaR4Yf26KgT66AWwW63xSHw5mbgdQhV8iwL1NkHMAqTi5Hv3h
Responses
200

Balance retrieved successfully

application/json
get
/api/wallet/balance/{publicKey}
cURL
200

Balance retrieved successfully

Get wallet balance for specific token

get
/api/wallet/balance/{publicKey}/{symbol}

Retrieves the balance for a specific token symbol

Path parameters
publicKeystringRequired

Base58-encoded public key

Example: 7EVUJfpnEqK32KrzUAaR4Yf26KgT66AWwW63xSHw5mbgdQhV8iwL1NkHMAqTi5Hv3h
symbolstringRequired

Token symbol (e.g., AMA, USDT)

Example: AMA
Responses
200

Balance retrieved successfully

application/json
get
/api/wallet/balance/{publicKey}/{symbol}
200

Balance retrieved successfully

Get all token balances

get
/api/wallet/balance_all/{publicKey}

Retrieves balances for all tokens held by a specific public key

Path parameters
publicKeystringRequired

Base58-encoded public key

Example: 7EVUJfpnEqK32KrzUAaR4Yf26KgT66AWwW63xSHw5mbgdQhV8iwL1NkHMAqTi5Hv3h
Responses
200

All balances retrieved successfully

application/json
get
/api/wallet/balance_all/{publicKey}
200

All balances retrieved successfully