UncheckedExtrinsic

Composite 545 v411

fp_self_contained::unchecked_extrinsic::UncheckedExtrinsic

About This Type

Self-contained extrinsic wrapper for Ethereum-compatible (EVM) transactions.

Wraps a regular extrinsic to support self-contained transactions that carry their own signature verification logic (e.g. Ethereum transactions injected via the Ethereum pallet).

Encoding: Same wire format as the substrate UncheckedExtrinsic; the variant distinction is at the runtime layer.

Fields (1)

#NameType
0(unnamed)UncheckedExtrinsic

SCALE Encoding

Rule
1 field encoded consecutively in declaration order. No field names or delimiters.
Size
sum of field sizes

Examples

Struct with 1 field = ?: UncheckedExtrinsic
0x<field0>
field 0 field0: UncheckedExtrinsic

Code Examples

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

const registry = new TypeRegistry();

// Encode UncheckedExtrinsic
const value = registry.createType("UncheckedExtrinsic", {
  field: 0
});
console.log("Hex:", value.toHex());

Type Parameters

Address = MultiAddress
Call = RuntimeCall
Signature = MultiSignature
Extension = ((CheckNonZeroSender, CheckSpecVersion, CheckTxVersion, CheckGenesis, CheckMortality, CheckNonce, CheckWeight), (ChargeTransactionPaymentWrapper, SudoTransactionExtension, CheckShieldedTxValidity, SubtensorTransactionExtension, DrandPriority), CheckMetadataHash)

Type Information

Type ID
545
Kind
Composite
Path
fp_self_contained::unchecked_extrinsic::UncheckedExtrinsic
Runtime
v411