curl --request POST \
--url https://monad-testnet.core.chainstack.com/9c5b265f20b3ea5df4f54f70eb74b800/ \
--header 'Content-Type: application/json' \
--data '
{
"id": 1,
"jsonrpc": "2.0",
"method": "eth_sendRawTransaction",
"params": [
"0x"
]
}
'{
"jsonrpc": "<string>",
"id": 123,
"result": "<string>"
}curl --request POST \
--url https://monad-testnet.core.chainstack.com/9c5b265f20b3ea5df4f54f70eb74b800/ \
--header 'Content-Type: application/json' \
--data '
{
"id": 1,
"jsonrpc": "2.0",
"method": "eth_sendRawTransaction",
"params": [
"0x"
]
}
'{
"jsonrpc": "<string>",
"id": 123,
"result": "<string>"
}Monad API method that submits a pre-signed transaction for broadcast to the network. This method is used to send signed transactions, which can transfer value or interact with smart contracts.Documentation Index
Fetch the complete documentation index at: https://chainstack-mintlify-flesh-empty-pages.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
data — the signed transaction data (typically signed with a library like ethers.js or web3.py).result — the 32-byte transaction hash, or the zero hash if the transaction is not yet available.eth_sendRawTransaction code examplesconst { ethers } = require("ethers");
const provider = new ethers.JsonRpcProvider("CHAINSTACK_NODE_URL");
const wallet = new ethers.Wallet("PRIVATE_KEY", provider);
async function sendTransaction() {
const tx = await wallet.sendTransaction({
to: "0x...", // Recipient address
value: ethers.parseEther("0.01")
});
console.log(`Transaction hash: ${tx.hash}`);
await tx.wait();
console.log("Transaction confirmed");
}
sendTransaction();
eth_sendRawTransaction is sending MON transfers or interacting with smart contracts after signing transactions offline or in a secure environment.Was this page helpful?