Ethereum::Call

Variant 329 v393

pallet_ethereum::pallet::Call

Contains a variant per dispatchable extrinsic that this pallet has.

About This Type

Call enum for the Call pallet.

Contains all dispatchable functions (extrinsics) for the Call pallet. Each variant represents a different callable function with its parameters.

Variants (1)

IndexNameFieldsDocs
0transact
transaction: TransactionV3
Transact an Ethereum transaction.

SCALE Encoding

Rule
1-byte variant index followed by variant-specific field data. 1 possible variants.
Size
variable (1+ bytes)

Examples

transact = transact(transaction)
0x00<field0>
00 Variant index 0 = transact
field 0 transaction: TransactionV3

Code Examples

import { TypeRegistry } from "@polkadot/types";

const registry = new TypeRegistry();

// Encode Ethereum::Call — variant "transact"
const value = registry.createType("Ethereum::Call", { transact: { transaction: 0 } });
console.log("Hex:", value.toHex());

Type Parameters

T

Referenced By (23)

and 3 more...

Also See

Type Information

Type ID
329
Kind
Variant
Path
pallet_ethereum::pallet::Call
Runtime
v393