List unspents on a wallet

get/api/v2/{coin}/wallet/{walletId}/unspents

Path Parameters

  • coinstringRequired
    A cryptocurrency symbol or token ticker symbol
    Example: btc
    Min length: >= 1 characters
  • walletIdstringRequired
    Example: 59cd72485007a239fb00282ed480da1f
    Pattern: ^[0-9a-f]{32}$
    Min length: >= 1 characters

Query Parameters

  • limitstring<number>Default: 25
    Limit the number of results.
    Minimum: >= 0
    Maximum: <= 2000
  • prevIdstring
    Only return results created after this ID
    Min length: >= 1 characters
  • chainsarray[string]<number>
    Filter by chains. May be given mutiple times
  • targetstring<number>
    The combined target value of the unspents
  • numRecipientsstring<number>
    number of recipients of the unspents

200 Response

unspents array[object] required
chain number
The chain of the UTXO
index number
The index of the UTXO
redeemScript string
The redeem script of the UTXO
witnessScript string
The witness script of the UTXO
id string
The ID of the UTXO
address string
The address of the UTXO
value number
The value of the UTXO
blockHeight number
The block this Unspent was created in
coinbase boolean
True if this unspent came from the coinbase transaction
nextBatchPrevId string
The ID from where the results can continue
coin string
A cryptocurrency symbol or token ticker symbol
Example: btc
bumpFee string <number>
fee bump

400 Response

name string
Error code
context object required
Properties that apply to a specific error name
error string required
Human-readable error message
requestId string required
Client request id