Transaction
Transaction
Transaction Info
GET
https://services.tokenview.io/vipapi/tx/{lowercase-coin-abbr}/{transaction-hash}?apikey={apikey}
Parameters
- {lowercase-coin-abbr}: eth; bsc; kcs; movr.
- {transaction-hash}: the transaction hash of ETH Category;
- {apikey}: Get your activated apikey from the API system: https://services.tokenview.io
Note
When using the 「ETH」 API, make sure to convert the uppercase letters to lowercase letters of address, transaction hash.
Request
curl --location https://services.tokenview.io/vipapi/tx/etc/0x6c6050578b74a33fff4511380d3596afc700a547a87f1bc80c76b336584fa2af?apikey={apikey}
Response
{
"code": 1,
"msg": "成功",
"data": {
"type": "tx",
"network": "ETC",
"block_no": 9500092,
"height": 9500092,
"blockHash": "0x10006aae09820784935f79de1c238836920a239a48d0e6113a9fc1da86ae434d",
"index": 5,
"time": 1577852564,
"txid": "0x6c6050578b74a33fff4511380d3596afc700a547a87f1bc80c76b336584fa2af",
"fee": "0.000008859541045248",
"confirmations": 7021192,
"from": "0x89a3258a6e6415cedcf8045cca2648c08df2ff52",
"to": "0x39856bb3305997ad7aca33f8b21a8af9b86b79f4",
"nonce": 6130,
"toIsContract": 1,
"gasPrice": 1179648,
"gasLimit": 7510326,
"value": "0",
"inputData": "0x00",
"gasUsed": 7510326,
"traceErr": "Bad jump destination",
"receiptErr": "Err status 0x0"
}
}
Transaction Confirmations
GET
https://services.tokenview.io/vipapi/tx/confirmation/{lowercase-coin-abbr}/{transaction-hash}?apikey={apikey}
Parameters
- {lowercase-coin-abbr}: eth; bsc; kcs; movr.
- {transaction-hash}: the transaction hash of ETH Category;
- {apikey}: Get your activated apikey from the API system: https://services.tokenview.io
Note
When using the 「ETH」 API, make sure to convert the uppercase letters to lowercase letters of address, transaction hash.
Request
curl --location https://services.tokenview.io/vipapi/tx/confirmation/eth/0x914443ef1e9028e031ace86264593afc4d03fbdb77725ef92bcd75b2f9a8df26?apikey={apikey}
Response
{
"code": 1,
"msg": "成功",
"data": {
"network": "ETH",
"txId": "0x914443ef1e9028e031ace86264593afc4d03fbdb77725ef92bcd75b2f9a8df26",
"confirmation": 2616927
}
}
Pending Transaction List
GET
https://services.tokenview.io/vipapi/pending/{lowercase-coin-abbr}/{address}?apikey={apikey}
Parameters
- {lowercase-coin-abbr}: eth; bsc; kcs; movr.
- {address}: the wallet address of ETH category;
- {apikey}: Get your activated apikey from the API system: https://services.tokenview.io
Note
When using the 「ETH」 API, make sure to convert the uppercase letters to lowercase letters of address, transaction hash.
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
}
}
Transaction RunLog
GET
https://services.tokenview.io/vipapi/{lowercase-coin-abbr}/tx/runlog/{block-height-of-transaction}/{transaction-index-in-block}?apikey={apikey}
Parameters
- {lowercase-coin-abbr}: eth; bsc; kcs; movr
- {address}: the address of ETH category
- {block-height-of-transaction}: the block height of the transaction be in.
- {transaction-index-in-block}: the index of this transaction in the block.
- {apikey}: Get your activated apikey from the API system: https://services.tokenview.io
Note
When using the 「ETH」 API, make sure to convert the uppercase letters to lowercase letters of address, transaction hash.
Request
curl --location https://services.tokenview.io/vipapi/eth/tx/runlog/9000000/2?apikey={apikey}
Response
{
"code": 1,
"msg": "成功",
"data": {
"height": 9000000,
"receipt": {
"cumulativeGasUsed": "0x13325",
"effectiveGasPrice": "0xba43b7400",
"gasUsed": "0x8f15",
"logs": [
{
"address": "0xe5caef4af8780e59df925470b050fb23c43ca68c",
"data": "0x08bb2c9700",
"logIndex": "0x0",
"removed": false,
"topics": [
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
"0x2e1809d345216aa72833ba5f2881885c2999c103",
"0x5f5b019fd4b42cf0c92e3ec1bf85f2c562105578"
],
"transactionIndex": "0x2",
"transactionLogIndex": "0x0",
"type": "mined"
}
],
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000008000000000000000000000000008000000000000000000200000000000000000400000000000000000000000000000000000000000002000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000820000000002000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000",
"status": "0x1"
},
"trace": [
{
"action": {
"callType": "call",
"from": "0x2e1809d345216aa72833ba5f2881885c2999c103",
"gas": "0x6f95",
"input": "0xa9059cbb0000000000000000000000005f5b019fd4b42cf0c92e3ec1bf85f2c56210557800000000000000000000000000000000000000000000000000000008bb2c9700",
"to": "0xe5caef4af8780e59df925470b050fb23c43ca68c",
"value": "0x0"
},
"result": {
"gasUsed": "0x6f95",
"output": "0x01"
},
"subtraces": 0,
"traceAddress": [],
"type": "call"
}
],
"txid": "0xc15d28717343a2573250d8d1435fc24d4bc2935b96a7cf2db06130704b8d7319"
}
}