# get_asset_imp
get_asset_imp 命令通过资产符号查询资产信息。
请求
{
"jsonrpc": "2.0",
"method": "get_asset_imp",
"params": ["XWC"],
"id": 1
}
输入参数
- 需要查询的账户名
响应
{
"id": 1,
"jsonrpc": "2.0",
"result": {
"id": "1.3.0",
"symbol": "XWC",
"precision": 5,
"issuer": "1.2.3",
"options": {
"max_supply": "100000000000",
"market_fee_percent": 0,
"max_market_fee": "10000000000000000",
"issuer_permissions": 0,
"flags": 0,
"core_exchange_rate": {
"base": {
"amount": 1,
"asset_id": "1.3.0"
},
"quote": {
"amount": 1,
"asset_id": "1.3.0"
}
},
"whitelist_authorities": [],
"blacklist_authorities": [],
"whitelist_markets": [],
"blacklist_markets": [],
"description": "",
"extensions": []
},
"dynamic_asset_data_id": "2.3.0",
"feeds": [],
"publishers": [],
"current_feed": {
"settlement_price": {
"base": {
"amount": 0,
"asset_id": "1.3.0"
},
"quote": {
"amount": 0,
"asset_id": "1.3.0"
}
},
"maintenance_collateral_ratio": 1750,
"maximum_short_squeeze_ratio": 1500,
"core_exchange_rate": {
"base": {
"amount": 0,
"asset_id": "1.3.0"
},
"quote": {
"amount": 0,
"asset_id": "1.3.0"
}
}
},
"current_feed_publication_time": "1970-01-01T00:00:00",
"allow_withdraw_deposit": true,
"dynamic_data": {
"id": "2.3.0",
"current_supply": "620005316300000",
"confidential_supply": 0,
"accumulated_fees": 0,
"fee_pool": 0,
"withdraw_limition": 0,
"gas_price": "5000000000"
}
}
}
返回值
- id: 资产 id
- symbol: 资产符号
- precision: 精度
- issuer: 发行人
- options: 资产选项
- max_supply: 最大供应量
- dynamic_data: 动态数据
- current_supply: 当前供应量
- gas_price: gas 价格
← get_asset get_citizen →