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

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

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

Properties

readonly
isWithdrawAsset: boolean
readonly
asWithdrawAsset: MultiAssetsV2
readonly
isReserveAssetDeposited: boolean
readonly
asReserveAssetDeposited: MultiAssetsV2
readonly
isReceiveTeleportedAsset: boolean
readonly
asReceiveTeleportedAsset: MultiAssetsV2
readonly
isQueryResponse: boolean
readonly
asQueryResponse: { readonly queryId: Compact<u64>; readonly response: ResponseV2; readonly maxWeight: Compact<u64>; } & Struct
readonly
isTransferAsset: boolean
readonly
asTransferAsset: { readonly assets: MultiAssetsV2; readonly beneficiary: MultiLocationV2; } & Struct
readonly
isTransferReserveAsset: boolean
readonly
asTransferReserveAsset: { readonly assets: MultiAssetsV2; readonly dest: MultiLocationV2; readonly xcm: XcmV2; } & Struct
readonly
isTransact: boolean
readonly
asTransact: { readonly originType: OriginKindV2; readonly requireWeightAtMost: u64; readonly call: DoubleEncodedCall; } & Struct
readonly
isHrmpNewChannelOpenRequest: boolean
readonly
asHrmpNewChannelOpenRequest: { readonly sender: Compact<u32>; readonly maxMessageSize: Compact<u32>; readonly maxCapacity: Compact<u32>; } & Struct
readonly
isHrmpChannelAccepted: boolean
readonly
asHrmpChannelAccepted: { readonly recipient: Compact<u32>; } & Struct
readonly
isHrmpChannelClosing: boolean
readonly
asHrmpChannelClosing: { readonly initiator: Compact<u32>; readonly sender: Compact<u32>; readonly recipient: Compact<u32>; } & Struct
readonly
isClearOrigin: boolean
readonly
isDescendOrigin: boolean
readonly
asDescendOrigin: InteriorMultiLocation
readonly
isReportError: boolean
readonly
asReportError: { readonly queryId: Compact<u64>; readonly dest: MultiLocationV2; readonly maxResponseWeight: Compact<u64>; } & Struct
readonly
isDepositAsset: boolean
readonly
asDepositAsset: { readonly assets: MultiAssetFilterV2; readonly maxAssets: u32; readonly beneficiary: MultiLocationV2; } & Struct
readonly
isDepositReserveAsset: boolean
readonly
asDepositReserveAsset: { readonly assets: MultiAssetFilterV2; readonly maxAssets: u32; readonly dest: MultiLocationV2; readonly xcm: XcmV2; } & Struct
readonly
isExchangeAsset: boolean
readonly
asExchangeAsset: { readonly give: MultiAssetFilterV2; readonly receive: MultiAssetsV2; } & Struct
readonly
isInitiateReserveWithdraw: boolean
readonly
asInitiateReserveWithdraw: { readonly assets: MultiAssetFilterV2; readonly reserve: MultiLocationV2; readonly xcm: XcmV2; } & Struct
readonly
isInitiateTeleport: boolean
readonly
asInitiateTeleport: { readonly assets: MultiAssetFilterV2; readonly dest: MultiLocationV2; readonly xcm: XcmV2; } & Struct
readonly
isQueryHolding: boolean
readonly
asQueryHolding: { readonly query_id: Compact<u64>; readonly dest: MultiLocationV2; readonly assets: MultiAssetFilterV2; readonly maxResponse_Weight: Compact<u64>; } & Struct
readonly
isBuyExecution: boolean
readonly
asBuyExecution: { readonly fees: MultiAssetV2; readonly weightLimit: WeightLimitV2; } & Struct
readonly
isRefundSurplus: boolean
readonly
isSetErrorHandler: boolean
readonly
asSetErrorHandler: XcmV2
readonly
isSetAppendix: boolean
readonly
asSetAppendix: XcmV2
readonly
isClearError: boolean
readonly
isClaimAsset: boolean
readonly
asClaimAsset: { readonly assets: MultiAssetsV2; readonly ticket: MultiLocationV2; } & Struct
readonly
isTrap: boolean
readonly
asTrap: u64
readonly
type:
| "WithdrawAsset"
| "ReserveAssetDeposited"
| "ReceiveTeleportedAsset"
| "QueryResponse"
| "TransferAsset"
| "TransferReserveAsset"
| "Transact"
| "HrmpNewChannelOpenRequest"
| "HrmpChannelAccepted"
| "HrmpChannelClosing"
| "ClearOrigin"
| "DescendOrigin"
| "ReportError"
| "DepositAsset"
| "DepositReserveAsset"
| "ExchangeAsset"
| "InitiateReserveWithdraw"
| "InitiateTeleport"
| "QueryHolding"
| "BuyExecution"
| "RefundSurplus"
| "SetErrorHandler"
| "SetAppendix"
| "ClearError"
| "ClaimAsset"
| "Trap"