交易
小于 1 分钟
交易
交易详情
GET
https://services.tokenview.io/vipapi/tx/{公链简称小写}/{交易哈希}?apikey={apikey}
参数
- {公链简称小写}: BTC系列如btc,ltc,doge 等;
- {交易哈希}:BTC系列链上交易ID;
- {apikey}: 可在Tokenview API 后台管理系统获取激活状态的 APIKEY: https://services.tokenview.io
Request
curl --location https://services.tokenview.io/vipapi/tx/btc/83f86073df488e6f32acce48db40e86c4931ebe2a4f520641b1f12d96b00aa3b?apikey={apikey}
Response
{
"code": 1,
"msg": "成功",
"data": {
"type": "tx",
"network": "BTC",
"block_no": 573346,
"height": 573346,
"blockHash": "00000000000000000008d3817ca06a45b6a53e8ac632bb873f68acd73735bd3b",
"index": 808,
"time": 1556296856,
"txid": "83f86073df488e6f32acce48db40e86c4931ebe2a4f520641b1f12d96b00aa3b",
"fee": "0.00010775",
"confirmations": 193232,
"inputs": [
{
"input_no": 0,
"address": "1AqSbAsXh3zxE8Z61afpU65u4pxB9BBRcz",
"value": "0.07920632",
"received_from": {
"output_no": 0,
"txid": "fdc072a98dd017a8f3c0bcb0569f0b0ee33ef16a9dfb0e96e50866463e038142"
}
}
],
"outputs": [
{
"output_no": 0,
"address": "1PuaubWLayAxAF8sAq6r41BAVYhSKAK4Nr",
"value": "0.07849857"
},
{
"output_no": 1,
"address": "17hLEAaZsaRxeBvpYB3JUjrwtSG8tUQaDG",
"value": "0.0006"
}
],
"inputCnt": 1,
"outputCnt": 2
}
}
交易确认数
GET
https://services.tokenview.io/vipapi/tx/confirmation/{公链简称小写}/{交易哈希}?apikey={apikey}
参数
- {公链简称小写}: BTC系列如btc,ltc,doge 等;
- {交易哈希}:BTC系列链上交易ID;
- {apikey}: 可在Tokenview API 后台管理系统获取激活状态的 APIKEY: https://services.tokenview.io
Request
curl --location https://services.tokenview.io/vipapi/tx/confirmation/btc/83f86073df488e6f32acce48db40e86c4931ebe2a4f520641b1f12d96b00aa3b?apikey={apikey}
Response
{
"code": 1,
"msg": "成功",
"data": {
"network": "BTC",
"txId": "83f86073df488e6f32acce48db40e86c4931ebe2a4f520641b1f12d96b00aa3b",
"confirmation": 193232
}
}