Skip to content
Alchemy Logo

sendrawtransaction

POST
/{apiKey}

Broadcasts a raw transaction (hex-encoded) to the network. Useful for rebroadcasting transactions not originating from your wallet.

Path Parameters

stringrequireddefaults to docs-demo

For higher throughput, create your own API key

Request

stringformat: "^[a-fA-F0-9]+$"required

The hex-encoded raw transaction.

number or stringoptional

Reject transactions whose fee rate is higher than this value (in BTC/kB). Set to 0 to disable the check.

Responses

200

The transaction ID (txid) of the submitted transaction.

Was this page helpful?