AssetAddr
1.通过脚本密钥查询服务器保存的资产地址
func GetAssetAddrsByScriptKey(token string, scriptKey string) string
参数
token
string 登录token
scriptKey
string 脚本密钥
响应
{"success":true,"error":"","code":200,"data":[{"ID":4,"CreatedAt":"2024-07-12T15:18:08.414+08:00","UpdatedAt":"2024-07-12T15:18:08.414+08:00","DeletedAt":null,"encoded":"taprt1qqqsqqspqqzzpuss9hzanq7gf0hj845j3j92h27p6p4ul29jxt3ptl69ws25dfrwqcssyn58hf0v2szy8c7vzgfwl96gvqv2gurk7rqu9tjkrsjvrmehr2kppqss9vmgp23w3y6ug7czw9dzqcqplu0ee43l80jgz46hhau67hmjsgnwpgpl6p7spssh2mnfwejhyum9wfcxxw309ucnxv3wxgenyt33xqujuwp58gurgdpn72ks4z","asset_id":"f2102dc5d983c84bef23d6928c8aababc1d06bcfa8b232e215ff45741546a46e","asset_type":0,"amount":2000,"group_key":"","script_key":"024e87ba5ec540443e3cc1212ef97486018a47076f0c1c2ae561c24c1ef371aac1","internal_key":"02b3680aa2e8935c47b02715a206001ff1f9cd63f3be4815757bf79af5f728226e","tapscript_sibling":"","taproot_output_key":"bab30cb6a67a44c8ed39c879e9fd4fbd31c40c35213ae9068a5339b15fa4bc66","proof_courier_addr":"universerpc://132.232.109.84:8443","asset_version":0,"device_id":"be19afc29f67c785","user_id":1045,"status":1}]}
Last updated