types asset.AssetOptInParams
@algorandfoundation/algokit-utils / types/asset / AssetOptInParams
Interface: AssetOptInParams¶
types/asset.AssetOptInParams
Parameters for assetOptIn
call.
Hierarchy¶
↳ AssetOptInParams
Table of contents¶
Properties¶
- account
- assetId
- atc
- fee
- lease
- maxFee
- maxRoundsToWaitForConfirmation
- note
- populateAppCallResources
- skipSending
- skipWaiting
- suppressLog
- transactionParams
Properties¶
account¶
• account: SendTransactionFrom
The account to opt in/out for
Defined in¶
assetId¶
• assetId: number
The ID of the assets to opt in for / out of
Defined in¶
atc¶
• 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¶
Defined in¶
fee¶
• Optional
fee: AlgoAmount
The flat fee you want to pay, useful for covering extra fees in a transaction group or app call
Inherited from¶
Defined in¶
lease¶
• Optional
lease: string
| Uint8Array
An (optional) transaction lease to apply
Defined in¶
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¶
Defined in¶
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¶
SendTransactionParams.maxRoundsToWaitForConfirmation
Defined in¶
note¶
• Optional
note: TransactionNote
The (optional) transaction note
Defined in¶
populateAppCallResources¶
• Optional
populateAppCallResources: boolean
WARNING: Not recommended for production use due to https://github.com/algorand/go-algorand/issues/5914. 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¶
SendTransactionParams.populateAppCallResources
Defined in¶
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¶
SendTransactionParams.skipSending
Defined in¶
skipWaiting¶
• Optional
skipWaiting: boolean
Whether to skip waiting for the submitted transaction (only relevant if skipSending
is false
or unset)
Inherited from¶
SendTransactionParams.skipWaiting
Defined in¶
suppressLog¶
• Optional
suppressLog: boolean
Whether to suppress log messages from transaction send, default: do not suppress
Inherited from¶
SendTransactionParams.suppressLog
Defined in¶
transactionParams¶
• Optional
transactionParams: SuggestedParams
Optional transaction parameters