Skip to main content

gettxout RPC Method

Loading...

Updated on
Feb 03, 2026

gettxout RPC Method

Parameters

txid
string
REQUIRED
Loading...
n
numeric
REQUIRED
Loading...
include_mempool
boolean
Loading...

Returns

bestblock
Loading...
confirmations
Loading...
value
Loading...
scriptPubKey
Loading...
asm
Loading...
hex
Loading...
reqSigs
Loading...
type
Loading...
addresses
Loading...
str
Loading...
coinbase
Loading...
Request
1
curl -X POST "https://docs-demo.btc.quiknode.pro/" \
2
-H "Content-Type: application/json" \
3
-d '{
4
"jsonrpc": "2.0",
5
"method": "gettxout",
6
"params": [
7
"be3c84aa440779532a48232a67bea63e6756d614e194388a3e0102680fd69475",
8
1
9
],
10
"id": 1
11
}'
Response
1
{
2
"jsonrpc": "2.0",
3
"result": null,
4
"id": 1
5
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free