ChargeTransactionPayment
Composite 389 v393pallet_transaction_payment::ChargeTransactionPayment
About This Type
Structured type: ChargeTransactionPayment.
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)
| # | Name | Type |
|---|---|---|
| 0 | (unnamed) | Compact<u64> |
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<u64>
0x<field0>field 0 field0: Compact<u64>Code Examples
import { TypeRegistry } from "@polkadot/types";
const registry = new TypeRegistry();
// Encode ChargeTransactionPayment
const value = registry.createType("ChargeTransactionPayment", {
field: 0
});
console.log("Hex:", value.toHex());Type Parameters
T
Referenced By (1)
Type Information
- Type ID
- 389
- Kind
- Composite
- Path
- pallet_transaction_payment::ChargeTransactionPayment
- Runtime
- v393