Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/polkadot/types/interfaces/xcm/index.ts>JunctionV0

Package publishing for deno.land/x/polkadot
Go to Latest
interface JunctionV0
implements Enum
import { type JunctionV0 } from "https://deno.land/x/polkadot@0.2.14/types/interfaces/xcm/index.ts";

Properties

readonly
isParent: boolean
readonly
isParachain: boolean
readonly
asParachain: Compact<u32>
readonly
isAccountId32: boolean
readonly
asAccountId32: { readonly network: NetworkId; readonly id: AccountId; } & Struct
readonly
isAccountIndex64: boolean
readonly
asAccountIndex64: { readonly network: NetworkId; readonly index: Compact<u64>; } & Struct
readonly
isAccountKey20: boolean
readonly
asAccountKey20: { readonly network: NetworkId; readonly key: U8aFixed; } & Struct
readonly
isPalletInstance: boolean
readonly
asPalletInstance: u8
readonly
isGeneralIndex: boolean
readonly
asGeneralIndex: Compact<u128>
readonly
isGeneralKey: boolean
readonly
asGeneralKey: Bytes
readonly
isOnlyChild: boolean
readonly
isPlurality: boolean
readonly
asPlurality: { readonly id: BodyId; readonly part: BodyPart; } & Struct
readonly
type:
| "Parent"
| "Parachain"
| "AccountId32"
| "AccountIndex64"
| "AccountKey20"
| "PalletInstance"
| "GeneralIndex"
| "GeneralKey"
| "OnlyChild"
| "Plurality"