mirror of https://github.com/hyperledger/besu
Signed-off-by: Vladyslav Lupashevskyi <vlad@lupashevskyi.com>pull/2909/head
parent
dba5ce55a4
commit
7d8464caa5
@ -0,0 +1,16 @@ |
||||
{ |
||||
"request": "{block {number call (data : {from : \"0x6295ee1b4f6dd65047762f924ecd367c17eabf8f\", to: \"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b\", data :\"0x123456\"}){data status}}}" |
||||
, |
||||
"response":{ |
||||
"data" : { |
||||
"block" : { |
||||
"number" : 32, |
||||
"call" : { |
||||
"data" : "0x", |
||||
"status" : 1 |
||||
} |
||||
} |
||||
} |
||||
}, |
||||
"statusCode": 200 |
||||
} |
@ -0,0 +1,11 @@ |
||||
{ |
||||
"request" :"{block{estimateGas (data : {from : \"0x6295ee1b4f6dd65047762f924ecd367c17eabf8f\", to: \"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b\", data :\"0x123456\"})}}", |
||||
"response":{ |
||||
"data" : { |
||||
"block" : { |
||||
"estimateGas" : 21204 |
||||
} |
||||
} |
||||
}, |
||||
"statusCode": 200 |
||||
} |
@ -0,0 +1,21 @@ |
||||
{ |
||||
"request": { |
||||
"id": 3, |
||||
"jsonrpc": "2.0", |
||||
"method": "eth_call", |
||||
"params": [ |
||||
{ |
||||
"to": "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", |
||||
"from": "0x6295ee1b4f6dd65047762f924ecd367c17eabf8f", |
||||
"data": "0x123456" |
||||
}, |
||||
"latest" |
||||
] |
||||
}, |
||||
"response": { |
||||
"jsonrpc": "2.0", |
||||
"id": 3, |
||||
"result": "0x" |
||||
}, |
||||
"statusCode": 200 |
||||
} |
@ -0,0 +1,20 @@ |
||||
{ |
||||
"request": { |
||||
"id": 3, |
||||
"jsonrpc": "2.0", |
||||
"method": "eth_estimateGas", |
||||
"params": [ |
||||
{ |
||||
"to": "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", |
||||
"from": "0x6295ee1b4f6dd65047762f924ecd367c17eabf8f", |
||||
"data": "0x123456" |
||||
} |
||||
] |
||||
}, |
||||
"response": { |
||||
"jsonrpc": "2.0", |
||||
"id": 3, |
||||
"result": "0x52d4" |
||||
}, |
||||
"statusCode": 200 |
||||
} |
Loading…
Reference in new issue