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
}
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
}
gettxout
method retrieves information about a specific transaction output in the blockchain.
transaction ID
(required): The ID of the transaction for which to retrieve the output information.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.gettxout
method is useful for querying specific details about a transaction output, such as its value, script, and more.Information about the specified transaction output
The response is of type object
.
Was this page helpful?