Skip to content

Ethereum pallet

Derived from live runtime metadata on TRN root (pallet index 26, captured 2026-05-02). For prose-style documentation see Ethereum on the curated reference side.

Pallet index
26
Calls
1
Events
1
Errors
8
Storage items
5
Constants
0

Calls (extrinsics)

Ethereum.transact

See [Pallet::transact].

ts
api.tx.ethereum.transact(transaction: {"_enum":{"Legacy":"EthereumTransactionLegacyTransaction","EIP2930":"EthereumTransactionEip2930Transaction","EIP1559":"EthereumTransactionEip1559Transaction"}})
ArgumentTypeDoc
transaction{"_enum":{"Legacy":"EthereumTransactionLegacyTransaction","EIP2930":"EthereumTransactionEip2930Transaction","EIP1559":"EthereumTransactionEip1559Transaction"}}Transaction

Call index: 0

Events

Ethereum.Executed

An ethereum transaction was successfully executed.

FieldTypeDoc
fromH160
toH160
transaction_hashH256
exit_reason{"_enum":{"Succeed":"EvmCoreErrorExitSucceed","Error":"EvmCoreErrorExitError","Revert":"EvmCoreErrorExitRevert","Fatal":"EvmCoreErrorExitFatal"}}
extra_dataBytes

Errors

Ethereum.InvalidSignature

Signature is invalid.

Ethereum.PreLogExists

Pre-log is present, therefore transact is not allowed.

Ethereum.GasLimitTooLow

Ethereum.GasLimitTooHigh

Ethereum.GasPriceTooLow

Ethereum.BalanceLow

Ethereum.InvalidNonce

Ethereum.Undefined

Storage

Ethereum.Pending

Current building block's transactions and receipts.

ts
await api.query.ethereum.pending()

Returns: Vec<(EthereumTransactionTransactionV2,FpRpcTransactionStatus,EthereumReceiptReceiptV3)>

Modifier: Default

Ethereum.CurrentBlock

The current Ethereum block.

ts
await api.query.ethereum.currentBlock()

Returns: {"header":"EthereumHeader","transactions":"Vec<EthereumTransactionTransactionV2>","ommers":"Vec<EthereumHeader>"}

Modifier: Optional

Ethereum.CurrentReceipts

The current Ethereum receipts.

ts
await api.query.ethereum.currentReceipts()

Returns: Vec<EthereumReceiptReceiptV3>

Modifier: Optional

Ethereum.CurrentTransactionStatuses

The current transaction statuses.

ts
await api.query.ethereum.currentTransactionStatuses()

Returns: Vec<FpRpcTransactionStatus>

Modifier: Optional

Ethereum.BlockHash

ts
await api.query.ethereum.blockHash(key1)
  • Key: U256 (hasher: Twox64Concat)
  • Returns: H256

Modifier: Default

Source: live chain metadata from wss://root.rootnet.live/archive/ws · captured 2026-05-02

Curated independently by Codeology. Source-attributed reference for The Root Network. Not affiliated with Futureverse / TRN Labs.