Wallets
Add and manage xPub (BTC) or EVM (USDT) wallets, track balances, and configure wallet settings.
5 endpoints
Endpoints
/v2/walletsAuthList all wallets
Returns a list of all wallets associated with your Blockonomics account.
/v2/walletsAuthAdd a wallet
Attach a new wallet to your Blockonomics account.
/v2/wallets/{id}AuthGet wallet details
Returns details of a specific wallet.
/v2/wallets/{id}AuthUpdate a wallet
Update the details of a specific wallet.
/v2/wallets/{id}AuthDelete a wallet
Remove a wallet from your Blockonomics account.
The wallet object
A wallet holds an xPub address (BTC) or EVM address (USDT) and tracks your Bitcoin or USDT balances.
Attributes
idintegerUnique identifier of the wallet
namestringGiven name
emailidstringEmail of the wallet owner
cryptostringCryptocurrency of the wallet
addressstringAddress of the wallet
xpub_indexintegerThe current xPub index for BTC wallet
gap_limitintegerThe gap limit for BTC wallet
created_atstring (date-time)Datetime of the wallet creation
balanceobjectAggregate wallet balance (only present when balance=true is requested).
▶Show nested fields
confirmed_satsintegerConfirmed balance in satoshis.
unconfirmed_satsintegerUnconfirmed balance in satoshis.
confirmed_fiatnumberConfirmed balance in fiat currency.
unconfirmed_fiatnumberUnconfirmed balance in fiat currency.
fiat_currencystringFiat currency code.
total_addressesintegerTotal number of derived addresses.
Example object
{
"id": 0,
"name": "",
"emailid": "",
"crypto": "",
"address": "",
"xpub_index": 0,
"gap_limit": 0,
"created_at": "2024-01-01T00:00:00Z",
"balance": {
"confirmed_sats": 0,
"unconfirmed_sats": 0,
"confirmed_fiat": 0,
"unconfirmed_fiat": 0,
"fiat_currency": "",
"total_addresses": 0
}
}