eth_sendRawTransaction - Polygon
eth_sendRawTransaction. Send a signed transaction to the network
eth_sendRawTransaction - polygon [Value: 90CU]
Submits a pre-signed transaction for broadcast to the network
Use cases
- Broadcast signed transaction to the network
- Validate and send raw transaction for execution
- Submit a pre-signed transaction to the blockchain
Constraints
- Requires a properly signed transaction input
- Network connection must be active and stable
- Node must accept raw transaction submissions
Unlock Access to 50+ chains
Boost your app's speed and reliability with dRPC - get your access API key
Language
Request
Examples
curl https://polygon.drpc.org \
-X POST \
-H "Content-Type: application/json" \
--data '{"jsonrpc":"2.0","method":"eth_sendRawTransaction","params":["Signed Transaction"],"id":1}'
Response
200
{
"jsonrpc": "2.0",
"id": 1,
"result": "0xb1770efb14906e509893b6190359658208ae64d0c56e22f748a1b0869885559e"
}
Request params
idinteger
jsonrpcstring
methodstring
array of strings
datastring
The raw signed transaction data, encoded as a hexadecimal string. This includes all transaction details and the signature.
Response
200
The hash of the transaction, represented as a hexadecimal string. Response params
object
idinteger
jsonrpcstring
resultarray_of_objects