ChargeTransactionPaymentWrapper
Composite 388 v393node_subtensor_runtime::transaction_payment_wrapper::ChargeTransactionPaymentWrapper
About This Type
Structured type: ChargeTransactionPaymentWrapper.
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 | inner | ChargeTransactionPayment |
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 = inner: ChargeTransactionPayment
0x<field0>field 0 inner: ChargeTransactionPaymentCode Examples
import { TypeRegistry } from "@polkadot/types";
const registry = new TypeRegistry();
// Encode ChargeTransactionPaymentWrapper
const value = registry.createType("ChargeTransactionPaymentWrapper", {
inner: 0
});
console.log("Hex:", value.toHex());Type Parameters
T
Referenced By (1)
Type Information
- Type ID
- 388
- Kind
- Composite
- Path
- node_subtensor_runtime::transaction_payment_wrapper::ChargeTransactionPaymentWrapper
- Runtime
- v393