Skip to main content

Pending Transaction

tokenviewAbout 2 min

Pending Transaction

Pending Trsansation in Pool

GET https://services.tokenview.io/vipapi/pendingstat/{lowercase-coin-abbr}?apikey={apikey}

Parameters

Request

curl --location https://services.tokenview.io/vipapi/pendingstat/eth?apikey={apikey}

Response

{
    "code": 1,
    "msg": "成功",
    "data": {
        "bestGasPrice": "55666382250",
        "totalCnt": 195699,
        "minGasPrice": "1",
        "totalSentValue": "2988.797409268045704718",
        "totalFee": "175.139811547586369596",
        "maxGasPrice": "1000000000000",
        "totalTokenTransferCnt": 1468,
        "totalCallTransferCnt": 0
    }
}

Pending Transaction List On Chain

GET https://services.tokenview.io/vipapi/pending/{lowercase-coin-abbr}/{page}/{page-size}?apikey={apikey}

Parameters

  • {lowercase-coin-abbr}: eth; bsc; kcs; movr
  • {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.ioopen in new window

Request

curl --location https://services.tokenview.io/vipapi/pending/eth/1/10?apikey={apikey}

Response

{
    "code": 1,
    "msg": "成功",
    "data": {
        "page": 1,
        "size": 10,
        "total": 185891,
        "data": [
            {
                "type": "tx",
                "network": "ETH",
                "time": 1670825746,
                "txid": "0x7dc55b437c1ddca5c42eb0981e61e95a1b5df89b67003f84788d0d4f9f1e8f86",
                "fee": "0.0029547",
                "from": "0x53741bac10321b0abf983f77d3eeaffcb7cd8009",
                "to": "0x7eccbbd05830edf593d30005b8f69e965af4d59f",
                "nonce": 25,
                "gasPrice": 10000000000,
                "gasLimit": 295470,
                "value": "0",
                "gasUsed": 0
            },
            {
                "type": "tx",
                "network": "ETH",
                "time": 1670825746,
                "txid": "0x63faf8b02bdda0cfc2e1cc8ca933879ce86ad03a7acd2c37a34caf05c16ee620",
                "fee": "0.005646446518167254",
                "from": "0xd2e17b8c1d9d3ae74cf08361e1d3d708da35643a",
                "to": "0x7a250d5630b4cf539739df2c5dacb4c659f2488d",
                "nonce": 24,
                "gasPrice": 22351364957,
                "gasLimit": 252622,
                "value": "0",
                "gasUsed": 0
            },
            {
                "type": "tx",
                "network": "ETH",
                "time": 1670825746,
                "txid": "0x3a6c96fd336fb770eb6a49363644c08ae6524f30aa9e26fb5e5a04c92058f511",
                "fee": "0.000383363957634",
                "from": "0xb9febad9e11887b70953aede21e5ce01284cb260",
                "to": "0x49b87bfdc7c31e2ad47210dad69d0ebbdfed4c69",
                "nonce": 1,
                "gasPrice": 18255426554,
                "gasLimit": 21000,
                "value": "1.278646451470743877",
                "gasUsed": 0
            },
            {
                "type": "tx",
                "network": "ETH",
                "time": 1670825745,
                "txid": "0xe74a6a920a6824eb6be9b00fba91265b9960eb7ce2e37d709114b1b767e97fc4",
                "fee": "3.057E-7",
                "from": "0xa62c6b6b5c120e16e2525517b122007325457aa1",
                "to": "0xb4fedc003053c22ac8b808bb424f3e1787f30cf2",
                "nonce": 0,
                "gasPrice": 6000000,
                "gasLimit": 50950,
                "value": "0",
                "gasUsed": 0
            },
            {
                "type": "tx",
                "network": "ETH",
                "time": 1670825745,
                "txid": "0x9b18ace52f160527a8b21ae01f84a221afcf99848744d388297db1619b34324c",
                "fee": "0.003661253583390578",
                "from": "0x5825c3b40fd6e9cbf0099a30d60a67f548b7913e",
                "to": "0x68b3465833fb72a70ecdf485e0e4c7bd8665fc45",
                "nonce": 33,
                "gasPrice": 18255426554,
                "gasLimit": 200557,
                "value": "0.02",
                "gasUsed": 0
            },
            {
                "type": "tx",
                "network": "ETH",
                "time": 1670825745,
                "txid": "0x9801035aeaae4c6a182f55762837b19d7268a33c328e884193682ab1ef9ef166",
                "fee": "0.00000220402",
                "from": "0xa8f6578608fae92bab44aa3251ff72020ff2254a",
                "to": "0x85da3727b0be6096654691d26939f62526ad7ffe",
                "nonce": 0,
                "gasPrice": 10000000,
                "gasLimit": 220402,
                "value": "0",
                "gasUsed": 0
            },
            {
                "type": "tx",
                "network": "ETH",
                "time": 1670825745,
                "txid": "0x8fe1c41370a01c0a80c8d6e0707d691d69e97889e98bc37b21f114271929fdcb",
                "fee": "0.00983428842467448",
                "from": "0x820a176b5ad54c6eb56d9708ad1ccb2137cd5484",
                "to": "0xb16c1342e617a5b6e4b631eb114483fdb289c0a4",
                "nonce": 316,
                "gasPrice": 25983503640,
                "gasLimit": 378482,
                "value": "0",
                "gasUsed": 0
            },
            {
                "type": "tx",
                "network": "ETH",
                "time": 1670825745,
                "txid": "0x8774ba96dc6ecc1f9a38a684541dfb150a61f091e8d45983ba4f08f5dc0a40e7",
                "fee": "0.004910357057739392",
                "from": "0xd24400ae8bfebb18ca49be86258a3c749cf46853",
                "to": "0x5f65f7b609678448494de4c87521cdf6cef1e932",
                "nonce": 3684138,
                "gasPrice": 12317896672,
                "gasLimit": 398636,
                "value": "0",
                "gasUsed": 0
            },
            {
                "type": "tx",
                "network": "ETH",
                "time": 1670825745,
                "txid": "0x5fadc3063c26e12155aae57facccce67e81e8a998db0a1103dcf27b52b3a2f8c",
                "fee": "0.000552245323497012",
                "from": "0x5a34ee73b9e3986d120cbd26a466e19a9b005a69",
                "to": "0x19062190b1925b5b6689d7073fdfc8c2976ef8cb",
                "nonce": 63,
                "gasPrice": 14272855461,
                "gasLimit": 38692,
                "value": "0",
                "gasUsed": 0,
                "tokenTransfer": [
                    {
                        "token": "0x19062190b1925b5b6689d7073fdfc8c2976ef8cb",
                        "tokenAddr": "0x19062190b1925b5b6689d7073fdfc8c2976ef8cb",
                        "tokenSymbol": "BZZ",
                        "tokenDecimals": "16",
                        "time": 1670825745,
                        "txid": "0x5fadc3063c26e12155aae57facccce67e81e8a998db0a1103dcf27b52b3a2f8c",
                        "tokenInfo": {
                            "h": "0x19062190b1925b5b6689d7073fdfc8c2976ef8cb",
                            "f": "BZZ",
                            "s": "BZZ",
                            "d": "16"
                        },
                        "from": "0x5a34ee73b9e3986d120cbd26a466e19a9b005a69",
                        "to": "0x0d5402434d98f3545224b59cd92ba3e828fbfdf7",
                        "value": "5000000000000000000"
                    }
                ]
            },
            {
                "type": "tx",
                "network": "ETH",
                "time": 1670825745,
                "txid": "0x4aa71bfe1a305db1a74c56636ce901ceee1a5d2564f44d9de65e78d2fb4916f6",
                "fee": "0.001034315957696532",
                "from": "0x1471be816a5f90c990aa3f6ffeb76d4338cf67b6",
                "to": "0xdd44443d8a3563e947ead8a2254b36f8d8b28581",
                "nonce": 2,
                "gasPrice": 18255426554,
                "gasLimit": 56658,
                "value": "0",
                "gasUsed": 0
            }
        ],
        "note": "{\"totalFee\": \"159.712273358615476328\", \"totalSentValue\": \"3054.383094433485089592\", \"totalCnt\": 185873, \"totalTokenTransferCnt\": 44, \"totalCallTransferCnt\": 0, \"minGasPrice\": \"50\", \"maxGasPrice\": \"999000000000\", \"bestGasPrice\": \"19000000000\"}"
    }
}

Pending Transaction Of Address

GET https://services.tokenview.io/vipapi/pending/ntx/{lowercase-coin-abbr}/{address}?apikey={apikey}

Parameters

Request

curl --location https://services.tokenview.io/vipapi/pending/ntx/eth/0xe9bd0ec174608337af5db3a641fdba880d41c52e?apikey={apikey}

Response

{
    "code": 1,
    "msg": "成功",
    "data": [
        {
            "type": "tx",
            "network": "ETH",
            "time": 1670817882,
            "txid": "0xcddd6b090d5133946a52f15ccc33affc22ea35008080955705e85c66c709ce89",
            "fee": "0.0001936884",
            "from": "0xe9bd0ec174608337af5db3a641fdba880d41c52e",
            "to": "0x7a250d5630b4cf539739df2c5dacb4c659f2488d",
            "nonce": 2,
            "gasPrice": 1200000000,
            "gasLimit": 161407,
            "value": "0.0002",
            "gasUsed": 0
        }
    ]
}

Pending Transaction Info

GET https://services.tokenview.io/vipapi/pending/{public-chain-abbr}/{transaction-hash}?apikey={apikey}

Parameters

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/eth/0xcddd6b090d5133946a52f15ccc33affc22ea35008080955705e85c66c709ce89?apikey={apikey}

Response

{
    "code": 1,
    "msg": "成功",
    "data": {
        "type": "tx",
        "network": "ETH",
        "time": 1670817882,
        "txid": "0xcddd6b090d5133946a52f15ccc33affc22ea35008080955705e85c66c709ce89",
        "fee": "0.0001936884",
        "from": "0xe9bd0ec174608337af5db3a641fdba880d41c52e",
        "to": "0x7a250d5630b4cf539739df2c5dacb4c659f2488d",
        "nonce": 2,
        "gasPrice": 1200000000,
        "gasLimit": 161407,
        "value": "0.0002",
        "gasUsed": 0
    }
}
Last update: