EnvironmentType
Composite 556 v393pallet_contracts::EnvironmentType
About This Type
Structured type: EnvironmentType.
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 (0)
| # | Name | Type |
|---|
SCALE Encoding
- Rule
- 0 fields encoded consecutively in declaration order. No field names or delimiters.
- Size
- sum of field sizes
Code Examples
import { TypeRegistry } from "@polkadot/types";
const registry = new TypeRegistry();
// Encode EnvironmentType (no fields)
const value = registry.createType("EnvironmentType", {});
console.log("Hex:", value.toHex());Type Parameters
T = AccountId
Referenced By (6)
Type Information
- Type ID
- 556
- Kind
- Composite
- Path
- pallet_contracts::EnvironmentType
- Runtime
- v393