Skip to main content

Wallet Endpoints

Convenience endpoints for wallet applications — query native balances, CW20 token holdings, transaction history, and broadcast signed transactions through the backend.

Get Native Balance

Returns the uxyz balance for an address.
The balance is in uxyz. Divide by 1,000,000 for XYZ.

Get Token Holdings

Returns all CW20 token balances for an address by querying each known token contract.

Get Transaction History

Returns transactions for an address, ordered by most recent first.
Query Parameters:

Get Prices

Returns the current XYZ/USD price fetched from pump.fun.
The price is cached for 5 minutes. Returns { "XYZ": 0 } if the price feed is unavailable.

Broadcast Transaction

Submit a signed transaction through the backend node. The backend relays it to the chain and returns the result.

Request Body

Response

The broadcast endpoint includes deduplication — submitting the same signed transaction twice will return the hash from the first submission rather than broadcasting again.

Error Codes