interface InstructionV2
implements Enum
import { type InstructionV2 } from "https://deno.land/x/polkadot@0.2.17/types/interfaces/xcm/index.ts";
Properties
readonly
asWithdrawAsset: MultiAssetsV2readonly
asReserveAssetDeposited: MultiAssetsV2readonly
asReceiveTeleportedAsset: MultiAssetsV2readonly
asTransferAsset: { readonly assets: MultiAssetsV2; readonly beneficiary: MultiLocationV2; } & Structreadonly
asTransferReserveAsset: { readonly assets: MultiAssetsV2; readonly dest: MultiLocationV2; readonly xcm: XcmV2; } & Structreadonly
asTransact: { readonly originType: OriginKindV2; readonly requireWeightAtMost: u64; readonly call: DoubleEncodedCall; } & Structreadonly
asDescendOrigin: InteriorMultiLocationreadonly
asDepositAsset: { readonly assets: MultiAssetFilterV2; readonly maxAssets: u32; readonly beneficiary: MultiLocationV2; } & Structreadonly
asDepositReserveAsset: { readonly assets: MultiAssetFilterV2; readonly maxAssets: u32; readonly dest: MultiLocationV2; readonly xcm: XcmV2; } & Structreadonly
asExchangeAsset: { readonly give: MultiAssetFilterV2; readonly receive: MultiAssetsV2; } & Structreadonly
asInitiateReserveWithdraw: { readonly assets: MultiAssetFilterV2; readonly reserve: MultiLocationV2; readonly xcm: XcmV2; } & Structreadonly
asInitiateTeleport: { readonly assets: MultiAssetFilterV2; readonly dest: MultiLocationV2; readonly xcm: XcmV2; } & Structreadonly
asQueryHolding: { readonly query_id: Compact<u64>; readonly dest: MultiLocationV2; readonly assets: MultiAssetFilterV2; readonly maxResponse_Weight: Compact<u64>; } & Structreadonly
asBuyExecution: { readonly fees: MultiAssetV2; readonly weightLimit: WeightLimitV2; } & Structreadonly
asSetErrorHandler: XcmV2readonly
asSetAppendix: XcmV2readonly
asClaimAsset: { readonly assets: MultiAssetsV2; readonly ticket: MultiLocationV2; } & Structreadonly
asTrap: u64readonly
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"