tokens
Get token by id
Returns token entity information given the id
get/api/v1/tokens/{tokenId}
Path parameters
tokenIdstring nullable required
Network entity ID in the format of shard.realm.num
Example:0.0.2
Token id
Query parameters
timestampstring
The Unix timestamp in seconds.nanoseconds format. See unixtimestamp.com for a simple way to convert a date to the 'seconds' part of the Unix time.
Response
OK
Example response
{
"admin_key": {
"_type": "ProtobufEncoded",
"key": "15706b229b3ba33d4a5a41ff54ce1cfe0a3d308672a33ff382f81583e02bd743"
},
"auto_renew_account": "0.0.2",
"created_timestamp": "1586567700.453054000",
"deleted": true,
"expiry_timestamp": 1234567890100000,
"fee_schedule_key": {
"_type": "ProtobufEncoded",
"key": "15706b229b3ba33d4a5a41ff54ce1cfe0a3d308672a33ff382f81583e02bd743"
},
"freeze_key": {
"_type": "ProtobufEncoded",
"key": "15706b229b3ba33d4a5a41ff54ce1cfe0a3d308672a33ff382f81583e02bd743"
},
"initial_supply": "1000000",
"kyc_key": {
"_type": "ProtobufEncoded",
"key": "15706b229b3ba33d4a5a41ff54ce1cfe0a3d308672a33ff382f81583e02bd743"
},
"max_supply": "9223372036854775807",
"metadata_key": {
"_type": "ProtobufEncoded",
"key": "15706b229b3ba33d4a5a41ff54ce1cfe0a3d308672a33ff382f81583e02bd743"
},
"modified_timestamp": "1586567700.453054000",
"name": "Token name",
"memo": "token memo",
"pause_key": {
"_type": "ProtobufEncoded",
"key": "15706b229b3ba33d4a5a41ff54ce1cfe0a3d308672a33ff382f81583e02bd743"
},
"pause_status": "UNPAUSED",
"supply_key": {
"_type": "ProtobufEncoded",
"key": "15706b229b3ba33d4a5a41ff54ce1cfe0a3d308672a33ff382f81583e02bd743"
},
"supply_type": "INFINITE",
"symbol": "ORIGINALRDKSE",
"token_id": "0.0.2",
"total_supply": "1000000",
"treasury_account_id": "0.0.2",
"type": "FUNGIBLE_COMMON",
"wipe_key": {
"_type": "ProtobufEncoded",
"key": "15706b229b3ba33d4a5a41ff54ce1cfe0a3d308672a33ff382f81583e02bd743"
},
"custom_fees": {
"created_timestamp": "1586567700.453054000",
"fixed_fees": [
{
"amount": 100,
"collector_account_id": "0.0.2",
"denominating_token_id": "0.0.2"
}
],
"fractional_fees": [
{
"amount": {
"numerator": 12,
"denominator": 29
},
"collector_account_id": "0.0.2",
"denominating_token_id": "0.0.2",
"maximum": 120,
"minimum": 30,
"net_of_transfers": true
}
],
"royalty_fees": [
{
"amount": {
"numerator": 15,
"denominator": 37
},
"collector_account_id": "0.0.2",
"fallback_fee": {
"amount": 100,
"denominating_token_id": "0.0.2"
}
}
]
}
}