TransferAssetParams
@algorandfoundation/algokit-utils / types/transfer / TransferAssetParams
types/transfer.TransferAssetParams
Deprecated
Parameters for transferAsset call.
Hierarchy
Section titled “Hierarchy”-
↳
TransferAssetParams
Table of contents
Section titled “Table of contents”Properties
Section titled “Properties”- amount
- assetId
- atc
- clawbackFrom
- fee
- from
- lease
- maxFee
- maxRoundsToWaitForConfirmation
- note
- populateAppCallResources
- skipSending
- skipWaiting
- suppressLog
- to
- transactionParams
Properties
Section titled “Properties”amount
Section titled “amount”• amount: number | bigint
The amount to send as the smallest divisible unit value
Defined in
Section titled “Defined in”assetId
Section titled “assetId”• assetId: number
The asset id that will be transfered
Defined in
Section titled “Defined in”• Optional atc: AtomicTransactionComposer
An optional AtomicTransactionComposer to add the transaction to, if specified then skipSending: undefined has the same effect as skipSending: true
Inherited from
Section titled “Inherited from”Defined in
Section titled “Defined in”clawbackFrom
Section titled “clawbackFrom”• Optional clawbackFrom: string | SendTransactionFrom
An address of a target account from which to perform a clawback operation. Please note, in such cases senderAccount must be equal to clawback field on ASA metadata.
Defined in
Section titled “Defined in”• Optional fee: AlgoAmount
The flat fee you want to pay, useful for covering extra fees in a transaction group or app call
Inherited from
Section titled “Inherited from”Defined in
Section titled “Defined in”• from: SendTransactionFrom
The account that will send the asset
Defined in
Section titled “Defined in”• Optional lease: string | Uint8Array
An (optional) transaction lease to apply
Defined in
Section titled “Defined in”maxFee
Section titled “maxFee”• Optional maxFee: AlgoAmount
The maximum fee that you are happy to pay (default: unbounded) - if this is set it’s possible the transaction could get rejected during network congestion
Inherited from
Section titled “Inherited from”Defined in
Section titled “Defined in”maxRoundsToWaitForConfirmation
Section titled “maxRoundsToWaitForConfirmation”• Optional maxRoundsToWaitForConfirmation: number
The maximum number of rounds to wait for confirmation, only applies if skipWaiting is undefined or false, default: wait up to 5 rounds
Inherited from
Section titled “Inherited from”SendTransactionParams.maxRoundsToWaitForConfirmation
Defined in
Section titled “Defined in”• Optional note: TransactionNote
The (optional) transaction note
Defined in
Section titled “Defined in”populateAppCallResources
Section titled “populateAppCallResources”• Optional populateAppCallResources: boolean
Whether to use simulate to automatically populate app call resources in the txn objects. Defaults to true when there are app calls in the group.
Inherited from
Section titled “Inherited from”SendTransactionParams.populateAppCallResources
Defined in
Section titled “Defined in”skipSending
Section titled “skipSending”• Optional skipSending: boolean
Whether to skip signing and sending the transaction to the chain (default: transaction signed and sent to chain, unless atc specified)
and instead just return the raw transaction, e.g. so you can add it to a group of transactions
Inherited from
Section titled “Inherited from”SendTransactionParams.skipSending
Defined in
Section titled “Defined in”skipWaiting
Section titled “skipWaiting”• Optional skipWaiting: boolean
Whether to skip waiting for the submitted transaction (only relevant if skipSending is false or unset)
Inherited from
Section titled “Inherited from”SendTransactionParams.skipWaiting
Defined in
Section titled “Defined in”suppressLog
Section titled “suppressLog”• Optional suppressLog: boolean
Whether to suppress log messages from transaction send, default: do not suppress
Inherited from
Section titled “Inherited from”SendTransactionParams.suppressLog
Defined in
Section titled “Defined in”• to: string | SendTransactionFrom
The account / account address that will receive the asset
Defined in
Section titled “Defined in”transactionParams
Section titled “transactionParams”• Optional transactionParams: SuggestedParams
Optional transaction parameters