Skip to main content
Module

x/polkadot/types/interfaces/xcm/types.ts>JunctionV1

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

Properties

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:
| "Parachain"
| "AccountId32"
| "AccountIndex64"
| "AccountKey20"
| "PalletInstance"
| "GeneralIndex"
| "GeneralKey"
| "OnlyChild"
| "Plurality"