(BoundedVec, u64)
Tuple 490 v393About This Type
Tuple of 2 values: BoundedVec, u64.
A fixed-size ordered collection of heterogeneous types, each encoded in order.
Encoding: Each element encoded consecutively in declaration order.
Tuple (2 elements)
- 0 BoundedVec
- 1 u64
SCALE Encoding
- Rule
- 2 elements encoded consecutively in declaration order.
- Size
- sum of element sizes
Examples
(BoundedVec, u64) = (<BoundedVec>, <u64>)
0x<BoundedVec><u64>element 0 BoundedVec encoded at position 0element 1 u64 encoded at position 1Code Examples
import { TypeRegistry } from "@polkadot/types";
const registry = new TypeRegistry();
// Encode a (BoundedVec, u64)
const tuple = registry.createType("(BoundedVec, u64)", [0, 1_000_000_000n]);
console.log("Hex:", tuple.toHex());Type Information
- Type ID
- 490
- Kind
- Tuple
- Runtime
- v393