Skip to content

AssetOptOutParams

@algorandfoundation/algokit-utils / types/asset / AssetOptOutParams

types/asset.AssetOptOutParams

Deprecated

Parameters for assetOptOut call.

account: SendTransactionFrom

The account to opt in/out for

AssetOptInParams.account

src/types/asset.ts:72


Optional assetCreatorAddress: string

The address of the creator account for the asset; if unspecified then it looks it up using algod

src/types/asset.ts:86


assetId: number

The ID of the assets to opt in for / out of

AssetOptInParams.assetId

src/types/asset.ts:74


Optional atc: AtomicTransactionComposer

An optional AtomicTransactionComposer to add the transaction to, if specified then skipSending: undefined has the same effect as skipSending: true

AssetOptInParams.atc

src/types/transaction.ts:36


Optional ensureZeroBalance: boolean

Whether or not to validate the account has a zero-balance before issuing the opt-out; default = true

src/types/asset.ts:88


Optional fee: AlgoAmount

The flat fee you want to pay, useful for covering extra fees in a transaction group or app call

AssetOptInParams.fee

src/types/transaction.ts:40


Optional lease: string | Uint8Array

An (optional) transaction lease to apply

AssetOptInParams.lease

src/types/asset.ts:80


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

AssetOptInParams.maxFee

src/types/transaction.ts:42


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

AssetOptInParams.maxRoundsToWaitForConfirmation

src/types/transaction.ts:44


Optional note: TransactionNote

The (optional) transaction note

AssetOptInParams.note

src/types/asset.ts:78


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.

AssetOptInParams.populateAppCallResources

src/types/transaction.ts:46


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

AssetOptInParams.skipSending

src/types/transaction.ts:32


Optional skipWaiting: boolean

Whether to skip waiting for the submitted transaction (only relevant if skipSending is false or unset)

AssetOptInParams.skipWaiting

src/types/transaction.ts:34


Optional suppressLog: boolean

Whether to suppress log messages from transaction send, default: do not suppress

AssetOptInParams.suppressLog

src/types/transaction.ts:38


Optional transactionParams: SuggestedParams

Optional transaction parameters

AssetOptInParams.transactionParams

src/types/asset.ts:76