Skip to content

assetBulkOptOut

assetBulkOptOut(optOut, algod): Promise<Record<number, string>>

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

AssetBulkOptInOutParams

The bulk opt-out request.

AlgodClient

An instance of the Algodv2 client used to interact with the Algorand blockchain.

Promise<Record<number, string>>

A record object containing asset IDs as keys and their corresponding transaction IDs as values.

If there is an error during the opt-out process.

algokit.bulkOptOut({ account: account, assetIds: [12345, 67890] }, algod)