Get Asset (empty name)
Fetch the asset from policy_id
with an empty name.
The asset must be associated with the wallet.
GET
/wallets/{walletId}/assets/{policyId}
curl \
--request GET https://localhost:8090/v2/wallets/{walletId}/assets/{policyId}
Response examples (406)
{
"message": "string",
"code": "not_acceptable"
}
Response examples (404)
{
"message": "string",
"code": "asset_not_present"
}
Response examples (200)
{
"policy_id": "65ab82542b0ca20391caaf66a4d4d7897d281f9c136cd3513136945b",
"asset_name": "string",
"fingerprint": "asset1rjklcrnsdzqp65wjgrg55sy9723kw09mlgvlc3",
"metadata": {
"name": "SwaggerCoin",
"description": "string",
"ticker": "SWAG",
"decimals": 2,
"url": "https://example.com",
"logo": "string"
},
"metadata_error": "fetch"
}