Get raw transaction

Retrieves a hex encoded serialized transaction for a given ID.

GET

/extended/v1/tx/{tx_id}/raw

Retrieves a hex encoded serialized transaction for a given ID.

Status codeDescription
200Hex encoded serialized transaction
404Cannot find transaction for given ID
curl
curl -X GET "https://api.mainnet.hiro.so/extended/v1/tx/%7Btx_id%7D/raw"

GET raw transaction

Example response
{
  "raw_tx": "string"
}