Optional
assetThe XCM TransferType
used to transfer assets.
Provided to construct transferAssetsUsingTypeAndThen
transactions.
Optional
customOptional custom XCM message to be executed on destination chain.
Should be provided if a custom xcm message is needed after transfering assets.
Defaults to Xcm(vec![DepositAsset { assets: Wild(AllCounted(assets.len())), beneficiary }])
Optional
dryOptionally allows for dry running the constructed tx in order get the estimated fees and execution result.
Optional
feesThe XCM TransferType
used to pay fees for an XCM transfer.
Provided to construct transferAssetsUsingTypeAndThen
transactions.
Optional
formatOption that specifies the format in which to return a transaction.
It can either be a payload
, call
, or submittable
.
Note: A submittable
will return a SubmittableExtrinsic
polkadot-js type, whereas
a payload
or call
will return a hex.
Optional
keepFor creating local asset transfers, this will allow for a transferKeepAlive
as opposed
to a transfer
.
Optional
paysAssetId to pay fee's on the destination parachain.
Optional
paysAssetId to pay fee's on the current common good parachain. Polkadot AssetHub: default DOT Kusama AssetHub: default KSM
Optional
remoteThe RemoteReserve location for an XCM transfer.
Should be provided when specifying an assetTransferType
of RemoteReserve
.
Optional
remoteThe RemoteReserve location for an XCM transfers' fees.
Should be provided when specfying a feesTransferType
of RemoteReserve.
Optional
sendersThe SS58 Address the tx will be sent from. This is specifically used for the format payload
.
It is necessary because the payload
will need information such as the nonce
.
Optional
transferFor creating local asset transfers, this will allow for a transferAll
call as opposed
to a transfer
call.
Optional
transferBoolean to declare if this will transfer liquidity tokens. Default is false.
Optional
weightOption for applying a custom weightLimit
.
If not inputted it will default to Unlimited
.
Optional
proofProvided when creating limited txs, represents the amount of storage in bytes that can be used by the tx
Optional
refProvided when creating limited txs, represents the allowed amount of computation time the tx can use
Optional
xcmOptional assetId that will be used to pay for fees. Used with the dryRunCall
option to determine fees in the specified asset.
Optional
xcmOptionally sets the pallet to be used for the current tx.
Optional
xcmSet the xcmVersion for message construction. If this is not present a supported version will be queried, and if there is no supported version a safe version will be queried.
The TransferArgsOpts are the options passed into createTransferTransaction.