cURL
curl --request GET \ --url https://prv.explorer.biya.io/api/v1/token/price-marketcap
{ "code": 123, "message": "<string>", "data": {} }
Get token price and market cap (supports multiple tokens) If token symbol is not specified, uses the default token from configuration
Token symbol (e.g., "inj", "mycoin"). If not specified, uses default token from configuration
OK
通用响应结构
响应状态码,0表示成功,非0表示失败
响应消息
响应数据(使用 Struct 类型,可以直接返回 JSON 对象,更直观)