Token
Get Token
Retrieve detailed information about a specific token, including its name, symbol, decimals, and total supply.
Free [2 Credits]
Endpoint
GET
https://mainnet-oapi.kaiascan.io/api?module=token&action=getToken&contractaddress={tokenContractAddress}&apikey={YourApiKey}
Request Parameters
Parameter | Type | Required | Description |
---|---|---|---|
contractaddress | String | Yes | The contract address of the token. |
Sample Response
{
"status": "1",
"message": "OK",
"result": {
"cataloged": "true",
"contractAddress": "0x754288077d0ff82af7a5317c7cb8c444d421d103",
"decimals": "6",
"name": "Orbit Bridge Klaytn USD Coin",
"symbol": "oUSDC",
"totalSupply": "3530968096044",
"type": "KIP-7"
}
}
Get Token Holders
Retrieve a list of token holders along with their balances for a specific token contract.
Free [2 Credits]
Endpoint
GET
https://mainnet-oapi.kaiascan.io/api?module=token&action=getTokenHolders&contractaddress={tokenContractAddress}&apikey={YourApiKey}
Request Parameters
Parameter | Type | Required | Description |
---|---|---|---|
contractaddress | String | Yes | The contract address of the token. |
page | Integer | No | Page number for pagination (must be used with offset ). |
offset | Integer | No | Maximum number of records to return per page (must be used with page ). |
Sample Response
{
"status": "1",
"message": "OK",
"result": [
{
"address": "0xc9880f5809964924373b65a3f77e64cb0fb583c4",
"value": "780110096772"
},
{
"address": "0x981efbafd3b075279729713a970607bb3656a7a1",
"value": "259102137302"
}
]
}