GetTransactionSummary
GET/btc/:network/txns/:txid
Get the summary of a transaction.
Responses
- 200
- 400
- 401
successful operation
- application/json
- Example
{
"statusCode": 0,
"data": {
"txid": "56f7bf57e525c33e80e7200e8da054ca49ceacf66ea4c90c944d3a59c5a0c88b",
"version": 2,
"locktime": 0,
"vin": [
{
"txid": "d93f4f610f626cee5f97f61f5982057ecbc7990ca04410dc2b6f659f278122ae",
"vout": 2,
"prevout": {
"scriptpubkey": "51204a98aa12ded9f6c53e2164b90dd95d38f4be1c342ceec770c7d62d1844217cec",
"scriptpubkey_asm": "OP_PUSHNUM_1 OP_PUSHBYTES_32 4a98aa12ded9f6c53e2164b90dd95d38f4be1c342ceec770c7d62d1844217cec",
"scriptpubkey_type": "v1_p2tr",
"scriptpubkey_address": "tb1pf2v25yk7m8mv203pvjusmk2a8r6tu8p59nhvwux86ck3s3pp0nkqt30dvt",
"value": 12500000
},
"scriptsig": "",
"scriptsig_asm": "",
"witness": [
"d24a3dd2508b336cc606533ad2ff69f25ca678a49e54e5aa4304647950494e416ae9ac1d5a4f86b2b97a9081078474f7f2a97288b7aa03a5980f7c5a8e6e2dab",
"79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798",
"000000",
"00000002000020ad6b5a00",
"637177644948c8009f33caca46125d3460da41cc884f55b0a3851874bf",
"01",
"17",
"60947600a2697601409f697601407c94b2750200006b760120a2636c04000000007e6b012094687660a2636c0200007e6b6094687658a2636c01007e6b5894687c825188766b517e020001947c7600876302000167765187630280006776528763014067765387630120677654876360677655876358677656876354675268686868686868779f696c6c7e7e6b708201208875820140887c827c7e7e7c827c7e7c7eaa6c88ac",
"c14a981eda2acd9bf5d789fa1a9b7f95677776d99fd13ec0f658f0e4dbc5b5c878"
],
"is_coinbase": false,
"sequence": 57
}
],
"vout": [
{
"scriptpubkey": "00141335a6c31f8f3bcbd2598273b8c5ce87abe9f7a1",
"scriptpubkey_asm": "OP_0 OP_PUSHBYTES_20 1335a6c31f8f3bcbd2598273b8c5ce87abe9f7a1",
"scriptpubkey_type": "v0_p2wpkh",
"scriptpubkey_address": "tb1qzv66dscl3uauh5jesfem33wws747naapcgt4c5",
"value": 12488215
}
],
"size": 434,
"weight": 680,
"fee": 11785,
"status": {
"confirmed": true,
"block_height": 201433,
"block_hash": "0000001a6bafcde7aac0049912a755770920bcd85e28a19c550079a75d66d918",
"block_time": 1719250922
}
}
}
Bad Request
Unauthorized
Loading...