Ethereum

Calls

transact

Transact an Ethereum transaction.

Namespace

api.tx.ethereum.transact

Type

function transact(
  transaction: EthereumTransactionTransactionV2
)

Storage

blockHash

Namespace

api.query.ethereum.blockHash

Type

function blockHash(
  U256
): H256

currentBlock

The current Ethereum block.

Namespace

api.query.ethereum.currentBlock

Type

function currentBlock(

): Option<EthereumBlock>

currentReceipts

The current Ethereum receipts.

Namespace

api.query.ethereum.currentReceipts

Type

function currentReceipts(

): Option<Vec<EthereumReceiptReceiptV3>>

currentTransactionStatuses

The current transaction statuses.

Namespace

api.query.ethereum.currentTransactionStatuses

Type

function currentTransactionStatuses(

): Option<Vec<FpRpcTransactionStatus>>

pending

Current building block's transactions and receipts.

Namespace

api.query.ethereum.pending

Type

function pending(

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

Events

Executed

An ethereum transaction was successfully executed.

Namespace

api.events.ethereum.Executed

Type

type Executed = {
  from: H160,
  to: H160,
  transaction_hash: H256,
  exit_reason: EvmCoreErrorExitReason
}

Errors

BalanceLow

Namespace

api.errors.ethereum.BalanceLow

GasLimitTooHigh

Namespace

api.errors.ethereum.GasLimitTooHigh

GasLimitTooLow

Namespace

api.errors.ethereum.GasLimitTooLow

GasPriceTooLow

Namespace

api.errors.ethereum.GasPriceTooLow

InvalidNonce

Namespace

api.errors.ethereum.InvalidNonce

InvalidSignature

Signature is invalid.

Namespace

api.errors.ethereum.InvalidSignature

PreLogExists

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

Namespace

api.errors.ethereum.PreLogExists

Undefined

Namespace

api.errors.ethereum.Undefined

undefined

Last updated

© 2023 -> ♾️