ReturnFlags
Composite 616 v393pallet_contracts_uapi::flags::ReturnFlags
About This Type
Structured type: ReturnFlags.
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 | bits | 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 = bits: u32
0x<field0>field 0 bits: u32Code Examples
import { TypeRegistry } from "@polkadot/types";
const registry = new TypeRegistry();
// Encode ReturnFlags
const value = registry.createType("ReturnFlags", {
bits: 1000000
});
console.log("Hex:", value.toHex());Referenced By (1)
Type Information
- Type ID
- 616
- Kind
- Composite
- Path
- pallet_contracts_uapi::flags::ReturnFlags
- Runtime
- v393