Skip to main content
Version: 1.0
Endpoints Summary
GET Account assets holdings

GET Account assets holdings

Returns all assets held by one account given its stake address.

GET /api/core/accounts/{stake_address}/assets

🎰 Parameters

NameDescriptionInTypeRequired
stake_addressBech32 Stake addresspathstringtrue

👨‍💻 Code samples

const CBI = await new CardanoBI({ apiKey: 'YOUR-KEY', apiSecret: 'YOUR-SECRET' }); 
const assets = await CBI.core.accounts.assets_({ stake_address: "stake1uyq4f9rye96ywptukdypkdu69gc4sd34hwzd940pxslczhc7n5vyt" });
console.log(assets);

💌 Response Codes

OK: Successful request.

[
{
"policy_hex": "682fe60c9918842b3323c43b5144bc3d52a23bd2fb81345560d73f63",
"fingerprint": "asset105nh988tzzzk3duk6relug69td98ja3nl3uv2c",
"name": "NEWM",
"quantity": 100000000
},
"...",
{
"policy_hex": "7cb6fbb296945e2c7c8b4bda24b90636bc15becf9c4d6c6eabb6447c",
"fingerprint": "asset1w86zwjq9pdul3l27dr5lgkvs4euuy2fam72uq6",
"name": "Cardabbean01136",
"quantity": 1
}
]

💌 Response Schemas

Status Code 200

NameTypeDescription
policy_hexstringThe hexadecimal encoding of the MultiAsset policy hash.
fingerprintstringThe CIP14 fingerprint for the MultiAsset.
namestringThe MultiAsset name.
quantityinteger(int64)The balance of the given MultiAsset held by the account.