Skip to content

创建文章

We are looking for publications that demonstrate building dApps or smart contracts!
See the full list of Gitcoin bounties that are eligible for rewards.

types indexer.AssetHolding

@algorandfoundation/algokit-utils / types/indexer / AssetHolding

Interface: AssetHolding

types/indexer.AssetHolding

Describes an asset held by an account. https://developer.algorand.org/docs/rest-apis/indexer/#assetholding

Table of contents

Properties

Properties

amount

amount: number

(a) number of units held.

Defined in

src/types/indexer.ts:823


asset-id

asset-id: number

Asset ID of the holding.

Defined in

src/types/indexer.ts:827


deleted

Optional deleted: boolean

Whether or not the asset holding is currently deleted from its account.

Defined in

src/types/indexer.ts:829


is-frozen

is-frozen: boolean

[f] whether or not the holding is frozen.

Defined in

src/types/indexer.ts:833


opted-in-at-round

opted-in-at-round: number

Round during which the account opted into this asset holding.

Defined in

src/types/indexer.ts:835


opted-out-at-round

opted-out-at-round: number

Round during which the account opted out of this asset holding.

Defined in

src/types/indexer.ts:837