gettxoutsetinfo
info
Note this call may take some time.
Example Request and Result for gettxoutsetinfo methodβ
In this section, we provide an illustrative example of a request made to retrieve details contents using the gettxoutsetinfo
method. Additionally, we present the resulting response containing information about the output set of unspent transactions.
Parametersβ
Field | Type | Description |
---|---|---|
hash_type | string | Which UTXO set hash should be calculated. Options: βhash_serialized_2β (the legacy algorithm), βnoneβ. |
info
The example in this section uses a non-existing project id.
Make sure you replace it with your Bitcoin mainnet or Bitcoin Testnet endpoint when issuing the API calls.
Don't have a project id? Here's a straightforward guide on how to obtain one!
Curl Request exampleβ
curl --location 'https://bitcoin-mainnet.blastapi.io/<project-id>' \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "1.0",
"id": "bwarelabs",
"method": "gettxoutsetinfo",
"params": []
}'