cURL
curl --request GET \ --url https://xbt-mainnet.gomaestro-api.org/v0/esplora/tx/{txid}/raw \ --header 'api-key: <api-key>'
"0200000000010124..."
Returns a transaction as binary data.
Project API Key
The transaction ID.
"d78b1139140848e646cfd7eb95868d2e01c600c3922de88038c591d2fb55cf96"
Raw transaction hex string.
The response is of type string.
string