Skip to content

assetOptOut

assetOptOut(optOut, algod): Promise<SendTransactionResult>

Defined in: algokit-utils-ts/src/asset.ts:98

AssetOptOutParams

The opt-in definition

AlgodClient

An algod client

Promise<SendTransactionResult>

The transaction object and optionally the confirmation if it was sent to the chain (skipSending is false or unset)

Usage example

await algokit.assetOptOut({ account, assetId, assetCreatorAddress }, algod)