eth_sendRawTransaction

Sends a raw transaction to the Ethereum network.

Example

import { getRpcClient, eth_sendRawTransaction } from "thirdweb/rpc";
const rpcRequest = getRpcClient({ client, chain });
const transactionHash = await eth_sendRawTransaction(
rpcRequest,
"0x...",
);

Parameters

Returns

A promise that resolves to the transaction hash.