Get Raw Bitcoin Transaction Hex
This endpoint returns the raw hex for a given Bitcoin transaction. It supports confirmed and unconfirmed transactions.
get
Retrieve transaction hex. Supports confirmed and unconfirmed transactions.
Authorizations
Path parameters
txidstring Β· regexRequiredExample:
Transaction id
6c5ffa32f6942bb82bf36239fb8a6d233c4da6f91bde81869accef2ef6be674e
Pattern: ^[a-fA-F0-9]{64}$
Responses
200
Default Response
application/json
Responsestring
400
Invalid input
application/json
401
Unauthorized
application/json
404
Not found
application/json
429
Rate limit exceeded
application/json
500
Internal server error
application/json
get
GET /v1/bitcoin/tx/{txid}/hex HTTP/1.1
Host: api.secretkeylabs.io
x-api-key: YOUR_API_KEY
Accept: */*
text
Last updated