post https://base-mainnet.core.chainstack.com/2fc1de7f08c0465f6a28e3c355e0cb14/
Recipes
⚖️
How to transfer the entire account balance using web3.js
Open Recipe
Base API method eth_sendRawTransaction
allows for the submission of a pre-signed transaction to the Base network for broadcast. This method is crucial for executing transactions from externally owned accounts without relying on Base 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
eth_sendRawTransaction
RPC method yourself