CheckNonce

Composite 385 v393

node_subtensor_runtime::check_nonce::CheckNonce

About This Type

Structured type: CheckNonce.

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)Compact<u32>

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 = ?: Compact<u32>
0x<field0>
field 0 field0: Compact<u32>

Code Examples

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

const registry = new TypeRegistry();

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

Type Parameters

T

Referenced By (1)

Type Information

Type ID
385
Kind
Composite
Path
node_subtensor_runtime::check_nonce::CheckNonce
Runtime
v393