sendrawtransaction

Input(s) 2

The sendrawtransaction RPC command allows users to submit a pre-signed transaction to the network. The transaction is specified in a serialized, hex-encoded format.

How is this used?

This command is used to broadcast a transaction to the network after it has been created and signed. It's a critical step in executing transactions, allowing them to be included in blocks by miners. The command is particularly useful for applications or services that construct transactions programmatically, such as wallets or payment processors.

Request

method

sendrawtransaction

hexstring

Required

maxfeerate

Optional

Inputs(2)

one required input remaining...

hexstring (required) - The transaction hex string
maxfeerate It rejects transactions with a fee rate higher than the specified value. It can be set to 0 to accept any fee rate

Result