Get Transaction By Block Number And Index
Returns information about a transaction by block number and transaction index position.
https://api.atoverse.info/api
?module=proxy
&action=atos_getTransactionByBlockNumberAndIndex
&tag=0x887F27
&index=0x0
&apikey=YourApiKeyToken
Request
Query Parameters
Parameter | Description |
---|---|
tag | the block number, in hex eg. 0x10FB78 |
index | the position of the uncle's index in the block, in hex eg. 0x0 |
Response
Sample response
{
"code":200,
"msg":"ok",
"data":{
"blockHash":"0x23687fd727726ace3aa2d3318d9c749f28ebe2e5af82bdbe069cf00c5789307b",
"blockNumber":8945447,
"blockNumberRaw":"0x887f27",
"chainId":167,
"from":"0x1e2198cdf2fc606c35b9d6d3374194263e45a9d6",
"gas":30000,
"gasPrice":10000000000000000,
"gasPriceRaw":"0x2386f26fc10000",
"gasRaw":"0x7530",
"hash":"0xb97dc61f4e6a41e4b9d38c8c1e3aae7fdb6827079c4f0bb6392abf3c93399fb0",
"input":"0xe6b8b8e6888fe4b8ade5bf832de5b9b8e8bf90e5a4a7e8bdace79b982de59fbae7a180",
"nonce":35160708,
"nonceRaw":"0x2188284",
"r":"0xaab4fd481f913edc990619018193661012f2934daad7e25e9369fbbd08a5d817",
"s":"0x3579249b164c74eeb38f9c3c147029052731d5399599e5232fd77db635f6279a",
"to":"0x48b7b851728c424e427285cbbdbe2b0ab34cedd2",
"transactionIndex":0,
"transactionIndexRaw":"0x0",
"v":369,
"value":23000000000000000000,
"valueRaw":"0x13f306a2409fc0000"
}
}