> For the complete documentation index, see [llms.txt](https://seven-liquors-doc.gitbook.io/btlapi-1/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://seven-liquors-doc.gitbook.io/btlapi-1/trade/proof.md).

# proof

### /proof/sync\_info

从服务端直接调取数据库中存储的资产信息

#### request

````
// request
```postman_json
{
    "id": "bdfbfe19af0f2275ef964baf9e0bd458bd324cd42d5dc2f25b9b8e94aa6f9af5",
    "universe":"",
    "group_key":""
}
```
````

当前版本只需填入id（资产id），数据库内如果没有相关资产id信息，服务端会从服务端本地宇宙和公共宇宙查询资产信息。

填入universe后服务端尝试会从指定universe中拉取信息。

group\_key为预留字段。

#### responce

````
// Some code
```json
{
    "sync_asset_info": {
        "asset_Id": "bdfbfe19af0f2275ef964baf9e0bd458bd324cd42d5dc2f25b9b8e94aa6f9af5",
        "name": "flash",
        "point": "efc014a2b62d66ae45fb4ff5c8cb7d2dcc5d8d4f79ac395d8f19a36aa68a236b:3",
        "assetType": 0,
        "group_name": null,
        "group_key": null,
        "amount": 21000000,
        "meta": "flash是bitlong钱包发行的第一个主网Taproot Assets代币，目的是用于测试钱包的性能，无任何价值。",
        "create_height": 848574,
        "create_time": 1718770711,
        "universe": "132.232.109.84:8444",
        "decimal_display": 1
    }
}
```
````

### /proof/GetAssetsDecimal

批量获取小数位数

请求体

```

    [
      "3fb44119a994172d3edf625ecc21ed596d8c90c6819fa3430708e71dd5509306",
      "dc073ca924754b50257de9569f4f6a0ce7c9026720eb5c52f42afab5aab8ad0e",
      "4aa3656c0c496cfee65dacd7291c4be3a96df02ecd72af8fa5ec14bf0cbd15be"
        ]
```

响应体

```json
{
    "success": true,
    "error": "",
    "code": 200,
    "data": [
        {
            "asset_Id": "dc073ca924754b50257de9569f4f6a0ce7c9026720eb5c52f42afab5aab8ad0e",
            "decimal_display": 1
        },
        {
            "asset_Id": "3fb44119a994172d3edf625ecc21ed596d8c90c6819fa3430708e71dd5509306",
            "decimal_display": 2
        },
        {
            "asset_Id": "4aa3656c0c496cfee65dacd7291c4be3a96df02ecd72af8fa5ec14bf0cbd15be",
            "decimal_display": 0
        }
    ]
}
```
