eth_sendRawTransaction | Optimism

Optimism API method eth_sendRawTransaction allows for the submission of a pre-signed transaction to the Optimism network for broadcast. This method is crucial for executing transactions from externally owned accounts without relying on Optimism node wallets for signing.

👍

Get you own node endpoint today

Start for free and get your app to production levels immediately. No credit card required.

You can sign up with your GitHub, X, Google, or Microsoft account.

Parameters

  • signedTransactionData — the signed transaction data in hexadecimal format. This data includes the transaction details such as nonce, gas price, gas limit, to address, value, data, and the signature.

Response

  • result — the hash of the successfully submitted transaction.

Use case

The eth_sendRawTransaction method is essential for:

  • Wallets and other applications that sign transactions offline or in a secure environment and then submit them to the network.
  • Services that batch or automate transaction submissions.
  • Users and developers requiring control over the transaction signing process for security reasons.

Try the eth_sendRawTransaction RPC method yourself

Language
Click Try It! to start a request and see the response here!