getAccountAssetInformation
getAccountAssetInformation(
sender,assetId,algod):Promise<AccountAssetInformation>
Defined in: algokit-utils-ts/src/account/account.ts:201
Parameters
Section titled “Parameters”sender
Section titled “sender”string | SendTransactionFrom
The address of the sender/account to look up
assetId
Section titled “assetId”number | bigint
The ID of the asset to return a holding for
AlgodClient
The algod instance
Returns
Section titled “Returns”Promise<AccountAssetInformation>
The account asset holding information
Example
Section titled “Example”const address = "XBYLS2E6YI6XXL5BWCAMOA4GTWHXWENZMX5UHXMRNWWUQ7BXCY5WC5TEPA";const assetId = 123345;const accountInfo = await account.getAccountAssetInformation(address, assetId, algod);