BTC Balances
Get native BTC balances for a Bitcoin address or xpub. When an xpub is supplied, balances are aggregated across all derived addresses server-side.
walletAddressOrPublicKey path parameter accepts either a Bitcoin address or an xpub — when an xpub is supplied, balances are aggregated across all derived addresses server-side.chains parameter is optional — Moralis detects the chain family from the address format. Passing chains=bitcoin explicitly still works.Authorizations
Path Parameters
A Bitcoin address or an xpub. When an xpub is supplied, the API derives all addresses server-side.
Query Parameters
Chains to query. For the Bitcoin API, pass bitcoin.
bitcoin The cursor to the next page
The limit per page
1 <= x <= 1000The token addresses to be filtered in
[
"0xdac17f958d2ee523a2206206994597c13d831ec7"
]Should exclude spam contract
true
Should exclude unverified contract
true
Should exclude native contract
true
Should filter out contract exceeding max token inactivity
1
Should filter out contract under liquidity threshold
0
Response
Metadata about the multi-chain request
The wallet address
"0xcb1c1fde09f811b294172696404e88e658659905"
The wallet address type
bitcoin "evm"
The cursor to be used for getting the next page of results
"eyJhbGciOi...VCaaw"
The list of items

