You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added 1 field to display decimals in api https://api.koios.rest/api/v0/account_assets. If we need to display the correct balance to the account balance we need to make the asset_info call for each asset to get the "decimals" field, so for wallets with nft > 100 tokens we need > 100 call command. Example "assets": [
{
"policy_id": "29d222ce763455e3d7a09a665ce554f00ac89d2e99a1a83d267170c6",
"assets": [
{
"asset_name": "4d494e",
"asset_name_ascii": "MIN",
"balance": "1859630215"
},
{
"asset_name": "4d494e74",
"asset_name_ascii": "MINt",
"balance": "1842795018"
}
]
},
.But my wallet MIN balance is only 1859 and Mint balance is only 1842.
Thank you for your interest
The text was updated successfully, but these errors were encountered:
Added 1 field to display decimals in api https://api.koios.rest/api/v0/account_assets. If we need to display the correct balance to the account balance we need to make the asset_info call for each asset to get the "decimals" field, so for wallets with nft > 100 tokens we need > 100 call command. Example "assets": [
{
"policy_id": "29d222ce763455e3d7a09a665ce554f00ac89d2e99a1a83d267170c6",
"assets": [
{
"asset_name": "4d494e",
"asset_name_ascii": "MIN",
"balance": "1859630215"
},
{
"asset_name": "4d494e74",
"asset_name_ascii": "MINt",
"balance": "1842795018"
}
]
},
.But my wallet MIN balance is only 1859 and Mint balance is only 1842.
Thank you for your interest
The text was updated successfully, but these errors were encountered: