Skip to main content

sendrawtransaction RPC Method

Submits a raw transaction (serialized, hex-encoded) to a node.

Updated on
Apr 29, 2026

Parameters

hexstring
string
REQUIRED

The hex string of the raw transaction

allowhighfees
boolean

Allow high fees

Returns

hex
string

The transaction hash in hex

error
string

The error message, if any

Request
Response
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"error": {
5
"code": -22,
6
"message": "io error: failed to fill whole buffer"
7
}
8
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"error": {
5
"code": -22,
6
"message": "io error: failed to fill whole buffer"
7
}
8
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free