Decode Raw Bitcoin Transaction

This endpoint decodes a raw Bitcoin transaction. Optimized to use the RPC node only for parsing, while transaction hex and I/O data are retrieved from our indexer.

post

Retrieve raw transaction details by txid.

Authorizations
Body
txidstring · regexRequired

Transaction id

Example: 6c5ffa32f6942bb82bf36239fb8a6d233c4da6f91bde81869accef2ef6be674ePattern: ^[a-fA-F0-9]{64}$
Responses
200

Default Response

No content

post
POST /v1/rpc/bitcoin/rawtx HTTP/1.1
Host: api.secretkeylabs.io
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 75

{
  "txid": "6c5ffa32f6942bb82bf36239fb8a6d233c4da6f91bde81869accef2ef6be674e"
}
200

Default Response

No content

Last updated