Pending Transaction
About 3 min
Pending Transaction
Pending Transaction In Pool
GET
https://services.tokenview.io/vipapi/pendingstat/{lowercase-coin-abbr}?apikey={apikey}
Parameters
- {lowercase-coin-abbr}: btc, bsv, ltc ...(BTC Category);
- {apikey}: Get your activated apikey from the API system: https://services.tokenview.io
Request
curl --location https://services.tokenview.io/vipapi/pendingstat/btc?apikey={apikey}
Response
{
"code": 1,
"msg": "成功",
"data": {
"bestGasPrice": "273488197",
"totalCnt": 4245,
"minGasPrice": "100000000",
"totalSentValue": "403.823851911631256720",
"totalFee": "8.272538731340059391",
"totalCallTransferCnt": 0,
"totalTokenTransferCnt": 78
}
}
Response Description
{
"code": 1,
"msg": "成功",
"data": {
"bestGasPrice": "273488197", // best GasPrice
"totalCnt": 4245, // total pending transactions
"minGasPrice": "100000000", // min GasPrice
"totalSentValue": "403.823851911631256720", // total Sent Value
"totalFee": "8.272538731340059391", // total Fee
"totalCallTransferCnt": 0,
"totalTokenTransferCnt": 78
}
}
Pending Transaction List of Chain
GET
https://services.tokenview.io/vipapi/pending/{lowercase-coin-abbr}/{page}/{page-size}?apikey={apikey}
Parameters
- {lowercase-coin-abbr}:btc, bsv, ltc ...(BTC Category);
- {page}: 1,2,3,......50 (Max);
- {page-size}: transactions per page. 50 transactions is the Max per page.
- {apikey}: Get your activated apikey from the API system: https://services.tokenview.io
Request
curl --location https://services.tokenview.io/vipapi/pending/btc/1/10?apikey={apikey}
Response
{
"code": 1,
"msg": "成功",
"data": {
"page": 1,
"size": 10,
"total": 1306087,
"data": [
{
"type": "tx",
"network": "BTC",
"time": 1666604663,
"txid": "eb7c4402c10591b21865f08d13e3e88d5ec0a82cf1ed77cbbe5140042dd7f9c4",
"fee": "0.00001424",
"inputs": [
{
"input_no": 0,
"address": "bc1qqx9z2zqk0606j37v7wqxr833640r35a7a5h6pm",
"value": "0.01810596"
},
{
"input_no": 1,
"address": "bc1qqx9z2zqk0606j37v7wqxr833640r35a7a5h6pm",
"value": "0.00211238"
}
],
"outputs": [
{
"output_no": 0,
"address": "bc1qnatqdnpj7gykv5n4ctnpdzd3u5akzwtp4ts0kv",
"value": "0.0202041"
}
],
"inputCnt": 2,
"outputCnt": 1
},
{
"type": "tx",
"network": "BTC",
"time": 1666604663,
"txid": "c9e2fec70eef3bc5d3595e7a164b32bc04375e83219994856394ed889e21baab",
"fee": "0.0000169",
"inputs": [
{
"input_no": 0,
"address": "14Fs4NYsuYZsYAubbZFLFHLEjgUTNCxvUk",
"value": "0.73009676",
"received_from": {
"output_no": 1,
"txid": "d480acc30bed9dbea619e33a95b84318e2abe9118dccdf719caf09147eef5258"
}
}
],
"outputs": [
{
"output_no": 0,
"address": "1KQX9qQKBRd1PJ3ksJrEDuPfbwhmNYhKev",
"value": "0.10019002"
},
{
"output_no": 1,
"address": "14Fs4NYsuYZsYAubbZFLFHLEjgUTNCxvUk",
"value": "0.62988984"
}
],
"inputCnt": 1,
"outputCnt": 2
},
{
"type": "tx",
"network": "BTC",
"time": 1666604663,
"txid": "ad91a6d6480309310e74dbe9a14aa6cf8b4acd559e87cca86a105687bcc86f51",
"fee": "0.00001009",
"inputs": [
{
"input_no": 0,
"address": "3FaZtK631KvPqssFSLLmpWLnHExZWJReAD",
"value": "0.0810589"
}
],
"outputs": [
{
"output_no": 0,
"address": "3NtSMwivYHVmNu4AiSxwPJ2bsUPhe69v4t",
"value": "0.01551401"
},
{
"output_no": 1,
"address": "3PhHU3CxDYQbPoHff6sqZfhjkt4DmRRYbP",
"value": "0.0655348"
}
],
"inputCnt": 1,
"outputCnt": 2
},
{
"type": "tx",
"network": "BTC",
"time": 1666604663,
"txid": "917da8cd97f98d8ad86c0f4758c628bd50212ef1b14ec7d4458b2d3e0623a615",
"fee": "0.00002617",
"inputs": [
{
"input_no": 0,
"address": "bc1qer6qepgnvgzxx5hrgpghp89vvqaps9st20nw9w",
"value": "0.02764533"
}
],
"outputs": [
{
"output_no": 0,
"address": "bc1qgzynhc4d4hu3l628fe9l6cj0ru5zv35ysmjlty",
"value": "0.02412799"
},
{
"output_no": 1,
"address": "1PEb3E835itBR2rhaDiczYAREkm7gMqGtc",
"value": "0.00010335"
},
{
"output_no": 2,
"address": "1BwEfdZ4DmBvuUdCRQ5biRiuMZJFWr1vot",
"value": "0.00338782"
}
],
"inputCnt": 1,
"outputCnt": 3
},
{
"type": "tx",
"network": "BTC",
"time": 1666604663,
"txid": "77ca253b878995ae662fc6dc0892df526fe81830e3b0a048cb7fac3b50ebeb76",
"fee": "0.000036",
"inputs": [
{
"input_no": 0,
"address": "3PUSdQVAC4MNHz9FzQLpCK1MCCkSNvERjr",
"value": "0.00234113"
},
{
"input_no": 1,
"address": "3PUSdQVAC4MNHz9FzQLpCK1MCCkSNvERjr",
"value": "0.0055"
}
],
"outputs": [
{
"output_no": 0,
"address": "3MokaUgANx7wRkEUeBYEiE1VvZ8kkZVmUF",
"value": "0.0001"
},
{
"output_no": 1,
"address": "bc1qas6xmplm20rcvxrap07szm8thhpp99q6nkwmtl",
"value": "0.0041"
},
{
"output_no": 2,
"address": "3PUSdQVAC4MNHz9FzQLpCK1MCCkSNvERjr",
"value": "0.00360513"
}
],
"inputCnt": 2,
"outputCnt": 3
},
{
"type": "tx",
"network": "BTC",
"time": 1666604663,
"txid": "742e2375040fca976ba7f07cc6eaf167ffd89be4cfba974d434c65605164e52a",
"fee": "0.00004102",
"inputs": [
{
"input_no": 0,
"address": "bc1q3m6a5j7hc6vt9ugt9q83v8dp7ekdz7clxlngyw",
"value": "0.00357593"
},
{
"input_no": 1,
"address": "bc1q3m6a5j7hc6vt9ugt9q83v8dp7ekdz7clxlngyw",
"value": "0.00648312"
},
{
"input_no": 2,
"address": "bc1q3m6a5j7hc6vt9ugt9q83v8dp7ekdz7clxlngyw",
"value": "0.01024907"
}
],
"outputs": [
{
"output_no": 0,
"address": "3LELGgxqKLyYrsJTW9UhyDBxZ3y5R3BVih",
"value": "0.01808218"
},
{
"output_no": 1,
"address": "bc1q3m6a5j7hc6vt9ugt9q83v8dp7ekdz7clxlngyw",
"value": "0.00218492"
}
],
"inputCnt": 3,
"outputCnt": 2
},
{
"type": "tx",
"network": "BTC",
"time": 1666604663,
"txid": "58a76c877696e685ffc4e7734c3c4fc620844338d9a34b18e83fbee9d2a43189",
"fee": "0.00004087",
"inputs": [
{
"input_no": 0,
"address": "bc1q2e6cxx6hfpw8nc9ecvz3e29ly3tc6n043kwftm",
"value": "0.00199208"
},
{
"input_no": 1,
"address": "bc1q2e6cxx6hfpw8nc9ecvz3e29ly3tc6n043kwftm",
"value": "0.00150927"
},
{
"input_no": 2,
"address": "bc1q2e6cxx6hfpw8nc9ecvz3e29ly3tc6n043kwftm",
"value": "0.00197108"
}
],
"outputs": [
{
"output_no": 0,
"address": "bc1q5y0p3qa59lffp07kfyajveytlskysjt60y5p2a",
"value": "0.00516756"
},
{
"output_no": 1,
"address": "bc1q2e6cxx6hfpw8nc9ecvz3e29ly3tc6n043kwftm",
"value": "0.000264"
}
],
"inputCnt": 3,
"outputCnt": 2
},
{
"type": "tx",
"network": "BTC",
"time": 1666604663,
"txid": "1a92ef834379ebf50ee1899ce9e46f36aca29cb2a5eb8cd3fe516e5d981b6d27",
"fee": "0.00005087",
"inputs": [
{
"input_no": 0,
"address": "bc1qk3e6vcucw72dnrr6z904fp5u4nzt3gvmnwp70k",
"value": "0.00026084"
},
{
"input_no": 1,
"address": "bc1qk3e6vcucw72dnrr6z904fp5u4nzt3gvmnwp70k",
"value": "0.00104336"
},
{
"input_no": 2,
"address": "bc1qjrmcylzjzgwxwla66e8tp0ecy7h40jtdstdjyx",
"value": "0.00675"
},
{
"input_no": 3,
"address": "bc1qmc5dr5s8l5kssqsrghtv6uk6m74wkmfa6ar9xs",
"value": "0.00408376"
}
],
"outputs": [
{
"output_no": 0,
"address": "bc1qmc5dr5s8l5kssqsrghtv6uk6m74wkmfa6ar9xs",
"value": "0.00208709"
},
{
"output_no": 1,
"address": "bc1qwqcggp5ra8w44sq50pt3zvwuzs496yzc0jzemn",
"value": "0.01"
}
],
"inputCnt": 4,
"outputCnt": 2
},
{
"type": "tx",
"network": "BTC",
"time": 1666604663,
"txid": "111977859a5abeed2b15cdf415feb81475bd86b8a8e85e4b5a554902b1dea6e3",
"fee": "0.000022",
"inputs": [
{
"input_no": 0,
"address": "3Fz46WVn6DWTyDe8wveyCyaMj3vfw87VWR",
"value": "0.7788971"
}
],
"outputs": [
{
"output_no": 0,
"address": "bc1qd3uj2q33efup4r7mgretkq0c9xdzksqcfm5t8v",
"value": "0.01771864"
},
{
"output_no": 1,
"address": "37Z6neB2wDC3hsPDHLy2n2kFahNNU3eos8",
"value": "0.38057368"
},
{
"output_no": 2,
"address": "3N8r2L2GZdyhMQJZi3ztydCn2DyBzAcv9h",
"value": "0.38058278"
}
],
"inputCnt": 1,
"outputCnt": 3
},
{
"type": "tx",
"network": "BTC",
"time": 1666604663,
"txid": "0f626ee2a5960fe483205a1c5a9ff7329abd8033f9edc4db8e640a9e9b74c380",
"fee": "0.00001255",
"inputs": [
{
"input_no": 0,
"address": "38LEZCMPJzB2mpMrWWiAp7HZ7PN3eTLQ6d",
"value": "0.00236359"
},
{
"input_no": 1,
"address": "3H5Zy45fhpDHBnL6eGM3pYGQunLc8VhvWw",
"value": "0.26239598"
}
],
"outputs": [
{
"output_no": 0,
"address": "bc1qrygsucqmcswhzn6a662gn0jhgd2hcy5c6vhejn",
"value": "0.0387578"
},
{
"output_no": 1,
"address": "3F4YdHqki5NWoC7bXRQoUXYAUNTf2QHf9E",
"value": "0.22598922"
}
],
"inputCnt": 2,
"outputCnt": 2
}
],
"note": "{\"totalSentValue\": 2723.67410614, \"totalCnt\": 881, \"totalFee\": 0.03419224, \"totalSize\": 4950282869, \"mediumTxByte\": 234, \"bestTxFee\": 1.17e-05, \"minTxFee\": 2.34e-06, \"maxTxFee\": 0.00084474}"
}
}
Pending Transaction Of Address
GET
https://services.tokenview.io/vipapi/pending/ntx/{lowercase-coin-abbr}/{address}?apikey={apikey}
Parameters
- {lowercase-coin-abbr}: btc, bsv, ltc ...(BTC Category);
- {address}: the address of BTC Category;
- {apikey}: Get your activated apikey from the API system: https://services.tokenview.io
Request
curl --location https://services.tokenview.io/vipapi/pending/ntx/usdt/39ZEaLMDxWi5EWx9cQ2W3ixDP8rWHhz8GY?apikey={apikey}
Response
{
"code": 1,
"msg": "成功",
"data": [
{
"type": "tx",
"network": "USDT",
"time": 1670468085,
"txid": "f0af9582258bbce9e7712142a9150bf232aafcc707783fe81b94e7dd4318fd71",
"fee": "0.00010000",
"inputs": [
{
"address": "39ZEaLMDxWi5EWx9cQ2W3ixDP8rWHhz8GY",
"value": "5000000.00000000"
}
],
"outputs": [
{
"address": "37w1zHnZUDBqcR7jnxepXtREKQEHDnLN6Z",
"value": "5000000.00000000"
}
],
"inputCnt": 1,
"outputCnt": 1,
"type_int": 0,
"type_str": "Simple Send"
}
]
}
Pending Trascation Info
GET
https://services.tokenview.io/vipapi/pending/{lowercase-coin-abbr}/{transaction-hash}?apikey={apikey}
Parameters
- {lowercase-coin-abbr}: btc, bsv, ltc ...(BTC Category);
- {transaction-hash}: the transaction hash of BTC Category;
- {apikey}: Get your activated apikey from the API system: https://services.tokenview.io
If this API returns 404, it means that there is no such transaction in the pending queue.
Request
curl --location https://services.tokenview.io/vipapi/pending/usdt/0b9623d38e6872d8434389e12a37f06a3db004e82834707fdb9a71bdab22b050?apikey={apikey}
Response
{
"code": 1,
"msg": "成功",
"data": {
"type": "tx",
"network": "USDT",
"time": 1670532375,
"txid": "0b9623d38e6872d8434389e12a37f06a3db004e82834707fdb9a71bdab22b050",
"fee": "0.00005647",
"inputs": [
{
"address": "115E3baxJZsJHeTay1jvUh3nSTHBJhkskc",
"value": "1240.19000000"
}
],
"outputs": [
{
"address": "1EiTs2kyCLNNugRuqmQv4b6Fi2dUXGCC1M",
"value": "1240.19000000"
}
],
"inputCnt": 1,
"outputCnt": 1,
"type_int": 0,
"type_str": "Simple Send"
}
}