Get Transaction By Hash
Returns the information about a transaction requested by transaction hash.
https://api.atoverse.info/api
?module=proxy
&action=atos_getTransactionByHash
&txhash=0x204ccb2893a2c04f3e114d90d8361dc49b72643f02e3a846274f28a38a419267
&apikey=YourApiKeyToken
Request
Query Parameters
Parameter | Description |
---|---|
txhash | the string representing the hash of the transaction |
Response
Sample response
{
"code":200,
"msg":"ok",
"data":{
"blockHash":"0xb49214bfe409ede6cb3ad0deb0b932941bff15c689c18849ec198be18cf323ef",
"blockNumber":8942825,
"blockNumberRaw":"0x8874e9",
"chainId":167,
"from":"0xaccdce2f13c79a3187602d186b3cb827d470bd53",
"gas":30000,
"gasPrice":10000000000000000,
"gasPriceRaw":"0x2386f26fc10000",
"gasRaw":"0x7530",
"hash":"0x204ccb2893a2c04f3e114d90d8361dc49b72643f02e3a846274f28a38a419267",
"input":"0xe8a786e9a291e7a68fe588a9",
"nonce":25161169,
"nonceRaw":"0x17fedd1",
"r":"0x7aa0632b55a16f52645b204f0efdc9257d390817111fdaad472ceede4c8079c9",
"s":"0x7ac8d24c320970ecc3c9dcacc45eab1f706fdd300f6dc464432c0c65581e4445",
"to":"0x68a68ed3ac17ec319f8f2c54b46692587dec2536",
"transactionIndex":1,
"transactionIndexRaw":"0x1",
"v":369,
"value":168000000000000000000,
"valueRaw":"0x91b77e5e5d9a00000"
}
}