nimbus-eth1/hive_integration/nodocker/graphql/testcases/30_eth_getTransaction_byHas...

65 lines
1.9 KiB
JSON
Raw Normal View History

{
"request": "{transaction (hash : \"0x9cc6c7e602c56aa30c554bb691377f8703d778cec8845f4b88c0f72516b304f4\") { block{hash} gas gasPrice hash inputData nonce index value from {address} to {address} logs{index} status createdContract{address} } } ",
"responses": [
{
"data": {
"transaction": {
"block": {
"hash": "0xc8df1f061abb4d0c107b2b1a794ade8780b3120e681f723fe55a7be586d95ba6"
},
2023-07-03 13:28:42 +00:00
"gas": "0x4cb2f",
"gasPrice": "0x1",
"hash": "0x9cc6c7e602c56aa30c554bb691377f8703d778cec8845f4b88c0f72516b304f4",
"inputData": "0xe8beef5b",
2023-07-03 13:28:42 +00:00
"nonce": "0x1d",
"index": "0x0",
"value": "0xa",
"from": {
"address": "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b"
},
"to": {
"address": "0x6295ee1b4f6dd65047762f924ecd367c17eabf8f"
},
"logs": [
{
2023-07-03 13:28:42 +00:00
"index": "0x0"
}
],
"status": null,
"createdContract": null
}
}
},
{
"data": {
"transaction": {
"block": {
"hash": "0xc8df1f061abb4d0c107b2b1a794ade8780b3120e681f723fe55a7be586d95ba6"
},
"createdContract": null,
"from": {
"address": "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b"
},
"gas": "0x4cb2f",
"gasPrice": "0x1",
"hash": "0x9cc6c7e602c56aa30c554bb691377f8703d778cec8845f4b88c0f72516b304f4",
"index": 0,
"inputData": "0xe8beef5b",
"logs": [
{
"index": 0
}
],
"nonce": "0x1d",
2023-07-03 13:28:42 +00:00
"status": "0x0",
"to": {
"address": "0x6295ee1b4f6dd65047762f924ecd367c17eabf8f"
},
"value": "0xa"
}
}
}
],
"statusCode": 200
2023-07-03 13:28:42 +00:00
}