Skip to main content


Provides details an unspent transaction output back.

Example Request and Result for gettxout method​

In this section, we provide an illustrative example of a request made to retrieve details contents using the gettxout method. Additionally, we present the resulting response containing information about an unspent transaction output.


txid*stringThe transaction id
n*numericVout number
include_mempoolbooleanWhether to include the mempool. Note that an unspent output that is spent in the mempool won’t appear.
Default = true.

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 '<project-id>' \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "1.0",
"id": "bwarelabs",
"method": "gettxout",
"params": [