curl --request GET \
--url https://xbt-mainnet.gomaestro-api.org/v0/esplora/tx/{txid} \
--header 'api-key: <api-key>'
{
"txid": "<string>",
"version": 123,
"locktime": 123,
"size": 123,
"weight": 123,
"fee": 123,
"vin": [
{
"txid": "<string>",
"vout": 123,
"is_coinbase": true,
"scriptsig": "<string>",
"scriptsig_asm": "<string>",
"sequence": 123,
"witness": [
"<string>"
],
"prevout": {
"scriptpubkey": "<string>",
"scriptpubkey_asm": "<string>",
"scriptpubkey_type": "<string>",
"scriptpubkey_address": "<string>",
"value": 123
}
}
],
"vout": [
{
"scriptpubkey": "<string>",
"scriptpubkey_asm": "<string>",
"scriptpubkey_type": "<string>",
"scriptpubkey_address": "<string>",
"value": 123
}
],
"status": {
"confirmed": true,
"block_height": 123,
"block_hash": "<string>",
"block_time": 123
}
}
Get detailed information about a specific Bitcoin transaction including inputs, outputs, and fees.
curl --request GET \
--url https://xbt-mainnet.gomaestro-api.org/v0/esplora/tx/{txid} \
--header 'api-key: <api-key>'
{
"txid": "<string>",
"version": 123,
"locktime": 123,
"size": 123,
"weight": 123,
"fee": 123,
"vin": [
{
"txid": "<string>",
"vout": 123,
"is_coinbase": true,
"scriptsig": "<string>",
"scriptsig_asm": "<string>",
"sequence": 123,
"witness": [
"<string>"
],
"prevout": {
"scriptpubkey": "<string>",
"scriptpubkey_asm": "<string>",
"scriptpubkey_type": "<string>",
"scriptpubkey_address": "<string>",
"value": 123
}
}
],
"vout": [
{
"scriptpubkey": "<string>",
"scriptpubkey_asm": "<string>",
"scriptpubkey_type": "<string>",
"scriptpubkey_address": "<string>",
"value": 123
}
],
"status": {
"confirmed": true,
"block_height": 123,
"block_hash": "<string>",
"block_time": 123
}
}
Project API Key
The transaction ID to look up.
"d78b1139140848e646cfd7eb95868d2e01c600c3922de88038c591d2fb55cf96"
Transaction details retrieved successfully.
The response is of type object
.
Was this page helpful?