POST
/
788f110831fe13808302bd79796d55e8
curl --request POST \
  --url https://nd-202-842-353.p2pify.com/788f110831fe13808302bd79796d55e8 \
  --header 'Content-Type: application/json' \
  --data '{
  "jsonrpc": "1.0",
  "method": "gettxout",
  "params": [
    "0bf82c1d62b73497de2d796636cb1ce64415d25982332436007c0f51b5a75a62",
    1
  ],
  "id": 1
}'
{
  "result": {},
  "error": {},
  "id": 123
}

The gettxout method retrieves information about a specific transaction output in the blockchain.

Get you own node endpoint today

Start for free and get your app to production levels immediately. No credit card required.

You can sign up with your GitHub, X, Google, or Microsoft account.

Parameters

  • transaction ID (required): The ID of the transaction for which to retrieve the output information.

Response

  • result — an object containing details about the specified transaction output.
  • error — an object containing an error message if an error occurred, otherwise null.
  • id — an integer representing the ID of the request.

Use case

The gettxout method is useful for querying specific details about a transaction output, such as its value, script, and more.

Body

application/json

Response

200 - application/json

Information about the specified transaction output

The response is of type object.