Skip to content

assetOptOut

assetOptOut(optOut, algod): Promise<SendTransactionResult>

Defined in: src/asset.ts:98

Parameters

optOut

AssetOptOutParams

The opt-in definition

algod

AlgodClient

An algod client

Returns

Promise<SendTransactionResult>

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

Example

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