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].
api.tx.ethereum.transact(transaction: {"_enum":{"Legacy":"EthereumTransactionLegacyTransaction","EIP2930":"EthereumTransactionEip2930Transaction","EIP1559":"EthereumTransactionEip1559Transaction"}})| Argument | Type | Doc |
|---|---|---|
transaction | {"_enum":{"Legacy":"EthereumTransactionLegacyTransaction","EIP2930":"EthereumTransactionEip2930Transaction","EIP1559":"EthereumTransactionEip1559Transaction"}} | Transaction |
Call index: 0
Events
Ethereum.Executed
An ethereum transaction was successfully executed.
| Field | Type | Doc |
|---|---|---|
from | H160 | |
to | H160 | |
transaction_hash | H256 | |
exit_reason | {"_enum":{"Succeed":"EvmCoreErrorExitSucceed","Error":"EvmCoreErrorExitError","Revert":"EvmCoreErrorExitRevert","Fatal":"EvmCoreErrorExitFatal"}} | |
extra_data | Bytes |
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.
await api.query.ethereum.pending()Returns: Vec<(EthereumTransactionTransactionV2,FpRpcTransactionStatus,EthereumReceiptReceiptV3)>
Modifier: Default
Ethereum.CurrentBlock
The current Ethereum block.
await api.query.ethereum.currentBlock()Returns: {"header":"EthereumHeader","transactions":"Vec<EthereumTransactionTransactionV2>","ommers":"Vec<EthereumHeader>"}
Modifier: Optional
Ethereum.CurrentReceipts
The current Ethereum receipts.
await api.query.ethereum.currentReceipts()Returns: Vec<EthereumReceiptReceiptV3>
Modifier: Optional
Ethereum.CurrentTransactionStatuses
The current transaction statuses.
await api.query.ethereum.currentTransactionStatuses()Returns: Vec<FpRpcTransactionStatus>
Modifier: Optional
Ethereum.BlockHash
await api.query.ethereum.blockHash(key1)- Key:
U256(hasher: Twox64Concat) - Returns:
H256
Modifier: Default
wss://root.rootnet.live/archive/ws · captured 2026-05-02