mirror of https://github.com/hyperledger/besu
GraphQL: Migrate Long types to strings (#5505)
Migrate from EIP specified numeric values to execution-spec specified string values. Signed-off-by: Danno Ferrin <danno.ferrin@gmail.com>pull/5517/head
parent
cc2150d537
commit
4c3565300a
@ -1,12 +1,11 @@ |
||||
{ |
||||
"request" :"{block{ estimateGas(data:{}) }}", |
||||
"response":{ |
||||
"data" : { |
||||
"block" : { |
||||
"estimateGas" : 53000 |
||||
"request": "{block{ estimateGas(data:{}) }}", |
||||
"response": { |
||||
"data": { |
||||
"block": { |
||||
"estimateGas": "0xcf08" |
||||
} |
||||
} |
||||
}, |
||||
|
||||
"statusCode": 200 |
||||
} |
@ -1,16 +1,13 @@ |
||||
{ |
||||
"request" : "{ pending { account(address: \"0x8888f1f195afa192cfee860698584c030f4c9db1\") { code } } }", |
||||
|
||||
"request": "{ pending { account(address: \"0x8888f1f195afa192cfee860698584c030f4c9db1\") { code } } }", |
||||
"response": { |
||||
"data" : { |
||||
"data": { |
||||
"pending": { |
||||
"account" :{ |
||||
"code" :"0x" |
||||
"account": { |
||||
"code": "0x" |
||||
} |
||||
} |
||||
} |
||||
}, |
||||
|
||||
"statusCode": 200 |
||||
|
||||
} |
@ -1,26 +1,27 @@ |
||||
{ |
||||
"request": "{ block(number: \"0x20\") { logs( filter: { topics : [[], [\"0x000000000000000000000000a94f5374fce5edbc8e2a8697c15331677e6ebf0b\"]]}) { index topics data account{address} transaction{hash} } } }", |
||||
"response": { |
||||
"data" : { |
||||
"block" : { |
||||
"logs" : [ { |
||||
"index" : 0, |
||||
"topics": [ |
||||
"0x0000000000000000000000000000000000000000000000000000000000000001", |
||||
"0x000000000000000000000000a94f5374fce5edbc8e2a8697c15331677e6ebf0b", |
||||
"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" |
||||
], |
||||
"data" : "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe9000000000000000000000000000000000000000000000000000000000000002a", |
||||
"account" : { |
||||
"address" : "0x6295ee1b4f6dd65047762f924ecd367c17eabf8f" |
||||
}, |
||||
"transaction" : { |
||||
"hash" : "0xcef53f2311d7c80e9086d661e69ac11a5f3d081e28e02a9ba9b66749407ac310" |
||||
"data": { |
||||
"block": { |
||||
"logs": [ |
||||
{ |
||||
"index": "0x0", |
||||
"topics": [ |
||||
"0x0000000000000000000000000000000000000000000000000000000000000001", |
||||
"0x000000000000000000000000a94f5374fce5edbc8e2a8697c15331677e6ebf0b", |
||||
"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" |
||||
], |
||||
"data": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe9000000000000000000000000000000000000000000000000000000000000002a", |
||||
"account": { |
||||
"address": "0x6295ee1b4f6dd65047762f924ecd367c17eabf8f" |
||||
}, |
||||
"transaction": { |
||||
"hash": "0xcef53f2311d7c80e9086d661e69ac11a5f3d081e28e02a9ba9b66749407ac310" |
||||
} |
||||
} |
||||
} ] |
||||
] |
||||
} |
||||
} |
||||
}, |
||||
|
||||
"statusCode": 200 |
||||
} |
@ -1,22 +1,25 @@ |
||||
{ |
||||
"request": "{ block(number: \"0x17\") { logs( filter: { topics : []}) { index topics data account{address} transaction{hash} } } }", |
||||
"response": { |
||||
"data" : { |
||||
"block" : { |
||||
"logs" : [ { |
||||
"index" : 0, |
||||
"topics" : [ "0x65c9ac8011e286e89d02a269890f41d67ca2cc597b2c76c7c69321ff492be580" ], |
||||
"data" : "0x000000000000000000000000000000000000000000000000000000000000002a", |
||||
"account" : { |
||||
"address" : "0x6295ee1b4f6dd65047762f924ecd367c17eabf8f" |
||||
}, |
||||
"transaction" : { |
||||
"hash" : "0x97a385bf570ced7821c6495b3877ddd2afd5c452f350f0d4876e98d9161389c6" |
||||
"data": { |
||||
"block": { |
||||
"logs": [ |
||||
{ |
||||
"index": "0x0", |
||||
"topics": [ |
||||
"0x65c9ac8011e286e89d02a269890f41d67ca2cc597b2c76c7c69321ff492be580" |
||||
], |
||||
"data": "0x000000000000000000000000000000000000000000000000000000000000002a", |
||||
"account": { |
||||
"address": "0x6295ee1b4f6dd65047762f924ecd367c17eabf8f" |
||||
}, |
||||
"transaction": { |
||||
"hash": "0x97a385bf570ced7821c6495b3877ddd2afd5c452f350f0d4876e98d9161389c6" |
||||
} |
||||
} |
||||
} ] |
||||
] |
||||
} |
||||
} |
||||
}, |
||||
|
||||
"statusCode": 200 |
||||
} |
@ -1,22 +1,25 @@ |
||||
{ |
||||
"request": "{ block(number: \"0x17\") { logs( filter: { topics : [[\"0x000000000000000000000000a94f5374fce5edbc8e2a8697c15331677e6ebf0b\", \"0x65c9ac8011e286e89d02a269890f41d67ca2cc597b2c76c7c69321ff492be580\"]]}) { index topics data account{address} transaction{hash} } } }", |
||||
"response": { |
||||
"data" : { |
||||
"block" : { |
||||
"logs" : [ { |
||||
"index" : 0, |
||||
"topics" : [ "0x65c9ac8011e286e89d02a269890f41d67ca2cc597b2c76c7c69321ff492be580" ], |
||||
"data" : "0x000000000000000000000000000000000000000000000000000000000000002a", |
||||
"account" : { |
||||
"address" : "0x6295ee1b4f6dd65047762f924ecd367c17eabf8f" |
||||
}, |
||||
"transaction" : { |
||||
"hash" : "0x97a385bf570ced7821c6495b3877ddd2afd5c452f350f0d4876e98d9161389c6" |
||||
"data": { |
||||
"block": { |
||||
"logs": [ |
||||
{ |
||||
"index": "0x0", |
||||
"topics": [ |
||||
"0x65c9ac8011e286e89d02a269890f41d67ca2cc597b2c76c7c69321ff492be580" |
||||
], |
||||
"data": "0x000000000000000000000000000000000000000000000000000000000000002a", |
||||
"account": { |
||||
"address": "0x6295ee1b4f6dd65047762f924ecd367c17eabf8f" |
||||
}, |
||||
"transaction": { |
||||
"hash": "0x97a385bf570ced7821c6495b3877ddd2afd5c452f350f0d4876e98d9161389c6" |
||||
} |
||||
} |
||||
} ] |
||||
] |
||||
} |
||||
} |
||||
}, |
||||
|
||||
"statusCode": 200 |
||||
} |
@ -1,15 +1,13 @@ |
||||
{ |
||||
"request" :"{ pending { account(address: \"0x6295ee1b4f6dd65047762f924ecd367c17eabf8f\") { storage(slot: \"0x00000000000000000000000000000004\") } } }", |
||||
|
||||
"request": "{ pending { account(address: \"0x6295ee1b4f6dd65047762f924ecd367c17eabf8f\") { storage(slot: \"0x00000000000000000000000000000004\") } } }", |
||||
"response": { |
||||
"data" : { |
||||
"data": { |
||||
"pending": { |
||||
"account" :{ |
||||
"storage" :"0xaabbccffffffffffffffffffffffffffffffffffffffffffffffffffffffffee" |
||||
"account": { |
||||
"storage": "0xaabbccffffffffffffffffffffffffffffffffffffffffffffffffffffffffee" |
||||
} |
||||
} |
||||
} |
||||
}, |
||||
|
||||
"statusCode": 200 |
||||
} |
@ -1,15 +1,13 @@ |
||||
{ |
||||
"request" :"{ pending { account(address: \"0x6295ee1b4f6dd65047762f924ecd367c17eabf8f\") { storage(slot: \"0x00000000000000000000000000000021\") } } }", |
||||
|
||||
"response":{ |
||||
"data" : { |
||||
"request": "{ pending { account(address: \"0x6295ee1b4f6dd65047762f924ecd367c17eabf8f\") { storage(slot: \"0x00000000000000000000000000000021\") } } }", |
||||
"response": { |
||||
"data": { |
||||
"pending": { |
||||
"account" : { |
||||
"storage" : "0x0000000000000000000000000000000000000000000000000000000000000000" |
||||
"account": { |
||||
"storage": "0x0000000000000000000000000000000000000000000000000000000000000000" |
||||
} |
||||
} |
||||
} |
||||
}, |
||||
|
||||
"statusCode": 200 |
||||
} |
@ -1,15 +1,13 @@ |
||||
{ |
||||
"request" :"{ pending { account(address: \"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b\") { transactionCount } } }", |
||||
|
||||
"request": "{ pending { account(address: \"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b\") { transactionCount } } }", |
||||
"response": { |
||||
"data" : { |
||||
"data": { |
||||
"pending": { |
||||
"account" :{ |
||||
"transactionCount" : 33 |
||||
"account": { |
||||
"transactionCount": "0x21" |
||||
} |
||||
} |
||||
} |
||||
}, |
||||
|
||||
"statusCode": 200 |
||||
} |
@ -1,29 +1,27 @@ |
||||
{ |
||||
"request" : "{ transaction(hash: \"0x812742182a79a8e67733edc58cfa3767aa2d7ad06439d156ddbbb33e3403b4ed\") {block{hash logsBloom} hash createdContract{address} cumulativeGasUsed gas gasUsed logs{topics} from{address} to{address} index } }", |
||||
|
||||
"response":{ |
||||
"data" : { |
||||
"transaction" : { |
||||
"block" : { |
||||
"hash" : "0x10aaf14a53caf27552325374429d3558398a36d3682ede6603c2c6511896e9f9", |
||||
"logsBloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" |
||||
{ |
||||
"request": "{ transaction(hash: \"0x812742182a79a8e67733edc58cfa3767aa2d7ad06439d156ddbbb33e3403b4ed\") {block{hash logsBloom} hash createdContract{address} cumulativeGasUsed gas gasUsed logs{topics} from{address} to{address} index } }", |
||||
"response": { |
||||
"data": { |
||||
"transaction": { |
||||
"block": { |
||||
"hash": "0x10aaf14a53caf27552325374429d3558398a36d3682ede6603c2c6511896e9f9", |
||||
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" |
||||
}, |
||||
"hash" : "0x812742182a79a8e67733edc58cfa3767aa2d7ad06439d156ddbbb33e3403b4ed", |
||||
"createdContract" : { |
||||
"address":"0x6295ee1b4f6dd65047762f924ecd367c17eabf8f" |
||||
"hash": "0x812742182a79a8e67733edc58cfa3767aa2d7ad06439d156ddbbb33e3403b4ed", |
||||
"createdContract": { |
||||
"address": "0x6295ee1b4f6dd65047762f924ecd367c17eabf8f" |
||||
}, |
||||
"cumulativeGasUsed" : 493172, |
||||
"gas" : 3141592, |
||||
"gasUsed" : 493172, |
||||
"logs" : [ ], |
||||
"from" : { |
||||
"address" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" |
||||
"cumulativeGasUsed": "0x78674", |
||||
"gas": "0x2fefd8", |
||||
"gasUsed": "0x78674", |
||||
"logs": [], |
||||
"from": { |
||||
"address": "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" |
||||
}, |
||||
"to" : null, |
||||
"index" : 0 |
||||
"to": null, |
||||
"index": "0x0" |
||||
} |
||||
} |
||||
}, |
||||
|
||||
"statusCode": 200 |
||||
} |
||||
|
@ -1,20 +1,16 @@ |
||||
{ |
||||
"request": |
||||
|
||||
"{ block(hash: \"0xc8df1f061abb4d0c107b2b1a794ade8780b3120e681f723fe55a7be586d95ba6\") { transactionAt(index: 0) {block{hash} hash } } }", |
||||
|
||||
"response":{ |
||||
"data" : { |
||||
"block" : { |
||||
"transactionAt" : { |
||||
"block" : { |
||||
"hash" : "0xc8df1f061abb4d0c107b2b1a794ade8780b3120e681f723fe55a7be586d95ba6" |
||||
"request": "{ block(hash: \"0xc8df1f061abb4d0c107b2b1a794ade8780b3120e681f723fe55a7be586d95ba6\") { transactionAt(index: 0) {block{hash} hash } } }", |
||||
"response": { |
||||
"data": { |
||||
"block": { |
||||
"transactionAt": { |
||||
"block": { |
||||
"hash": "0xc8df1f061abb4d0c107b2b1a794ade8780b3120e681f723fe55a7be586d95ba6" |
||||
}, |
||||
"hash" : "0x9cc6c7e602c56aa30c554bb691377f8703d778cec8845f4b88c0f72516b304f4" |
||||
"hash": "0x9cc6c7e602c56aa30c554bb691377f8703d778cec8845f4b88c0f72516b304f4" |
||||
} |
||||
} |
||||
} |
||||
}, |
||||
|
||||
"statusCode": 200 |
||||
} |
@ -1,20 +1,16 @@ |
||||
{ |
||||
"request": |
||||
|
||||
"{ block(number: \"0x1e\") { transactionAt(index: 0) {block{hash} hash} } }", |
||||
|
||||
"response":{ |
||||
"data" : { |
||||
"block" : { |
||||
"transactionAt" : { |
||||
"block" : { |
||||
"hash" : "0xc8df1f061abb4d0c107b2b1a794ade8780b3120e681f723fe55a7be586d95ba6" |
||||
"request": "{ block(number: \"0x1e\") { transactionAt(index: 0) {block{hash} hash} } }", |
||||
"response": { |
||||
"data": { |
||||
"block": { |
||||
"transactionAt": { |
||||
"block": { |
||||
"hash": "0xc8df1f061abb4d0c107b2b1a794ade8780b3120e681f723fe55a7be586d95ba6" |
||||
}, |
||||
"hash" : "0x9cc6c7e602c56aa30c554bb691377f8703d778cec8845f4b88c0f72516b304f4" |
||||
"hash": "0x9cc6c7e602c56aa30c554bb691377f8703d778cec8845f4b88c0f72516b304f4" |
||||
} |
||||
} |
||||
} |
||||
}, |
||||
|
||||
"statusCode": 200 |
||||
} |
@ -1,12 +1,8 @@ |
||||
{ |
||||
"request": |
||||
|
||||
"{transaction (hash : \"0xffc6c7e602c56aa30c554bb691377f8703d778cec8845f4b88c0f72516b304f4\") { block{hash} gas gasPrice hash inputData nonce index value }} ", |
||||
|
||||
|
||||
"request": "{transaction (hash : \"0xffc6c7e602c56aa30c554bb691377f8703d778cec8845f4b88c0f72516b304f4\") { block{hash} gas gasPrice hash inputData nonce index value }} ", |
||||
"response": { |
||||
"data" : { |
||||
"transaction" : null |
||||
"data": { |
||||
"transaction": null |
||||
} |
||||
}, |
||||
"statusCode": 200 |
||||
|
@ -1,8 +1,8 @@ |
||||
{ |
||||
"request" : "mutation { sendRawTransaction(data: \"0xf901ca0685174876e800830fffff8080b90177608060405234801561001057600080fd5b50610157806100206000396000f30060806040526004361061004c576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680633bdab8bf146100515780639ae97baa14610068575b600080fd5b34801561005d57600080fd5b5061006661007f565b005b34801561007457600080fd5b5061007d6100b9565b005b7fa53887c1eed04528e23301f55ad49a91634ef5021aa83a97d07fd16ed71c039a60016040518082815260200191505060405180910390a1565b7fa53887c1eed04528e23301f55ad49a91634ef5021aa83a97d07fd16ed71c039a60026040518082815260200191505060405180910390a17fa53887c1eed04528e23301f55ad49a91634ef5021aa83a97d07fd16ed71c039a60036040518082815260200191505060405180910390a15600a165627a7a7230582010ddaa52e73a98c06dbcd22b234b97206c1d7ed64a7c048e10c2043a3d2309cb00291ca00297f7489c9e70447d917f7069a145c9fd0543633bec0a17ac072f1e07ab7f24a0185bd6435c17603b85fd84b8b45605988e855238fe2bbc6ea1f7e9ee6a5fc15f\") }", |
||||
"response":{ |
||||
"data" : { |
||||
"sendRawTransaction" : "0x84df486b376e7eaf35792d710fc38ce110e62ab9cdb73a45d191da74c2190617" |
||||
"request": "mutation { sendRawTransaction(data: \"0xf901ca0685174876e800830fffff8080b90177608060405234801561001057600080fd5b50610157806100206000396000f30060806040526004361061004c576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680633bdab8bf146100515780639ae97baa14610068575b600080fd5b34801561005d57600080fd5b5061006661007f565b005b34801561007457600080fd5b5061007d6100b9565b005b7fa53887c1eed04528e23301f55ad49a91634ef5021aa83a97d07fd16ed71c039a60016040518082815260200191505060405180910390a1565b7fa53887c1eed04528e23301f55ad49a91634ef5021aa83a97d07fd16ed71c039a60026040518082815260200191505060405180910390a17fa53887c1eed04528e23301f55ad49a91634ef5021aa83a97d07fd16ed71c039a60036040518082815260200191505060405180910390a15600a165627a7a7230582010ddaa52e73a98c06dbcd22b234b97206c1d7ed64a7c048e10c2043a3d2309cb00291ca00297f7489c9e70447d917f7069a145c9fd0543633bec0a17ac072f1e07ab7f24a0185bd6435c17603b85fd84b8b45605988e855238fe2bbc6ea1f7e9ee6a5fc15f\") }", |
||||
"response": { |
||||
"data": { |
||||
"sendRawTransaction": "0x84df486b376e7eaf35792d710fc38ce110e62ab9cdb73a45d191da74c2190617" |
||||
} |
||||
}, |
||||
"statusCode": 200 |
||||
|
@ -1,10 +1,9 @@ |
||||
{ |
||||
"request" : "mutation { sendRawTransaction(data: \"0xf8690885174876e800830fffff94450b61224a7df4d8a70f3e20d4fd6a6380b920d180843bdab8bf1ba0efcd6b9df2054a4e8599c0967f8e1e45bca79e2998ed7e8bafb4d29aba7dd5c2a01097184ba24f20dc097f1915fbb5f6ac955bbfc014f181df4d80bf04f4a1cfa5\") }", |
||||
"response":{ |
||||
"data" : { |
||||
"sendRawTransaction" : "0xaa6e6646456c576edcd712dbb3f30bf46c3d8310b203960c1e675534553b2daf" |
||||
"request": "mutation { sendRawTransaction(data: \"0xf8690885174876e800830fffff94450b61224a7df4d8a70f3e20d4fd6a6380b920d180843bdab8bf1ba0efcd6b9df2054a4e8599c0967f8e1e45bca79e2998ed7e8bafb4d29aba7dd5c2a01097184ba24f20dc097f1915fbb5f6ac955bbfc014f181df4d80bf04f4a1cfa5\") }", |
||||
"response": { |
||||
"data": { |
||||
"sendRawTransaction": "0xaa6e6646456c576edcd712dbb3f30bf46c3d8310b203960c1e675534553b2daf" |
||||
} |
||||
}, |
||||
|
||||
"statusCode": 200 |
||||
} |
@ -1,8 +1,8 @@ |
||||
{ |
||||
"request" : "mutation { sendRawTransaction(data: \"0xf86d0485174876e800830222e0945aae326516b4f8fe08074b7e972e40a713048d62880de0b6b3a7640000801ba05d4e7998757264daab67df2ce6f7e7a0ae36910778a406ca73898c9899a32b9ea0674700d5c3d1d27f2e6b4469957dfd1a1c49bf92383d80717afc84eb05695d5b\") }", |
||||
"response":{ |
||||
"data" : { |
||||
"sendRawTransaction" : "0xbaabcc1bd699e7378451e4ce5969edb9bdcae76cb79bdacae793525c31e423c7" |
||||
"request": "mutation { sendRawTransaction(data: \"0xf86d0485174876e800830222e0945aae326516b4f8fe08074b7e972e40a713048d62880de0b6b3a7640000801ba05d4e7998757264daab67df2ce6f7e7a0ae36910778a406ca73898c9899a32b9ea0674700d5c3d1d27f2e6b4469957dfd1a1c49bf92383d80717afc84eb05695d5b\") }", |
||||
"response": { |
||||
"data": { |
||||
"sendRawTransaction": "0xbaabcc1bd699e7378451e4ce5969edb9bdcae76cb79bdacae793525c31e423c7" |
||||
} |
||||
}, |
||||
"statusCode": 200 |
||||
|
@ -1,39 +1,39 @@ |
||||
{ |
||||
"request": |
||||
|
||||
"{blocks (from : \"0x1e\", to: \"0x20\") { number gasUsed gasLimit hash nonce stateRoot receiptsRoot transactionCount }} ", |
||||
|
||||
|
||||
"response":{ |
||||
"data" : { |
||||
"blocks" : [ { |
||||
"number" : 30, |
||||
"gasUsed" : 23585, |
||||
"gasLimit" : 3141592, |
||||
"hash" : "0xc8df1f061abb4d0c107b2b1a794ade8780b3120e681f723fe55a7be586d95ba6", |
||||
"nonce" : "0x5c321bd9e9f040f1", |
||||
"stateRoot" : "0xdb46d6bb168130fe2cb60b4b24346137b5741f11283e0d7edace65c5f5466b2e", |
||||
"receiptsRoot" : "0x88b3b304b058b39791c26fdb94a05cc16ce67cf8f84f7348cb3c60c0ff342d0d", |
||||
"transactionCount" : 1 |
||||
}, { |
||||
"number" : 31, |
||||
"gasUsed" : 24303, |
||||
"gasLimit" : 3141592, |
||||
"hash" : "0x0f765087745aa259d9e5ac39c367c57432a16ed98e3b0d81c5b51d10f301dc49", |
||||
"nonce" : "0xd3a27a3001616468", |
||||
"stateRoot" : "0xa80997cf804269d64f2479baf535cf8f9090b70fbf515741c6995564f1e678bd", |
||||
"receiptsRoot" : "0x2440c44a3f75ad8b0425a73e7be2f61a5171112465cfd14e62e735b56d7178e6", |
||||
"transactionCount" : 1 |
||||
}, { |
||||
"number" : 32, |
||||
"gasUsed" : 23705, |
||||
"gasLimit" : 3141592, |
||||
"hash" : "0x71d59849ddd98543bdfbe8548f5eed559b07b8aaf196369f39134500eab68e53", |
||||
"nonce" : "0xdb063000b00e8026", |
||||
"stateRoot" : "0xf65f3dd13f72f5fa5607a5224691419969b4f4bae7a00a6cdb853f2ca9eeb1be", |
||||
"receiptsRoot" : "0xa50a7e67e833f4502524371ee462ccbcc6c6cabd2aeb1555c56150007a53183c", |
||||
"transactionCount" : 1 |
||||
} ] |
||||
"request": "{blocks (from : \"0x1e\", to: \"0x20\") { number gasUsed gasLimit hash nonce stateRoot receiptsRoot transactionCount }} ", |
||||
"response": { |
||||
"data": { |
||||
"blocks": [ |
||||
{ |
||||
"number": "0x1e", |
||||
"gasUsed": "0x5c21", |
||||
"gasLimit": "0x2fefd8", |
||||
"hash": "0xc8df1f061abb4d0c107b2b1a794ade8780b3120e681f723fe55a7be586d95ba6", |
||||
"nonce": "0x5c321bd9e9f040f1", |
||||
"stateRoot": "0xdb46d6bb168130fe2cb60b4b24346137b5741f11283e0d7edace65c5f5466b2e", |
||||
"receiptsRoot": "0x88b3b304b058b39791c26fdb94a05cc16ce67cf8f84f7348cb3c60c0ff342d0d", |
||||
"transactionCount": "0x1" |
||||
}, |
||||
{ |
||||
"number": "0x1f", |
||||
"gasUsed": "0x5eef", |
||||
"gasLimit": "0x2fefd8", |
||||
"hash": "0x0f765087745aa259d9e5ac39c367c57432a16ed98e3b0d81c5b51d10f301dc49", |
||||
"nonce": "0xd3a27a3001616468", |
||||
"stateRoot": "0xa80997cf804269d64f2479baf535cf8f9090b70fbf515741c6995564f1e678bd", |
||||
"receiptsRoot": "0x2440c44a3f75ad8b0425a73e7be2f61a5171112465cfd14e62e735b56d7178e6", |
||||
"transactionCount": "0x1" |
||||
}, |
||||
{ |
||||
"number": "0x20", |
||||
"gasUsed": "0x5c99", |
||||
"gasLimit": "0x2fefd8", |
||||
"hash": "0x71d59849ddd98543bdfbe8548f5eed559b07b8aaf196369f39134500eab68e53", |
||||
"nonce": "0xdb063000b00e8026", |
||||
"stateRoot": "0xf65f3dd13f72f5fa5607a5224691419969b4f4bae7a00a6cdb853f2ca9eeb1be", |
||||
"receiptsRoot": "0xa50a7e67e833f4502524371ee462ccbcc6c6cabd2aeb1555c56150007a53183c", |
||||
"transactionCount": "0x1" |
||||
} |
||||
] |
||||
} |
||||
}, |
||||
"statusCode": 200 |
||||
|
@ -1,9 +1,9 @@ |
||||
{ |
||||
"variables" : "{ \"data\": \"0xf86d0485174876e800830222e0945aae326516b4f8fe08074b7e972e40a713048d62880de0b6b3a7640000801ba05d4e7998757264daab67df2ce6f7e7a0ae36910778a406ca73898c9899a32b9ea0674700d5c3d1d27f2e6b4469957dfd1a1c49bf92383d80717afc84eb05695d5b\"}", |
||||
"request" : "mutation postTransaction($data: Bytes!) { sendRawTransaction(data: $data) }", |
||||
"response":{ |
||||
"data" : { |
||||
"sendRawTransaction" : "0xbaabcc1bd699e7378451e4ce5969edb9bdcae76cb79bdacae793525c31e423c7" |
||||
"variables": "{ \"data\": \"0xf86d0485174876e800830222e0945aae326516b4f8fe08074b7e972e40a713048d62880de0b6b3a7640000801ba05d4e7998757264daab67df2ce6f7e7a0ae36910778a406ca73898c9899a32b9ea0674700d5c3d1d27f2e6b4469957dfd1a1c49bf92383d80717afc84eb05695d5b\"}", |
||||
"request": "mutation postTransaction($data: Bytes!) { sendRawTransaction(data: $data) }", |
||||
"response": { |
||||
"data": { |
||||
"sendRawTransaction": "0xbaabcc1bd699e7378451e4ce5969edb9bdcae76cb79bdacae793525c31e423c7" |
||||
} |
||||
}, |
||||
"statusCode": 200 |
||||
|
Loading…
Reference in new issue