For the complete documentation index, see llms.txt. This page is also available as Markdown.

eth_sendRawTransactionSync

Submits a signed transaction and synchronously waits for it to be included in a block, returning the full transaction receipt. Unlike eth_sendRawTransaction, which returns only the transaction hash immediately, this method blocks until the transaction is executed and returns the complete receipt in a single call.

This is a Monad-specific method based on EIP-7966. It eliminates the need to poll with eth_getTransactionReceipt after submission. On Monad, transactions achieve sub-second confirmation due to the chain's architecture, making synchronous receipt return practical.

This method will use 80 Compute Units.


Reference: Here

Parameters

  1. DATA - The signed transaction data.

params: [
  "0xf86c0a8502540be400825208940123456789abcdef0123456789abcdef0123456789880de0b6b3a764000080820a96a0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1a0b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b2",
]

Returns

A transaction receipt object with the following fields:

  • blockHash - DATA, 32 Bytes - hash of the block containing this transaction.

  • blockNumber - QUANTITY - block number where this transaction was included.

  • contractAddress - DATA, 20 Bytes - the contract address created, if the transaction was a contract creation, otherwise null.

  • cumulativeGasUsed - QUANTITY - total amount of gas used when this transaction was executed in the block.

  • effectiveGasPrice - QUANTITY - the actual gas price paid per unit of gas.

  • from - DATA, 20 Bytes - address of the sender.

  • gasUsed - QUANTITY - amount of gas used by this specific transaction alone.

  • logs - Array - array of log objects generated by this transaction.

  • logsBloom - DATA, 256 Bytes - bloom filter for light clients to quickly retrieve related logs.

  • status - QUANTITY - 0x1 for success, 0x0 for failure.

  • to - DATA, 20 Bytes - address of the receiver, null for contract creation transactions.

  • transactionHash - DATA, 32 Bytes - hash of the transaction.

  • transactionIndex - QUANTITY - index position of the transaction in the block.

  • type - QUANTITY - transaction type (0x0 for legacy, 0x2 for EIP-1559, etc.).

Last updated

Was this helpful?