GET
/
api
/
v1
/
developer
/
bitcoin
/
raw
/
outputs
curl --request GET \
  --url https://api.allium.so/api/v1/developer/bitcoin/raw/outputs \
  --header 'X-API-KEY: <api-key>'
{
  "items": [
    {
      "script_asm": "<string>",
      "script_hex": "<string>",
      "type": "<string>",
      "address": "<string>",
      "description": "<string>",
      "index": 0,
      "transaction_hash": "<string>",
      "block_hash": "<string>",
      "block_number": 0,
      "block_timestamp": "2023-11-07T05:31:56Z",
      "value": "<string>",
      "utxo_id": "<string>",
      "addresses": "<string>",
      "address0": "<string>",
      "value_max_exclusive": "<string>",
      "transaction_index": 0,
      "value_min_inclusive": "<string>",
      "is_reorg": true,
      "is_patched_block": true,
      "fetched_at": "2023-11-07T05:31:56Z"
    }
  ],
  "size": 2,
  "page": 2
}

Outputs in Bitcoin transactions specify the recipients and the amount of bitcoin being transferred. Each output creates a new unspent transaction output (UTXO), which can be used as an input in future transactions. Any leftover value can be sent to a change address or used for fees, ensuring precise fund allocation.

Authorizations

X-API-KEY
string
header
required

Query Parameters

block_number
string

Response

200
application/json

Successful Response

The response is of type object.