Skip to content

Conversation

@pczeglik-iohk
Copy link
Owner

Small POC of using @cardano-sdk/cardano-services-client for fetching token's metadata

@pczeglik-iohk
Copy link
Owner Author

pczeglik-iohk commented Mar 21, 2023

You can use Postman / Insomnia to make requests to Mainnet using settings like below:

url: https://backend.live-mainnet.eks.lw.iog.io/asset/get-asset
method: POST
request body:

{
    "assetId": "29d222ce763455e3d7a09a665ce554f00ac89d2e99a1a83d267170c64d494e",
    "extraData": {
        "tokenMetadata": true
    }
}

To get information about token's decimal notation, we need to add extraData -> "tokenMetadata": true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants