Skip to content

assetBulkOptOut

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

Defined in: src/asset.ts:157

Parameters

optOut

AssetBulkOptInOutParams

The bulk opt-out request.

algod

AlgodClient

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

Returns

Promise<Record<number, string>>

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

Throws

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

Example

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