GET Asset addresses
Returns the list of addresses holding a balance in one specific MultiAsset given its fingerprint.
GET /api/core/assets/{fingerprint}/addresses
🎰 Parameters
Name | Description | In | Type | Required |
---|---|---|---|---|
fingerprint | The CIP14 fingerprint for the MultiAsset. | path | string | true |
page_no | Page number to retrieve - defaults to 1 | query | integer | false |
page_size | Number of results per page - defaults to 20 - max 100 | query | integer | false |
order | Prescribes in which order addresses are returned - "desc" descending (default) quantity held - "asc" ascending quantity held | query | string | false |
👨💻 Code samples
- Node.js
- Python
- Rust
const CBI = await new CardanoBI({ apiKey: 'YOUR-KEY', apiSecret: 'YOUR-SECRET' });
const addresses = await CBI.core.assets.addresses_({ fingerprint: "asset1gqp4wdmclgw2tqmkm3nq7jdstvqpesdj3agnel" });
console.log(addresses);
CBI = CardanoBI(apiKey='YOUR-KEY', apiSecret='YOUR-SECRET' });
addresses = await CBI.core.assets.addresses_(fingerprint='asset1gqp4wdmclgw2tqmkm3nq7jdstvqpesdj3agnel');
print(addresses);
let CBI = CardanoBI::new(Some("YOUR-KEY"), Some("YOUR-SECRET")).await.expect("Failed to initialize CardanoBI");
let addresses_addresses = CBI.core.assets.addresses_(Some("asset1gqp4wdmclgw2tqmkm3nq7jdstvqpesdj3agnel"), HashMap::new()).await.expect("Failed to call endpoint");
println!("addresses_addresses: {:?}", addresses_addresses);
💌 Response Codes
- 200
- 400
- 401
- 402
- 403
- 404
- 429
OK: Successful request.
[
"..."
]
Bad Request: The request was unacceptable, often due to missing a required parameter.
Response schema is undefined.
Unauthorized: No valid API key provided.
Response schema is undefined.
Quota Exceeded: This API key has reached its usage limit on request.
Response schema is undefined.
Access Denied: The request is missing a valid API key or token.
Response schema is undefined.
Not Found: The requested resource cannot be found.
Response schema is undefined.
Too Many Requests: This API key has reached its rate limit.
Response schema is undefined.
💌 Response Schemas
- 200
- 400
- 401
- 402
- 403
- 404
- 429
Status Code 200
Name | Type | Description |
---|---|---|
address | string | The output address holding a balance in the given Multi-Asset. |
quantity | number(double) | The balance held at this address of the given MultiAsset. |
Status Code 400
Name | Type | Description |
---|
Response schema is undefined.
Status Code 401
Name | Type | Description |
---|
Response schema is undefined.
Status Code 402
Name | Type | Description |
---|
Response schema is undefined.
Status Code 403
Name | Type | Description |
---|
Response schema is undefined.
Status Code 404
Name | Type | Description |
---|
Response schema is undefined.
Status Code 429
Name | Type | Description |
---|
Response schema is undefined.