Skip to content

getAccountAssetInformation

getAccountAssetInformation(sender, assetId, algod): Promise<AccountAssetInformation>

Defined in: src/account/account.ts:201

Parameters

sender

The address of the sender/account to look up

string | SendTransactionFrom

assetId

The ID of the asset to return a holding for

number | bigint

algod

AlgodClient

The algod instance

Returns

Promise<AccountAssetInformation>

The account asset holding information

Example

const address = "XBYLS2E6YI6XXL5BWCAMOA4GTWHXWENZMX5UHXMRNWWUQ7BXCY5WC5TEPA";
const assetId = 123345;
const accountInfo = await account.getAccountAssetInformation(address, assetId, algod);

Response data schema details