Returns the data for a specified KIP-7 contract. You can use either the contract alias or contract address.
Your request was successful.
The credential you entered is invalid.
The resource you requested doesn't exist.
curl -i -X GET \ -u <username>:<password> \ 'https://kip7-api.klaytnapi.com/v1/contract/{contract-address-or-alias}' \ -H 'x-chain-id: string'
Your request was successful.
{- "address": "0x0f73bb170deb398180f02e60d7ea154c270b8fb9",
- "decimals": 8,
- "name": "MyKIP7",
- "symbol": "MSK7",
- "totalSupply": "0x500",
- "alias": "my-first-kip7",
- "options": {
- "enableGlobalFeePayer": true,
- "userFeePayer": {
- "krn": "krn:1001:wallet:88c1223c-66af-4122-9818-069b2e3c6b30:feepayer-pool:default",
- "address": "0xd6905b98E4Ba43a24E842d2b66c1410173791cab"
}
}
}