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"
    }
}
```

Last updated