Skip to main content
POST
eth_sendRawTransaction
curl --request POST \
  --url https://rpc.testnet.tempo.xyz/ \
  --header 'Content-Type: application/json' \
  --data '
{
  "jsonrpc": "2.0",
  "method": "eth_sendRawTransaction",
  "params": [
    "0xf867808502540e841e825208949729187d9e8bbefa8295f39f5634ca454dd9d294808083014b9da00602a6c9850068ac6667c098f65cf061e5e90d7030a63d13396dc6d0522fe517a07a0f9c9455612fcacfce60fba7c6e305728148f3ec345661535d0230f872f224"
  ],
  "id": 1
}
'
{
  "jsonrpc": "<string>",
  "id": 123,
  "result": "<string>"
}
Tempo API method that sends a signed transaction to the network. Tempo supports standard Ethereum transaction types plus type 0x76 (TempoTransaction) with features like passkey authentication, call batching, and fee sponsorship.
Stablecoin gas fees: On Tempo, transaction fees are paid in TIP-20 stablecoins like pathUSD, not a native token. The fee is automatically converted using the Fee AMM.

Parameters

  • signedTransaction — the signed transaction data as a hex string

Response

  • result — the transaction hash of the submitted transaction

eth_sendRawTransaction code examples

const ethers = require('ethers');
const NODE_URL = "CHAINSTACK_NODE_URL";
const provider = new ethers.JsonRpcProvider(NODE_URL);

const sendTransaction = async () => {
    const wallet = new ethers.Wallet("YOUR_PRIVATE_KEY", provider);

    const tx = {
      to: "0xRecipientAddress",
      value: 0, // Tempo uses TIP-20 tokens for value transfer
      data: "0x..." // TIP-20 transfer calldata
    };

    const txResponse = await wallet.sendTransaction(tx);
    console.log(`Transaction hash: ${txResponse.hash}`);

    const receipt = await txResponse.wait();
    console.log(`Confirmed in block: ${receipt.blockNumber}`);
  };

sendTransaction();

Body

application/json
jsonrpc
string
default:2.0
method
string
default:eth_sendRawTransaction
params
any[]

Signed transaction data

id
integer
default:1

Response

200 - application/json

The transaction hash

jsonrpc
string
id
integer
result
string

The transaction hash