GET
/
tx
/
{txid}
/
hex
Transaction Hex
curl --request GET \
  --url https://xbt-mainnet.gomaestro-api.org/v0/esplora/tx/{txid}/hex \
  --header 'api-key: <api-key>'
"02000000000101ad0c...00000000"

Authorizations

api-key
string
header
required

Project API Key

Path Parameters

txid
string
required

Transaction ID of the transaction to fetch.

Example:

"d78b1139140848e646cfd7eb95868d2e01c600c3922de88038c591d2fb55cf96"

Response

200
text/plain

Raw transaction hex string.

Raw hexadecimal representation of the Bitcoin transaction.