Requests
Currency > Query
Query the supported coins for Cregis Project.
API URL
POST /api/v1/coins
Query the supported currency information of the project. The token-related information can be used in other APIs.
Request
Request Parameters
Name | Type | Required | Description |
---|---|---|---|
pid | integer(int64) | Yes | Project ID |
nonce | string | Yes | 6-digit random string |
timestamp | integer(int64) | Yes | Timestamp |
sign | string | Yes | Signature |
Request Example
Response
Response Parameters
Name | Type | Description |
---|---|---|
code | string | Response code |
msg | string | Response message |
data | object | Response data object |
Response data
object
Name | Type | Description |
---|---|---|
coin_name | string | Token name |
chain_id | string | Chain ID |
token_id | string | Token ID, for tokens it’s the contract address |