UncheckedExtrinsic

Composite 376 v393

fp_self_contained::unchecked_extrinsic::UncheckedExtrinsic

About This Type

Structured type: UncheckedExtrinsic.

A struct-like type where each field is encoded in declaration order.

Encoding: Fields encoded consecutively in declaration order, no field names or separators.

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)

Referenced By (2)

Type Information

Type ID
376
Kind
Composite
Path
fp_self_contained::unchecked_extrinsic::UncheckedExtrinsic
Runtime
v393