mirror of https://github.com/hyperledger/besu
Updated made to handle block parameter as an object (#1784)
* #1733 - add support for eip-1898 Signed-off-by: David Mechler <david.mechler@consensys.net> * #1733 - update changelog Signed-off-by: David Mechler <david.mechler@consensys.net> * #1733 - Fix merge issues Signed-off-by: David Mechler <david.mechler@consensys.net> * Updated code to handle block parameter as an object; added new tests Signed-off-by: David Mechler <david.mechler@consensys.net> * #1733 - Update to handle new block parameter; update tests accordingly Signed-off-by: David Mechler <david.mechler@consensys.net> * #1733 - Updates for PR comments Signed-off-by: David Mechler <david.mechler@consensys.net> * #1733 - fix broken test Signed-off-by: David Mechler <david.mechler@consensys.net>pull/1821/head
parent
77859a9a4c
commit
57cef9a70b
@ -0,0 +1,119 @@ |
||||
/* |
||||
* Copyright ConsenSys AG. |
||||
* |
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with |
||||
* the License. You may obtain a copy of the License at |
||||
* |
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
* |
||||
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on |
||||
* an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the |
||||
* specific language governing permissions and limitations under the License. |
||||
* |
||||
* SPDX-License-Identifier: Apache-2.0 |
||||
*/ |
||||
package org.hyperledger.besu.ethereum.api.jsonrpc.internal.methods; |
||||
|
||||
import org.hyperledger.besu.ethereum.api.jsonrpc.internal.JsonRpcRequestContext; |
||||
import org.hyperledger.besu.ethereum.api.jsonrpc.internal.parameters.BlockParameterOrBlockHash; |
||||
import org.hyperledger.besu.ethereum.api.jsonrpc.internal.response.JsonRpcError; |
||||
import org.hyperledger.besu.ethereum.api.jsonrpc.internal.response.JsonRpcErrorResponse; |
||||
import org.hyperledger.besu.ethereum.api.jsonrpc.internal.response.JsonRpcResponse; |
||||
import org.hyperledger.besu.ethereum.api.jsonrpc.internal.response.JsonRpcSuccessResponse; |
||||
import org.hyperledger.besu.ethereum.api.query.BlockchainQueries; |
||||
import org.hyperledger.besu.ethereum.core.Hash; |
||||
|
||||
import java.util.Optional; |
||||
import java.util.OptionalLong; |
||||
import java.util.function.Supplier; |
||||
|
||||
import com.google.common.base.Suppliers; |
||||
|
||||
public abstract class AbstractBlockParameterOrBlockHashMethod implements JsonRpcMethod { |
||||
|
||||
protected final Supplier<BlockchainQueries> blockchainQueries; |
||||
|
||||
protected AbstractBlockParameterOrBlockHashMethod(final BlockchainQueries blockchainQueries) { |
||||
this(Suppliers.ofInstance(blockchainQueries)); |
||||
} |
||||
|
||||
protected AbstractBlockParameterOrBlockHashMethod( |
||||
final Supplier<BlockchainQueries> blockchainQueries) { |
||||
this.blockchainQueries = blockchainQueries; |
||||
} |
||||
|
||||
protected abstract BlockParameterOrBlockHash blockParameterOrBlockHash( |
||||
JsonRpcRequestContext request); |
||||
|
||||
protected abstract Object resultByBlockHash(JsonRpcRequestContext request, Hash blockHash); |
||||
|
||||
protected BlockchainQueries getBlockchainQueries() { |
||||
return blockchainQueries.get(); |
||||
} |
||||
|
||||
protected Object pendingResult(final JsonRpcRequestContext request) { |
||||
// TODO: Update once we mine and better understand pending semantics.
|
||||
// For now act like we are not mining and just return latest.
|
||||
return latestResult(request); |
||||
} |
||||
|
||||
protected Object latestResult(final JsonRpcRequestContext request) { |
||||
return resultByBlockHash( |
||||
request, getBlockchainQueries().getBlockchain().getChainHead().getHash()); |
||||
} |
||||
|
||||
protected Object handleParamTypes(final JsonRpcRequestContext requestContext) { |
||||
final BlockParameterOrBlockHash blockParameterOrBlockHash = |
||||
blockParameterOrBlockHash(requestContext); |
||||
|
||||
final Object result; |
||||
if (blockParameterOrBlockHash.isLatest()) { |
||||
result = latestResult(requestContext); |
||||
} else if (blockParameterOrBlockHash.isPending()) { |
||||
result = pendingResult(requestContext); |
||||
} else if (blockParameterOrBlockHash.isNumeric() || blockParameterOrBlockHash.isEarliest()) { |
||||
OptionalLong blockNumber = blockParameterOrBlockHash.getNumber(); |
||||
if (blockNumber.isEmpty() |
||||
|| blockNumber.getAsLong() < 0 |
||||
|| blockNumber.getAsLong() > getBlockchainQueries().headBlockNumber()) { |
||||
return new JsonRpcErrorResponse( |
||||
requestContext.getRequest().getId(), JsonRpcError.INVALID_PARAMS); |
||||
} |
||||
|
||||
result = |
||||
resultByBlockHash( |
||||
requestContext, |
||||
blockchainQueries |
||||
.get() |
||||
.getBlockHashByNumber(blockNumber.getAsLong()) |
||||
.orElse(Hash.EMPTY)); |
||||
} else { |
||||
Optional<Hash> blockHash = blockParameterOrBlockHash.getHash(); |
||||
if (blockHash.isEmpty()) { |
||||
return new JsonRpcErrorResponse( |
||||
requestContext.getRequest().getId(), JsonRpcError.INVALID_PARAMS); |
||||
} |
||||
|
||||
if (Boolean.TRUE.equals(blockParameterOrBlockHash.getRequireCanonical()) |
||||
&& !getBlockchainQueries().blockIsOnCanonicalChain(blockHash.get())) { |
||||
return new JsonRpcErrorResponse( |
||||
requestContext.getRequest().getId(), JsonRpcError.JSON_RPC_NOT_CANONICAL_ERROR); |
||||
} |
||||
|
||||
result = resultByBlockHash(requestContext, blockHash.get()); |
||||
} |
||||
|
||||
return result; |
||||
} |
||||
|
||||
@Override |
||||
public JsonRpcResponse response(final JsonRpcRequestContext requestContext) { |
||||
Object response = handleParamTypes(requestContext); |
||||
|
||||
if (response instanceof JsonRpcErrorResponse) { |
||||
return (JsonRpcResponse) response; |
||||
} |
||||
|
||||
return new JsonRpcSuccessResponse(requestContext.getRequest().getId(), response); |
||||
} |
||||
} |
@ -0,0 +1,21 @@ |
||||
{ |
||||
"request": { |
||||
"id": 3, |
||||
"jsonrpc": "2.0", |
||||
"method": "eth_call", |
||||
"params": [ |
||||
{ |
||||
"to": "0x6295ee1b4f6dd65047762f924ecd367c17eabf8f", |
||||
"from": "a94f5374fce5edbc8e2a8697c15331677e6ebf0b", |
||||
"data": "0x12a7b914" |
||||
}, |
||||
"0xb73cee02246c6f32ac0f459934e89102c2ce904d966a4fc2ab6309c3e104b9cb" |
||||
] |
||||
}, |
||||
"response": { |
||||
"jsonrpc": "2.0", |
||||
"id": 3, |
||||
"result": "0x0000000000000000000000000000000000000000000000000000000000000001" |
||||
}, |
||||
"statusCode": 200 |
||||
} |
@ -0,0 +1,23 @@ |
||||
{ |
||||
"request": { |
||||
"id": 3, |
||||
"jsonrpc": "2.0", |
||||
"method": "eth_call", |
||||
"params": [ |
||||
{ |
||||
"to": "0x6295ee1b4f6dd65047762f924ecd367c17eabf8f", |
||||
"from": "a94f5374fce5edbc8e2a8697c15331677e6ebf0b", |
||||
"data": "0x12a7b914" |
||||
}, |
||||
{ |
||||
"blockHash": "0xb73cee02246c6f32ac0f459934e89102c2ce904d966a4fc2ab6309c3e104b9cb" |
||||
} |
||||
] |
||||
}, |
||||
"response": { |
||||
"jsonrpc": "2.0", |
||||
"id": 3, |
||||
"result": "0x0000000000000000000000000000000000000000000000000000000000000001" |
||||
}, |
||||
"statusCode": 200 |
||||
} |
@ -0,0 +1,24 @@ |
||||
{ |
||||
"request": { |
||||
"id": 3, |
||||
"jsonrpc": "2.0", |
||||
"method": "eth_call", |
||||
"params": [ |
||||
{ |
||||
"to": "0x6295ee1b4f6dd65047762f924ecd367c17eabf8f", |
||||
"from": "a94f5374fce5edbc8e2a8697c15331677e6ebf0b", |
||||
"data": "0x12a7b914" |
||||
}, |
||||
{ |
||||
"blockHash": "0xb73cee02246c6f32ac0f459934e89102c2ce904d966a4fc2ab6309c3e104b9cb", |
||||
"requireCanonical": true |
||||
} |
||||
] |
||||
}, |
||||
"response": { |
||||
"jsonrpc": "2.0", |
||||
"id": 3, |
||||
"result": "0x0000000000000000000000000000000000000000000000000000000000000001" |
||||
}, |
||||
"statusCode": 200 |
||||
} |
@ -0,0 +1,24 @@ |
||||
{ |
||||
"request": { |
||||
"id": 3, |
||||
"jsonrpc": "2.0", |
||||
"method": "eth_call", |
||||
"params": [ |
||||
{ |
||||
"to": "0x6295ee1b4f6dd65047762f924ecd367c17eabf8f", |
||||
"from": "a94f5374fce5edbc8e2a8697c15331677e6ebf0b", |
||||
"data": "0x12a7b914" |
||||
}, |
||||
{ |
||||
"blockHash": "0xb73cee02246c6f32ac0f459934e89102c2ce904d966a4fc2ab6309c3e104b9cb", |
||||
"requireCanonical": false |
||||
} |
||||
] |
||||
}, |
||||
"response": { |
||||
"jsonrpc": "2.0", |
||||
"id": 3, |
||||
"result": "0x0000000000000000000000000000000000000000000000000000000000000001" |
||||
}, |
||||
"statusCode": 200 |
||||
} |
@ -0,0 +1,21 @@ |
||||
{ |
||||
"request": { |
||||
"id": 3, |
||||
"jsonrpc": "2.0", |
||||
"method": "eth_call", |
||||
"params": [ |
||||
{ |
||||
"to": "0x6295ee1b4f6dd65047762f924ecd367c17eabf8f", |
||||
"from": "a94f5374fce5edbc8e2a8697c15331677e6ebf0b", |
||||
"data": "0x12a7b914" |
||||
}, |
||||
"0x19" |
||||
] |
||||
}, |
||||
"response": { |
||||
"jsonrpc": "2.0", |
||||
"id": 3, |
||||
"result": "0x0000000000000000000000000000000000000000000000000000000000000001" |
||||
}, |
||||
"statusCode": 200 |
||||
} |
@ -0,0 +1,23 @@ |
||||
{ |
||||
"request": { |
||||
"id": 3, |
||||
"jsonrpc": "2.0", |
||||
"method": "eth_call", |
||||
"params": [ |
||||
{ |
||||
"to": "0x6295ee1b4f6dd65047762f924ecd367c17eabf8f", |
||||
"from": "a94f5374fce5edbc8e2a8697c15331677e6ebf0b", |
||||
"data": "0x12a7b914" |
||||
}, |
||||
{ |
||||
"blockNumber": "0x19" |
||||
} |
||||
] |
||||
}, |
||||
"response": { |
||||
"jsonrpc": "2.0", |
||||
"id": 3, |
||||
"result": "0x0000000000000000000000000000000000000000000000000000000000000001" |
||||
}, |
||||
"statusCode": 200 |
||||
} |
@ -0,0 +1,24 @@ |
||||
{ |
||||
"request": { |
||||
"id": 3, |
||||
"jsonrpc": "2.0", |
||||
"method": "eth_call", |
||||
"params": [ |
||||
{ |
||||
"to": "0x6295ee1b4f6dd65047762f924ecd367c17eabf8f", |
||||
"from": "a94f5374fce5edbc8e2a8697c15331677e6ebf0b", |
||||
"data": "0x12a7b914" |
||||
}, |
||||
"0xb73cee02246c6f32ac0f459934e89102c2ce904d966a4fc2ab6309c3e104b9cb1234" |
||||
] |
||||
}, |
||||
"response": { |
||||
"jsonrpc": "2.0", |
||||
"id": 3, |
||||
"error" : { |
||||
"code" : -32602, |
||||
"message" : "Invalid params" |
||||
} |
||||
}, |
||||
"statusCode": 400 |
||||
} |
@ -0,0 +1,17 @@ |
||||
{ |
||||
"request": { |
||||
"id": 28, |
||||
"jsonrpc": "2.0", |
||||
"method": "eth_getBalance", |
||||
"params": [ |
||||
"0x8888f1f195afa192cfee860698584c030f4c9db1", |
||||
"0xb73cee02246c6f32ac0f459934e89102c2ce904d966a4fc2ab6309c3e104b9cb" |
||||
] |
||||
}, |
||||
"response": { |
||||
"jsonrpc": "2.0", |
||||
"id": 28, |
||||
"result": "0x6cb0f6ed0e034ae5d" |
||||
}, |
||||
"statusCode": 200 |
||||
} |
@ -0,0 +1,19 @@ |
||||
{ |
||||
"request": { |
||||
"id": 28, |
||||
"jsonrpc": "2.0", |
||||
"method": "eth_getBalance", |
||||
"params": [ |
||||
"0x8888f1f195afa192cfee860698584c030f4c9db1", |
||||
{ |
||||
"blockHash": "0xb73cee02246c6f32ac0f459934e89102c2ce904d966a4fc2ab6309c3e104b9cb" |
||||
} |
||||
] |
||||
}, |
||||
"response": { |
||||
"jsonrpc": "2.0", |
||||
"id": 28, |
||||
"result": "0x6cb0f6ed0e034ae5d" |
||||
}, |
||||
"statusCode": 200 |
||||
} |
@ -0,0 +1,20 @@ |
||||
{ |
||||
"request": { |
||||
"id": 28, |
||||
"jsonrpc": "2.0", |
||||
"method": "eth_getBalance", |
||||
"params": [ |
||||
"0x8888f1f195afa192cfee860698584c030f4c9db1", |
||||
{ |
||||
"blockHash": "0xb73cee02246c6f32ac0f459934e89102c2ce904d966a4fc2ab6309c3e104b9cb", |
||||
"requireCanonical": true |
||||
} |
||||
] |
||||
}, |
||||
"response": { |
||||
"jsonrpc": "2.0", |
||||
"id": 28, |
||||
"result": "0x6cb0f6ed0e034ae5d" |
||||
}, |
||||
"statusCode": 200 |
||||
} |
@ -0,0 +1,20 @@ |
||||
{ |
||||
"request": { |
||||
"id": 28, |
||||
"jsonrpc": "2.0", |
||||
"method": "eth_getBalance", |
||||
"params": [ |
||||
"0x8888f1f195afa192cfee860698584c030f4c9db1", |
||||
{ |
||||
"blockHash": "0xb73cee02246c6f32ac0f459934e89102c2ce904d966a4fc2ab6309c3e104b9cb", |
||||
"requireCanonical": false |
||||
} |
||||
] |
||||
}, |
||||
"response": { |
||||
"jsonrpc": "2.0", |
||||
"id": 28, |
||||
"result": "0x6cb0f6ed0e034ae5d" |
||||
}, |
||||
"statusCode": 200 |
||||
} |
@ -0,0 +1,17 @@ |
||||
{ |
||||
"request": { |
||||
"id": 28, |
||||
"jsonrpc": "2.0", |
||||
"method": "eth_getBalance", |
||||
"params": [ |
||||
"0x8888f1f195afa192cfee860698584c030f4c9db1", |
||||
"0x19" |
||||
] |
||||
}, |
||||
"response": { |
||||
"jsonrpc": "2.0", |
||||
"id": 28, |
||||
"result": "0x6cb0f6ed0e034ae5d" |
||||
}, |
||||
"statusCode": 200 |
||||
} |
@ -0,0 +1,19 @@ |
||||
{ |
||||
"request": { |
||||
"id": 28, |
||||
"jsonrpc": "2.0", |
||||
"method": "eth_getBalance", |
||||
"params": [ |
||||
"0x8888f1f195afa192cfee860698584c030f4c9db1", |
||||
{ |
||||
"blockNumber": "0x19" |
||||
} |
||||
] |
||||
}, |
||||
"response": { |
||||
"jsonrpc": "2.0", |
||||
"id": 28, |
||||
"result": "0x6cb0f6ed0e034ae5d" |
||||
}, |
||||
"statusCode": 200 |
||||
} |
@ -0,0 +1,20 @@ |
||||
{ |
||||
"request": { |
||||
"id": 28, |
||||
"jsonrpc": "2.0", |
||||
"method": "eth_getBalance", |
||||
"params": [ |
||||
"0x8888f1f195afa192cfee860698584c030f4c9db1", |
||||
"0xb73cee02246c6f32ac0f459934e89102c2ce904d966a4fc2ab6309c3e104b9cb1234" |
||||
] |
||||
}, |
||||
"response": { |
||||
"jsonrpc": "2.0", |
||||
"id": 28, |
||||
"error" : { |
||||
"code" : -32602, |
||||
"message" : "Invalid params" |
||||
} |
||||
}, |
||||
"statusCode": 400 |
||||
} |
@ -0,0 +1,17 @@ |
||||
{ |
||||
"request": { |
||||
"id": 0, |
||||
"jsonrpc": "2.0", |
||||
"method": "eth_getCode", |
||||
"params": [ |
||||
"0x6295ee1b4f6dd65047762f924ecd367c17eabf8f", |
||||
"0xb73cee02246c6f32ac0f459934e89102c2ce904d966a4fc2ab6309c3e104b9cb" |
||||
] |
||||
}, |
||||
"response": { |
||||
"jsonrpc": "2.0", |
||||
"id": 0, |
||||
"result": "0x6000357c010000000000000000000000000000000000000000000000000000000090048063102accc11461012c57806312a7b9141461013a5780631774e6461461014c5780631e26fd331461015d5780631f9030371461016e578063343a875d1461018057806338cc4831146101955780634e7ad367146101bd57806357cb2fc4146101cb57806365538c73146101e057806368895979146101ee57806376bc21d9146102005780639a19a9531461020e5780639dc2c8f51461021f578063a53b1c1e1461022d578063a67808571461023e578063b61c05031461024c578063c2b12a731461025a578063d2282dc51461026b578063e30081a01461027c578063e8beef5b1461028d578063f38b06001461029b578063f5b53e17146102a9578063fd408767146102bb57005b6101346104d6565b60006000f35b61014261039b565b8060005260206000f35b610157600435610326565b60006000f35b6101686004356102c9565b60006000f35b610176610442565b8060005260206000f35b6101886103d3565b8060ff1660005260206000f35b61019d610413565b8073ffffffffffffffffffffffffffffffffffffffff1660005260206000f35b6101c56104c5565b60006000f35b6101d36103b7565b8060000b60005260206000f35b6101e8610454565b60006000f35b6101f6610401565b8060005260206000f35b61020861051f565b60006000f35b6102196004356102e5565b60006000f35b610227610693565b60006000f35b610238600435610342565b60006000f35b610246610484565b60006000f35b610254610493565b60006000f35b61026560043561038d565b60006000f35b610276600435610350565b60006000f35b61028760043561035e565b60006000f35b6102956105b4565b60006000f35b6102a3610547565b60006000f35b6102b16103ef565b8060005260206000f35b6102c3610600565b60006000f35b80600060006101000a81548160ff021916908302179055505b50565b80600060016101000a81548160ff02191690837f01000000000000000000000000000000000000000000000000000000000000009081020402179055505b50565b80600060026101000a81548160ff021916908302179055505b50565b806001600050819055505b50565b806002600050819055505b50565b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908302179055505b50565b806004600050819055505b50565b6000600060009054906101000a900460ff1690506103b4565b90565b6000600060019054906101000a900460000b90506103d0565b90565b6000600060029054906101000a900460ff1690506103ec565b90565b600060016000505490506103fe565b90565b60006002600050549050610410565b90565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905061043f565b90565b60006004600050549050610451565b90565b7f65c9ac8011e286e89d02a269890f41d67ca2cc597b2c76c7c69321ff492be5806000602a81526020016000a15b565b6000602a81526020016000a05b565b60017f81933b308056e7e85668661dcd102b1f22795b4431f9cf4625794f381c271c6b6000602a81526020016000a25b565b60016000602a81526020016000a15b565b3373ffffffffffffffffffffffffffffffffffffffff1660017f0e216b62efbb97e751a2ce09f607048751720397ecfb9eef1e48a6644948985b6000602a81526020016000a35b565b3373ffffffffffffffffffffffffffffffffffffffff1660016000602a81526020016000a25b565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6001023373ffffffffffffffffffffffffffffffffffffffff1660017f317b31292193c2a4f561cc40a95ea0d97a2733f14af6d6d59522473e1f3ae65f6000602a81526020016000a45b565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6001023373ffffffffffffffffffffffffffffffffffffffff1660016000602a81526020016000a35b565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6001023373ffffffffffffffffffffffffffffffffffffffff1660017fd5f0a30e4be0c6be577a71eceb7464245a796a7e6a55c0d971837b250de05f4e60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe98152602001602a81526020016000a45b565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6001023373ffffffffffffffffffffffffffffffffffffffff16600160007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe98152602001602a81526020016000a35b56" |
||||
}, |
||||
"statusCode": 200 |
||||
} |
@ -0,0 +1,19 @@ |
||||
{ |
||||
"request": { |
||||
"id": 0, |
||||
"jsonrpc": "2.0", |
||||
"method": "eth_getCode", |
||||
"params": [ |
||||
"0x6295ee1b4f6dd65047762f924ecd367c17eabf8f", |
||||
{ |
||||
"blockHash": "0xb73cee02246c6f32ac0f459934e89102c2ce904d966a4fc2ab6309c3e104b9cb" |
||||
} |
||||
] |
||||
}, |
||||
"response": { |
||||
"jsonrpc": "2.0", |
||||
"id": 0, |
||||
"result": "0x6000357c010000000000000000000000000000000000000000000000000000000090048063102accc11461012c57806312a7b9141461013a5780631774e6461461014c5780631e26fd331461015d5780631f9030371461016e578063343a875d1461018057806338cc4831146101955780634e7ad367146101bd57806357cb2fc4146101cb57806365538c73146101e057806368895979146101ee57806376bc21d9146102005780639a19a9531461020e5780639dc2c8f51461021f578063a53b1c1e1461022d578063a67808571461023e578063b61c05031461024c578063c2b12a731461025a578063d2282dc51461026b578063e30081a01461027c578063e8beef5b1461028d578063f38b06001461029b578063f5b53e17146102a9578063fd408767146102bb57005b6101346104d6565b60006000f35b61014261039b565b8060005260206000f35b610157600435610326565b60006000f35b6101686004356102c9565b60006000f35b610176610442565b8060005260206000f35b6101886103d3565b8060ff1660005260206000f35b61019d610413565b8073ffffffffffffffffffffffffffffffffffffffff1660005260206000f35b6101c56104c5565b60006000f35b6101d36103b7565b8060000b60005260206000f35b6101e8610454565b60006000f35b6101f6610401565b8060005260206000f35b61020861051f565b60006000f35b6102196004356102e5565b60006000f35b610227610693565b60006000f35b610238600435610342565b60006000f35b610246610484565b60006000f35b610254610493565b60006000f35b61026560043561038d565b60006000f35b610276600435610350565b60006000f35b61028760043561035e565b60006000f35b6102956105b4565b60006000f35b6102a3610547565b60006000f35b6102b16103ef565b8060005260206000f35b6102c3610600565b60006000f35b80600060006101000a81548160ff021916908302179055505b50565b80600060016101000a81548160ff02191690837f01000000000000000000000000000000000000000000000000000000000000009081020402179055505b50565b80600060026101000a81548160ff021916908302179055505b50565b806001600050819055505b50565b806002600050819055505b50565b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908302179055505b50565b806004600050819055505b50565b6000600060009054906101000a900460ff1690506103b4565b90565b6000600060019054906101000a900460000b90506103d0565b90565b6000600060029054906101000a900460ff1690506103ec565b90565b600060016000505490506103fe565b90565b60006002600050549050610410565b90565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905061043f565b90565b60006004600050549050610451565b90565b7f65c9ac8011e286e89d02a269890f41d67ca2cc597b2c76c7c69321ff492be5806000602a81526020016000a15b565b6000602a81526020016000a05b565b60017f81933b308056e7e85668661dcd102b1f22795b4431f9cf4625794f381c271c6b6000602a81526020016000a25b565b60016000602a81526020016000a15b565b3373ffffffffffffffffffffffffffffffffffffffff1660017f0e216b62efbb97e751a2ce09f607048751720397ecfb9eef1e48a6644948985b6000602a81526020016000a35b565b3373ffffffffffffffffffffffffffffffffffffffff1660016000602a81526020016000a25b565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6001023373ffffffffffffffffffffffffffffffffffffffff1660017f317b31292193c2a4f561cc40a95ea0d97a2733f14af6d6d59522473e1f3ae65f6000602a81526020016000a45b565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6001023373ffffffffffffffffffffffffffffffffffffffff1660016000602a81526020016000a35b565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6001023373ffffffffffffffffffffffffffffffffffffffff1660017fd5f0a30e4be0c6be577a71eceb7464245a796a7e6a55c0d971837b250de05f4e60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe98152602001602a81526020016000a45b565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6001023373ffffffffffffffffffffffffffffffffffffffff16600160007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe98152602001602a81526020016000a35b56" |
||||
}, |
||||
"statusCode": 200 |
||||
} |
@ -0,0 +1,20 @@ |
||||
{ |
||||
"request": { |
||||
"id": 0, |
||||
"jsonrpc": "2.0", |
||||
"method": "eth_getCode", |
||||
"params": [ |
||||
"0x6295ee1b4f6dd65047762f924ecd367c17eabf8f", |
||||
{ |
||||
"blockHash": "0xb73cee02246c6f32ac0f459934e89102c2ce904d966a4fc2ab6309c3e104b9cb", |
||||
"requireCanonical": true |
||||
} |
||||
] |
||||
}, |
||||
"response": { |
||||
"jsonrpc": "2.0", |
||||
"id": 0, |
||||
"result": "0x6000357c010000000000000000000000000000000000000000000000000000000090048063102accc11461012c57806312a7b9141461013a5780631774e6461461014c5780631e26fd331461015d5780631f9030371461016e578063343a875d1461018057806338cc4831146101955780634e7ad367146101bd57806357cb2fc4146101cb57806365538c73146101e057806368895979146101ee57806376bc21d9146102005780639a19a9531461020e5780639dc2c8f51461021f578063a53b1c1e1461022d578063a67808571461023e578063b61c05031461024c578063c2b12a731461025a578063d2282dc51461026b578063e30081a01461027c578063e8beef5b1461028d578063f38b06001461029b578063f5b53e17146102a9578063fd408767146102bb57005b6101346104d6565b60006000f35b61014261039b565b8060005260206000f35b610157600435610326565b60006000f35b6101686004356102c9565b60006000f35b610176610442565b8060005260206000f35b6101886103d3565b8060ff1660005260206000f35b61019d610413565b8073ffffffffffffffffffffffffffffffffffffffff1660005260206000f35b6101c56104c5565b60006000f35b6101d36103b7565b8060000b60005260206000f35b6101e8610454565b60006000f35b6101f6610401565b8060005260206000f35b61020861051f565b60006000f35b6102196004356102e5565b60006000f35b610227610693565b60006000f35b610238600435610342565b60006000f35b610246610484565b60006000f35b610254610493565b60006000f35b61026560043561038d565b60006000f35b610276600435610350565b60006000f35b61028760043561035e565b60006000f35b6102956105b4565b60006000f35b6102a3610547565b60006000f35b6102b16103ef565b8060005260206000f35b6102c3610600565b60006000f35b80600060006101000a81548160ff021916908302179055505b50565b80600060016101000a81548160ff02191690837f01000000000000000000000000000000000000000000000000000000000000009081020402179055505b50565b80600060026101000a81548160ff021916908302179055505b50565b806001600050819055505b50565b806002600050819055505b50565b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908302179055505b50565b806004600050819055505b50565b6000600060009054906101000a900460ff1690506103b4565b90565b6000600060019054906101000a900460000b90506103d0565b90565b6000600060029054906101000a900460ff1690506103ec565b90565b600060016000505490506103fe565b90565b60006002600050549050610410565b90565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905061043f565b90565b60006004600050549050610451565b90565b7f65c9ac8011e286e89d02a269890f41d67ca2cc597b2c76c7c69321ff492be5806000602a81526020016000a15b565b6000602a81526020016000a05b565b60017f81933b308056e7e85668661dcd102b1f22795b4431f9cf4625794f381c271c6b6000602a81526020016000a25b565b60016000602a81526020016000a15b565b3373ffffffffffffffffffffffffffffffffffffffff1660017f0e216b62efbb97e751a2ce09f607048751720397ecfb9eef1e48a6644948985b6000602a81526020016000a35b565b3373ffffffffffffffffffffffffffffffffffffffff1660016000602a81526020016000a25b565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6001023373ffffffffffffffffffffffffffffffffffffffff1660017f317b31292193c2a4f561cc40a95ea0d97a2733f14af6d6d59522473e1f3ae65f6000602a81526020016000a45b565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6001023373ffffffffffffffffffffffffffffffffffffffff1660016000602a81526020016000a35b565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6001023373ffffffffffffffffffffffffffffffffffffffff1660017fd5f0a30e4be0c6be577a71eceb7464245a796a7e6a55c0d971837b250de05f4e60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe98152602001602a81526020016000a45b565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6001023373ffffffffffffffffffffffffffffffffffffffff16600160007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe98152602001602a81526020016000a35b56" |
||||
}, |
||||
"statusCode": 200 |
||||
} |
@ -0,0 +1,20 @@ |
||||
{ |
||||
"request": { |
||||
"id": 0, |
||||
"jsonrpc": "2.0", |
||||
"method": "eth_getCode", |
||||
"params": [ |
||||
"0x6295ee1b4f6dd65047762f924ecd367c17eabf8f", |
||||
{ |
||||
"blockHash": "0xb73cee02246c6f32ac0f459934e89102c2ce904d966a4fc2ab6309c3e104b9cb", |
||||
"requireCanonical": false |
||||
} |
||||
] |
||||
}, |
||||
"response": { |
||||
"jsonrpc": "2.0", |
||||
"id": 0, |
||||
"result": "0x6000357c010000000000000000000000000000000000000000000000000000000090048063102accc11461012c57806312a7b9141461013a5780631774e6461461014c5780631e26fd331461015d5780631f9030371461016e578063343a875d1461018057806338cc4831146101955780634e7ad367146101bd57806357cb2fc4146101cb57806365538c73146101e057806368895979146101ee57806376bc21d9146102005780639a19a9531461020e5780639dc2c8f51461021f578063a53b1c1e1461022d578063a67808571461023e578063b61c05031461024c578063c2b12a731461025a578063d2282dc51461026b578063e30081a01461027c578063e8beef5b1461028d578063f38b06001461029b578063f5b53e17146102a9578063fd408767146102bb57005b6101346104d6565b60006000f35b61014261039b565b8060005260206000f35b610157600435610326565b60006000f35b6101686004356102c9565b60006000f35b610176610442565b8060005260206000f35b6101886103d3565b8060ff1660005260206000f35b61019d610413565b8073ffffffffffffffffffffffffffffffffffffffff1660005260206000f35b6101c56104c5565b60006000f35b6101d36103b7565b8060000b60005260206000f35b6101e8610454565b60006000f35b6101f6610401565b8060005260206000f35b61020861051f565b60006000f35b6102196004356102e5565b60006000f35b610227610693565b60006000f35b610238600435610342565b60006000f35b610246610484565b60006000f35b610254610493565b60006000f35b61026560043561038d565b60006000f35b610276600435610350565b60006000f35b61028760043561035e565b60006000f35b6102956105b4565b60006000f35b6102a3610547565b60006000f35b6102b16103ef565b8060005260206000f35b6102c3610600565b60006000f35b80600060006101000a81548160ff021916908302179055505b50565b80600060016101000a81548160ff02191690837f01000000000000000000000000000000000000000000000000000000000000009081020402179055505b50565b80600060026101000a81548160ff021916908302179055505b50565b806001600050819055505b50565b806002600050819055505b50565b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908302179055505b50565b806004600050819055505b50565b6000600060009054906101000a900460ff1690506103b4565b90565b6000600060019054906101000a900460000b90506103d0565b90565b6000600060029054906101000a900460ff1690506103ec565b90565b600060016000505490506103fe565b90565b60006002600050549050610410565b90565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905061043f565b90565b60006004600050549050610451565b90565b7f65c9ac8011e286e89d02a269890f41d67ca2cc597b2c76c7c69321ff492be5806000602a81526020016000a15b565b6000602a81526020016000a05b565b60017f81933b308056e7e85668661dcd102b1f22795b4431f9cf4625794f381c271c6b6000602a81526020016000a25b565b60016000602a81526020016000a15b565b3373ffffffffffffffffffffffffffffffffffffffff1660017f0e216b62efbb97e751a2ce09f607048751720397ecfb9eef1e48a6644948985b6000602a81526020016000a35b565b3373ffffffffffffffffffffffffffffffffffffffff1660016000602a81526020016000a25b565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6001023373ffffffffffffffffffffffffffffffffffffffff1660017f317b31292193c2a4f561cc40a95ea0d97a2733f14af6d6d59522473e1f3ae65f6000602a81526020016000a45b565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6001023373ffffffffffffffffffffffffffffffffffffffff1660016000602a81526020016000a35b565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6001023373ffffffffffffffffffffffffffffffffffffffff1660017fd5f0a30e4be0c6be577a71eceb7464245a796a7e6a55c0d971837b250de05f4e60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe98152602001602a81526020016000a45b565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6001023373ffffffffffffffffffffffffffffffffffffffff16600160007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe98152602001602a81526020016000a35b56" |
||||
}, |
||||
"statusCode": 200 |
||||
} |
@ -0,0 +1,17 @@ |
||||
{ |
||||
"request": { |
||||
"id": 0, |
||||
"jsonrpc": "2.0", |
||||
"method": "eth_getCode", |
||||
"params": [ |
||||
"0x6295ee1b4f6dd65047762f924ecd367c17eabf8f", |
||||
"0x19" |
||||
] |
||||
}, |
||||
"response": { |
||||
"jsonrpc": "2.0", |
||||
"id": 0, |
||||
"result": "0x6000357c010000000000000000000000000000000000000000000000000000000090048063102accc11461012c57806312a7b9141461013a5780631774e6461461014c5780631e26fd331461015d5780631f9030371461016e578063343a875d1461018057806338cc4831146101955780634e7ad367146101bd57806357cb2fc4146101cb57806365538c73146101e057806368895979146101ee57806376bc21d9146102005780639a19a9531461020e5780639dc2c8f51461021f578063a53b1c1e1461022d578063a67808571461023e578063b61c05031461024c578063c2b12a731461025a578063d2282dc51461026b578063e30081a01461027c578063e8beef5b1461028d578063f38b06001461029b578063f5b53e17146102a9578063fd408767146102bb57005b6101346104d6565b60006000f35b61014261039b565b8060005260206000f35b610157600435610326565b60006000f35b6101686004356102c9565b60006000f35b610176610442565b8060005260206000f35b6101886103d3565b8060ff1660005260206000f35b61019d610413565b8073ffffffffffffffffffffffffffffffffffffffff1660005260206000f35b6101c56104c5565b60006000f35b6101d36103b7565b8060000b60005260206000f35b6101e8610454565b60006000f35b6101f6610401565b8060005260206000f35b61020861051f565b60006000f35b6102196004356102e5565b60006000f35b610227610693565b60006000f35b610238600435610342565b60006000f35b610246610484565b60006000f35b610254610493565b60006000f35b61026560043561038d565b60006000f35b610276600435610350565b60006000f35b61028760043561035e565b60006000f35b6102956105b4565b60006000f35b6102a3610547565b60006000f35b6102b16103ef565b8060005260206000f35b6102c3610600565b60006000f35b80600060006101000a81548160ff021916908302179055505b50565b80600060016101000a81548160ff02191690837f01000000000000000000000000000000000000000000000000000000000000009081020402179055505b50565b80600060026101000a81548160ff021916908302179055505b50565b806001600050819055505b50565b806002600050819055505b50565b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908302179055505b50565b806004600050819055505b50565b6000600060009054906101000a900460ff1690506103b4565b90565b6000600060019054906101000a900460000b90506103d0565b90565b6000600060029054906101000a900460ff1690506103ec565b90565b600060016000505490506103fe565b90565b60006002600050549050610410565b90565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905061043f565b90565b60006004600050549050610451565b90565b7f65c9ac8011e286e89d02a269890f41d67ca2cc597b2c76c7c69321ff492be5806000602a81526020016000a15b565b6000602a81526020016000a05b565b60017f81933b308056e7e85668661dcd102b1f22795b4431f9cf4625794f381c271c6b6000602a81526020016000a25b565b60016000602a81526020016000a15b565b3373ffffffffffffffffffffffffffffffffffffffff1660017f0e216b62efbb97e751a2ce09f607048751720397ecfb9eef1e48a6644948985b6000602a81526020016000a35b565b3373ffffffffffffffffffffffffffffffffffffffff1660016000602a81526020016000a25b565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6001023373ffffffffffffffffffffffffffffffffffffffff1660017f317b31292193c2a4f561cc40a95ea0d97a2733f14af6d6d59522473e1f3ae65f6000602a81526020016000a45b565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6001023373ffffffffffffffffffffffffffffffffffffffff1660016000602a81526020016000a35b565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6001023373ffffffffffffffffffffffffffffffffffffffff1660017fd5f0a30e4be0c6be577a71eceb7464245a796a7e6a55c0d971837b250de05f4e60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe98152602001602a81526020016000a45b565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6001023373ffffffffffffffffffffffffffffffffffffffff16600160007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe98152602001602a81526020016000a35b56" |
||||
}, |
||||
"statusCode": 200 |
||||
} |
@ -0,0 +1,19 @@ |
||||
{ |
||||
"request": { |
||||
"id": 0, |
||||
"jsonrpc": "2.0", |
||||
"method": "eth_getCode", |
||||
"params": [ |
||||
"0x6295ee1b4f6dd65047762f924ecd367c17eabf8f", |
||||
{ |
||||
"blockNumber": "0x19" |
||||
} |
||||
] |
||||
}, |
||||
"response": { |
||||
"jsonrpc": "2.0", |
||||
"id": 0, |
||||
"result": "0x6000357c010000000000000000000000000000000000000000000000000000000090048063102accc11461012c57806312a7b9141461013a5780631774e6461461014c5780631e26fd331461015d5780631f9030371461016e578063343a875d1461018057806338cc4831146101955780634e7ad367146101bd57806357cb2fc4146101cb57806365538c73146101e057806368895979146101ee57806376bc21d9146102005780639a19a9531461020e5780639dc2c8f51461021f578063a53b1c1e1461022d578063a67808571461023e578063b61c05031461024c578063c2b12a731461025a578063d2282dc51461026b578063e30081a01461027c578063e8beef5b1461028d578063f38b06001461029b578063f5b53e17146102a9578063fd408767146102bb57005b6101346104d6565b60006000f35b61014261039b565b8060005260206000f35b610157600435610326565b60006000f35b6101686004356102c9565b60006000f35b610176610442565b8060005260206000f35b6101886103d3565b8060ff1660005260206000f35b61019d610413565b8073ffffffffffffffffffffffffffffffffffffffff1660005260206000f35b6101c56104c5565b60006000f35b6101d36103b7565b8060000b60005260206000f35b6101e8610454565b60006000f35b6101f6610401565b8060005260206000f35b61020861051f565b60006000f35b6102196004356102e5565b60006000f35b610227610693565b60006000f35b610238600435610342565b60006000f35b610246610484565b60006000f35b610254610493565b60006000f35b61026560043561038d565b60006000f35b610276600435610350565b60006000f35b61028760043561035e565b60006000f35b6102956105b4565b60006000f35b6102a3610547565b60006000f35b6102b16103ef565b8060005260206000f35b6102c3610600565b60006000f35b80600060006101000a81548160ff021916908302179055505b50565b80600060016101000a81548160ff02191690837f01000000000000000000000000000000000000000000000000000000000000009081020402179055505b50565b80600060026101000a81548160ff021916908302179055505b50565b806001600050819055505b50565b806002600050819055505b50565b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908302179055505b50565b806004600050819055505b50565b6000600060009054906101000a900460ff1690506103b4565b90565b6000600060019054906101000a900460000b90506103d0565b90565b6000600060029054906101000a900460ff1690506103ec565b90565b600060016000505490506103fe565b90565b60006002600050549050610410565b90565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905061043f565b90565b60006004600050549050610451565b90565b7f65c9ac8011e286e89d02a269890f41d67ca2cc597b2c76c7c69321ff492be5806000602a81526020016000a15b565b6000602a81526020016000a05b565b60017f81933b308056e7e85668661dcd102b1f22795b4431f9cf4625794f381c271c6b6000602a81526020016000a25b565b60016000602a81526020016000a15b565b3373ffffffffffffffffffffffffffffffffffffffff1660017f0e216b62efbb97e751a2ce09f607048751720397ecfb9eef1e48a6644948985b6000602a81526020016000a35b565b3373ffffffffffffffffffffffffffffffffffffffff1660016000602a81526020016000a25b565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6001023373ffffffffffffffffffffffffffffffffffffffff1660017f317b31292193c2a4f561cc40a95ea0d97a2733f14af6d6d59522473e1f3ae65f6000602a81526020016000a45b565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6001023373ffffffffffffffffffffffffffffffffffffffff1660016000602a81526020016000a35b565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6001023373ffffffffffffffffffffffffffffffffffffffff1660017fd5f0a30e4be0c6be577a71eceb7464245a796a7e6a55c0d971837b250de05f4e60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe98152602001602a81526020016000a45b565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6001023373ffffffffffffffffffffffffffffffffffffffff16600160007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe98152602001602a81526020016000a35b56" |
||||
}, |
||||
"statusCode": 200 |
||||
} |
@ -0,0 +1,20 @@ |
||||
{ |
||||
"request": { |
||||
"id": 0, |
||||
"jsonrpc": "2.0", |
||||
"method": "eth_getCode", |
||||
"params": [ |
||||
"0x6295ee1b4f6dd65047762f924ecd367c17eabf8f", |
||||
"0xb73cee02246c6f32ac0f459934e89102c2ce904d966a4fc2ab6309c3e104b9cb1234" |
||||
] |
||||
}, |
||||
"response": { |
||||
"jsonrpc": "2.0", |
||||
"id": 0, |
||||
"error" : { |
||||
"code" : -32602, |
||||
"message" : "Invalid params" |
||||
} |
||||
}, |
||||
"statusCode": 400 |
||||
} |
@ -0,0 +1,30 @@ |
||||
{ |
||||
"request": { |
||||
"id": 28, |
||||
"jsonrpc": "2.0", |
||||
"method": "eth_getProof", |
||||
"params": [ |
||||
"0x8888f1f195afa192cfee860698584c030f4c9db1", |
||||
["0x0000000000000000000000000000000000000000000000000000000000000347"], |
||||
"0xb73cee02246c6f32ac0f459934e89102c2ce904d966a4fc2ab6309c3e104b9cb" |
||||
] |
||||
}, |
||||
"response": { |
||||
"jsonrpc" : "2.0", |
||||
"id" : 28, |
||||
"result" : { |
||||
"accountProof" : [ "0xf891a09e0124af825ca88d0c30ae4a69f2c339196c23952b0226f03c7e7460699c0541a097699db78357681938d946074cafa3355e921261ba0bd5081bff15c4f17d0c7f8080808080808080a044b83742345b4b2b4debce6d454e97bfb713ae1416dee357f5fd93f858a73a75808080a0d2c1b7d4a3c019943eff4e75716ade2750b1955abcf5d2355de6e3693d6c30d38080", "0xf872a0332fbb2bcac38ed596cbb34ae265df4d60b832ce8077a3abc6f57b4611005cfdb84ff84d808906cb0f6ed0e034ae5da056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a0c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470" ], |
||||
"address" : "0x8888f1f195afa192cfee860698584c030f4c9db1", |
||||
"balance" : "0x6cb0f6ed0e034ae5d", |
||||
"codeHash" : "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", |
||||
"nonce" : "0x0", |
||||
"storageHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", |
||||
"storageProof" : [ { |
||||
"key" : "839", |
||||
"value" : "0x0", |
||||
"proof" : [ ] |
||||
} ] |
||||
} |
||||
}, |
||||
"statusCode": 200 |
||||
} |
@ -0,0 +1,32 @@ |
||||
{ |
||||
"request": { |
||||
"id": 28, |
||||
"jsonrpc": "2.0", |
||||
"method": "eth_getProof", |
||||
"params": [ |
||||
"0x8888f1f195afa192cfee860698584c030f4c9db1", |
||||
["0x0000000000000000000000000000000000000000000000000000000000000347"], |
||||
{ |
||||
"blockHash":"0xb73cee02246c6f32ac0f459934e89102c2ce904d966a4fc2ab6309c3e104b9cb" |
||||
} |
||||
] |
||||
}, |
||||
"response": { |
||||
"jsonrpc" : "2.0", |
||||
"id" : 28, |
||||
"result" : { |
||||
"accountProof" : [ "0xf891a09e0124af825ca88d0c30ae4a69f2c339196c23952b0226f03c7e7460699c0541a097699db78357681938d946074cafa3355e921261ba0bd5081bff15c4f17d0c7f8080808080808080a044b83742345b4b2b4debce6d454e97bfb713ae1416dee357f5fd93f858a73a75808080a0d2c1b7d4a3c019943eff4e75716ade2750b1955abcf5d2355de6e3693d6c30d38080", "0xf872a0332fbb2bcac38ed596cbb34ae265df4d60b832ce8077a3abc6f57b4611005cfdb84ff84d808906cb0f6ed0e034ae5da056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a0c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470" ], |
||||
"address" : "0x8888f1f195afa192cfee860698584c030f4c9db1", |
||||
"balance" : "0x6cb0f6ed0e034ae5d", |
||||
"codeHash" : "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", |
||||
"nonce" : "0x0", |
||||
"storageHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", |
||||
"storageProof" : [ { |
||||
"key" : "839", |
||||
"value" : "0x0", |
||||
"proof" : [ ] |
||||
} ] |
||||
} |
||||
}, |
||||
"statusCode": 200 |
||||
} |
@ -0,0 +1,33 @@ |
||||
{ |
||||
"request": { |
||||
"id": 28, |
||||
"jsonrpc": "2.0", |
||||
"method": "eth_getProof", |
||||
"params": [ |
||||
"0x8888f1f195afa192cfee860698584c030f4c9db1", |
||||
["0x0000000000000000000000000000000000000000000000000000000000000347"], |
||||
{ |
||||
"blockHash":"0xb73cee02246c6f32ac0f459934e89102c2ce904d966a4fc2ab6309c3e104b9cb", |
||||
"requireCanonical": true |
||||
} |
||||
] |
||||
}, |
||||
"response": { |
||||
"jsonrpc" : "2.0", |
||||
"id" : 28, |
||||
"result" : { |
||||
"accountProof" : [ "0xf891a09e0124af825ca88d0c30ae4a69f2c339196c23952b0226f03c7e7460699c0541a097699db78357681938d946074cafa3355e921261ba0bd5081bff15c4f17d0c7f8080808080808080a044b83742345b4b2b4debce6d454e97bfb713ae1416dee357f5fd93f858a73a75808080a0d2c1b7d4a3c019943eff4e75716ade2750b1955abcf5d2355de6e3693d6c30d38080", "0xf872a0332fbb2bcac38ed596cbb34ae265df4d60b832ce8077a3abc6f57b4611005cfdb84ff84d808906cb0f6ed0e034ae5da056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a0c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470" ], |
||||
"address" : "0x8888f1f195afa192cfee860698584c030f4c9db1", |
||||
"balance" : "0x6cb0f6ed0e034ae5d", |
||||
"codeHash" : "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", |
||||
"nonce" : "0x0", |
||||
"storageHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", |
||||
"storageProof" : [ { |
||||
"key" : "839", |
||||
"value" : "0x0", |
||||
"proof" : [ ] |
||||
} ] |
||||
} |
||||
}, |
||||
"statusCode": 200 |
||||
} |
@ -0,0 +1,33 @@ |
||||
{ |
||||
"request": { |
||||
"id": 28, |
||||
"jsonrpc": "2.0", |
||||
"method": "eth_getProof", |
||||
"params": [ |
||||
"0x8888f1f195afa192cfee860698584c030f4c9db1", |
||||
["0x0000000000000000000000000000000000000000000000000000000000000347"], |
||||
{ |
||||
"blockHash":"0xb73cee02246c6f32ac0f459934e89102c2ce904d966a4fc2ab6309c3e104b9cb", |
||||
"requireCanonical": false |
||||
} |
||||
] |
||||
}, |
||||
"response": { |
||||
"jsonrpc" : "2.0", |
||||
"id" : 28, |
||||
"result" : { |
||||
"accountProof" : [ "0xf891a09e0124af825ca88d0c30ae4a69f2c339196c23952b0226f03c7e7460699c0541a097699db78357681938d946074cafa3355e921261ba0bd5081bff15c4f17d0c7f8080808080808080a044b83742345b4b2b4debce6d454e97bfb713ae1416dee357f5fd93f858a73a75808080a0d2c1b7d4a3c019943eff4e75716ade2750b1955abcf5d2355de6e3693d6c30d38080", "0xf872a0332fbb2bcac38ed596cbb34ae265df4d60b832ce8077a3abc6f57b4611005cfdb84ff84d808906cb0f6ed0e034ae5da056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a0c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470" ], |
||||
"address" : "0x8888f1f195afa192cfee860698584c030f4c9db1", |
||||
"balance" : "0x6cb0f6ed0e034ae5d", |
||||
"codeHash" : "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", |
||||
"nonce" : "0x0", |
||||
"storageHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", |
||||
"storageProof" : [ { |
||||
"key" : "839", |
||||
"value" : "0x0", |
||||
"proof" : [ ] |
||||
} ] |
||||
} |
||||
}, |
||||
"statusCode": 200 |
||||
} |
@ -0,0 +1,30 @@ |
||||
{ |
||||
"request": { |
||||
"id": 28, |
||||
"jsonrpc": "2.0", |
||||
"method": "eth_getProof", |
||||
"params": [ |
||||
"0x8888f1f195afa192cfee860698584c030f4c9db1", |
||||
["0x0000000000000000000000000000000000000000000000000000000000000347"], |
||||
"0x19" |
||||
] |
||||
}, |
||||
"response": { |
||||
"jsonrpc" : "2.0", |
||||
"id" : 28, |
||||
"result" : { |
||||
"accountProof" : [ "0xf891a09e0124af825ca88d0c30ae4a69f2c339196c23952b0226f03c7e7460699c0541a097699db78357681938d946074cafa3355e921261ba0bd5081bff15c4f17d0c7f8080808080808080a044b83742345b4b2b4debce6d454e97bfb713ae1416dee357f5fd93f858a73a75808080a0d2c1b7d4a3c019943eff4e75716ade2750b1955abcf5d2355de6e3693d6c30d38080", "0xf872a0332fbb2bcac38ed596cbb34ae265df4d60b832ce8077a3abc6f57b4611005cfdb84ff84d808906cb0f6ed0e034ae5da056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a0c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470" ], |
||||
"address" : "0x8888f1f195afa192cfee860698584c030f4c9db1", |
||||
"balance" : "0x6cb0f6ed0e034ae5d", |
||||
"codeHash" : "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", |
||||
"nonce" : "0x0", |
||||
"storageHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", |
||||
"storageProof" : [ { |
||||
"key" : "839", |
||||
"value" : "0x0", |
||||
"proof" : [ ] |
||||
} ] |
||||
} |
||||
}, |
||||
"statusCode": 200 |
||||
} |
@ -0,0 +1,32 @@ |
||||
{ |
||||
"request": { |
||||
"id": 28, |
||||
"jsonrpc": "2.0", |
||||
"method": "eth_getProof", |
||||
"params": [ |
||||
"0x8888f1f195afa192cfee860698584c030f4c9db1", |
||||
["0x0000000000000000000000000000000000000000000000000000000000000347"], |
||||
{ |
||||
"blockNumber":"0x19" |
||||
} |
||||
] |
||||
}, |
||||
"response": { |
||||
"jsonrpc" : "2.0", |
||||
"id" : 28, |
||||
"result" : { |
||||
"accountProof" : [ "0xf891a09e0124af825ca88d0c30ae4a69f2c339196c23952b0226f03c7e7460699c0541a097699db78357681938d946074cafa3355e921261ba0bd5081bff15c4f17d0c7f8080808080808080a044b83742345b4b2b4debce6d454e97bfb713ae1416dee357f5fd93f858a73a75808080a0d2c1b7d4a3c019943eff4e75716ade2750b1955abcf5d2355de6e3693d6c30d38080", "0xf872a0332fbb2bcac38ed596cbb34ae265df4d60b832ce8077a3abc6f57b4611005cfdb84ff84d808906cb0f6ed0e034ae5da056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a0c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470" ], |
||||
"address" : "0x8888f1f195afa192cfee860698584c030f4c9db1", |
||||
"balance" : "0x6cb0f6ed0e034ae5d", |
||||
"codeHash" : "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", |
||||
"nonce" : "0x0", |
||||
"storageHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", |
||||
"storageProof" : [ { |
||||
"key" : "839", |
||||
"value" : "0x0", |
||||
"proof" : [ ] |
||||
} ] |
||||
} |
||||
}, |
||||
"statusCode": 200 |
||||
} |
@ -0,0 +1,21 @@ |
||||
{ |
||||
"request": { |
||||
"id": 28, |
||||
"jsonrpc": "2.0", |
||||
"method": "eth_getProof", |
||||
"params": [ |
||||
"0x8888f1f195afa192cfee860698584c030f4c9db1", |
||||
["0x0000000000000000000000000000000000000000000000000000000000000347"], |
||||
"0x21" |
||||
] |
||||
}, |
||||
"response": { |
||||
"jsonrpc": "2.0", |
||||
"id": 28, |
||||
"error": { |
||||
"code": -32602, |
||||
"message": "Invalid params" |
||||
} |
||||
}, |
||||
"statusCode": 400 |
||||
} |
@ -0,0 +1,21 @@ |
||||
{ |
||||
"request": { |
||||
"id": 28, |
||||
"jsonrpc": "2.0", |
||||
"method": "eth_getProof", |
||||
"params": [ |
||||
"0x8888f1f195afa192cfee860698584c030f4c9db1", |
||||
["0x0000000000000000000000000000000000000000000000000000000000000347"], |
||||
"-0x10" |
||||
] |
||||
}, |
||||
"response": { |
||||
"jsonrpc": "2.0", |
||||
"id": 28, |
||||
"error": { |
||||
"code": -32602, |
||||
"message": "Invalid params" |
||||
} |
||||
}, |
||||
"statusCode": 400 |
||||
} |
@ -0,0 +1,21 @@ |
||||
{ |
||||
"request": { |
||||
"id": 28, |
||||
"jsonrpc": "2.0", |
||||
"method": "eth_getProof", |
||||
"params": [ |
||||
"0x8888f1f195afa192cfee860698584c030f4c9db1", |
||||
["0x0000000000000000000000000000000000000000000000000000000000000347"], |
||||
"0xb73cee02246c6f32ac0f459934e89102c2ce904d966a4fc2ab6309c3e104b9cb1234" |
||||
] |
||||
}, |
||||
"response": { |
||||
"jsonrpc": "2.0", |
||||
"id": 28, |
||||
"error" : { |
||||
"code" : -32602, |
||||
"message" : "Invalid params" |
||||
} |
||||
}, |
||||
"statusCode": 400 |
||||
} |
@ -0,0 +1,17 @@ |
||||
{ |
||||
"request": { |
||||
"id": 28, |
||||
"jsonrpc": "2.0", |
||||
"method": "eth_getProof", |
||||
"params": [] |
||||
}, |
||||
"response": { |
||||
"jsonrpc": "2.0", |
||||
"id": 28, |
||||
"error" : { |
||||
"code" : -32602, |
||||
"message" : "Invalid params" |
||||
} |
||||
}, |
||||
"statusCode": 400 |
||||
} |
@ -0,0 +1,30 @@ |
||||
{ |
||||
"request": { |
||||
"id": 28, |
||||
"jsonrpc": "2.0", |
||||
"method": "eth_getProof", |
||||
"params": [ |
||||
"0x6295ee1b4f6dd65047762f924ecd367c17eabf8f", |
||||
["0x0000000000000000000000000000000000000000000000000000000000000347"], |
||||
"latest" |
||||
] |
||||
}, |
||||
"response": { |
||||
"jsonrpc" : "2.0", |
||||
"id" : 28, |
||||
"result" : { |
||||
"accountProof" : [ "0xf891a084e747fd6c2e7ca25d6f219938c2d9e3014c9e86e3fc3fb0014dcef9d10b6815a097699db78357681938d946074cafa3355e921261ba0bd5081bff15c4f17d0c7f8080808080808080a07ac9345327d90f69293f207fd3dbad91418e38cf6c663c97e8cda89c32448509808080a093e09806aca0b1db534f5e6940b2d43a717c47bf4dfc342a104d9945e82a221d8080", "0xf86ba03b8ec137a2f5a74ec3a73144b552caad890b18b5f725872fa212fff6d4d565bab848f84680820140a0dd3fa56425f8195f314c22547243081293b3f5537cd98ed8f84d4fda3f9a515ba035178fc0de1e7fc754dbd07360e6f80bed818b9e51c62682f312442c4838ac47" ], |
||||
"address" : "0x6295ee1b4f6dd65047762f924ecd367c17eabf8f", |
||||
"balance" : "0x140", |
||||
"codeHash" : "0x35178fc0de1e7fc754dbd07360e6f80bed818b9e51c62682f312442c4838ac47", |
||||
"nonce" : "0x0", |
||||
"storageHash" : "0xdd3fa56425f8195f314c22547243081293b3f5537cd98ed8f84d4fda3f9a515b", |
||||
"storageProof" : [ { |
||||
"key" : "839", |
||||
"value" : "0x0", |
||||
"proof" : [ "0xf8b18080a0c7f91ee5ea67d593275fcc773a02a5e5fb37b0625ca5c5cdc783483d43f2d7c280a06672614c102b0f02e747250bae452ed105110e25761c15a2a459afbd9eb8cf2e808080a0f671e05fab19f512b16fdcbc938f5fbbfbbc2fa67fecb575bb7721c221f71cf78080a0ba2fc36b0235d7ea299126bd4d404cb38456f32a6c236b422a3868f98c69eda1a0d77552655c7b63916586a73350b1933836f2378789613b548b90fa0a44125df180808080"] |
||||
} ] |
||||
} |
||||
}, |
||||
"statusCode": 200 |
||||
} |
@ -0,0 +1,30 @@ |
||||
{ |
||||
"request": { |
||||
"id": 28, |
||||
"jsonrpc": "2.0", |
||||
"method": "eth_getProof", |
||||
"params": [ |
||||
"0x6295ee1b4f6dd65047762f924ecd367c17eabf8f", |
||||
["0x0000000000000000000000000000000000000000000000000000000000000347"], |
||||
"pending" |
||||
] |
||||
}, |
||||
"response": { |
||||
"jsonrpc" : "2.0", |
||||
"id" : 28, |
||||
"result" : { |
||||
"accountProof" : [ "0xf891a084e747fd6c2e7ca25d6f219938c2d9e3014c9e86e3fc3fb0014dcef9d10b6815a097699db78357681938d946074cafa3355e921261ba0bd5081bff15c4f17d0c7f8080808080808080a07ac9345327d90f69293f207fd3dbad91418e38cf6c663c97e8cda89c32448509808080a093e09806aca0b1db534f5e6940b2d43a717c47bf4dfc342a104d9945e82a221d8080", "0xf86ba03b8ec137a2f5a74ec3a73144b552caad890b18b5f725872fa212fff6d4d565bab848f84680820140a0dd3fa56425f8195f314c22547243081293b3f5537cd98ed8f84d4fda3f9a515ba035178fc0de1e7fc754dbd07360e6f80bed818b9e51c62682f312442c4838ac47" ], |
||||
"address" : "0x6295ee1b4f6dd65047762f924ecd367c17eabf8f", |
||||
"balance" : "0x140", |
||||
"codeHash" : "0x35178fc0de1e7fc754dbd07360e6f80bed818b9e51c62682f312442c4838ac47", |
||||
"nonce" : "0x0", |
||||
"storageHash" : "0xdd3fa56425f8195f314c22547243081293b3f5537cd98ed8f84d4fda3f9a515b", |
||||
"storageProof" : [ { |
||||
"key" : "839", |
||||
"value" : "0x0", |
||||
"proof" : [ "0xf8b18080a0c7f91ee5ea67d593275fcc773a02a5e5fb37b0625ca5c5cdc783483d43f2d7c280a06672614c102b0f02e747250bae452ed105110e25761c15a2a459afbd9eb8cf2e808080a0f671e05fab19f512b16fdcbc938f5fbbfbbc2fa67fecb575bb7721c221f71cf78080a0ba2fc36b0235d7ea299126bd4d404cb38456f32a6c236b422a3868f98c69eda1a0d77552655c7b63916586a73350b1933836f2378789613b548b90fa0a44125df180808080"] |
||||
} ] |
||||
} |
||||
}, |
||||
"statusCode": 200 |
||||
} |
@ -0,0 +1,18 @@ |
||||
{ |
||||
"request": { |
||||
"id": 341, |
||||
"jsonrpc": "2.0", |
||||
"method": "eth_getStorageAt", |
||||
"params": [ |
||||
"0x6295ee1b4f6dd65047762f924ecd367c17eabf8f", |
||||
"0x4", |
||||
"0xb73cee02246c6f32ac0f459934e89102c2ce904d966a4fc2ab6309c3e104b9cb" |
||||
] |
||||
}, |
||||
"response": { |
||||
"jsonrpc": "2.0", |
||||
"id": 341, |
||||
"result": "0xaabbccffffffffffffffffffffffffffffffffffffffffffffffffffffffffee" |
||||
}, |
||||
"statusCode": 200 |
||||
} |
@ -0,0 +1,20 @@ |
||||
{ |
||||
"request": { |
||||
"id": 341, |
||||
"jsonrpc": "2.0", |
||||
"method": "eth_getStorageAt", |
||||
"params": [ |
||||
"0x6295ee1b4f6dd65047762f924ecd367c17eabf8f", |
||||
"0x4", |
||||
{ |
||||
"blockHash": "0xb73cee02246c6f32ac0f459934e89102c2ce904d966a4fc2ab6309c3e104b9cb" |
||||
} |
||||
] |
||||
}, |
||||
"response": { |
||||
"jsonrpc": "2.0", |
||||
"id": 341, |
||||
"result": "0xaabbccffffffffffffffffffffffffffffffffffffffffffffffffffffffffee" |
||||
}, |
||||
"statusCode": 200 |
||||
} |
@ -0,0 +1,21 @@ |
||||
{ |
||||
"request": { |
||||
"id": 341, |
||||
"jsonrpc": "2.0", |
||||
"method": "eth_getStorageAt", |
||||
"params": [ |
||||
"0x6295ee1b4f6dd65047762f924ecd367c17eabf8f", |
||||
"0x4", |
||||
{ |
||||
"blockHash": "0xb73cee02246c6f32ac0f459934e89102c2ce904d966a4fc2ab6309c3e104b9cb", |
||||
"requireCanonical": true |
||||
} |
||||
] |
||||
}, |
||||
"response": { |
||||
"jsonrpc": "2.0", |
||||
"id": 341, |
||||
"result": "0xaabbccffffffffffffffffffffffffffffffffffffffffffffffffffffffffee" |
||||
}, |
||||
"statusCode": 200 |
||||
} |
@ -0,0 +1,21 @@ |
||||
{ |
||||
"request": { |
||||
"id": 341, |
||||
"jsonrpc": "2.0", |
||||
"method": "eth_getStorageAt", |
||||
"params": [ |
||||
"0x6295ee1b4f6dd65047762f924ecd367c17eabf8f", |
||||
"0x4", |
||||
{ |
||||
"blockHash": "0xb73cee02246c6f32ac0f459934e89102c2ce904d966a4fc2ab6309c3e104b9cb", |
||||
"requireCanonical": false |
||||
} |
||||
] |
||||
}, |
||||
"response": { |
||||
"jsonrpc": "2.0", |
||||
"id": 341, |
||||
"result": "0xaabbccffffffffffffffffffffffffffffffffffffffffffffffffffffffffee" |
||||
}, |
||||
"statusCode": 200 |
||||
} |
@ -0,0 +1,18 @@ |
||||
{ |
||||
"request": { |
||||
"id": 341, |
||||
"jsonrpc": "2.0", |
||||
"method": "eth_getStorageAt", |
||||
"params": [ |
||||
"0x6295ee1b4f6dd65047762f924ecd367c17eabf8f", |
||||
"0x4", |
||||
"0x19" |
||||
] |
||||
}, |
||||
"response": { |
||||
"jsonrpc": "2.0", |
||||
"id": 341, |
||||
"result": "0xaabbccffffffffffffffffffffffffffffffffffffffffffffffffffffffffee" |
||||
}, |
||||
"statusCode": 200 |
||||
} |
@ -0,0 +1,20 @@ |
||||
{ |
||||
"request": { |
||||
"id": 341, |
||||
"jsonrpc": "2.0", |
||||
"method": "eth_getStorageAt", |
||||
"params": [ |
||||
"0x6295ee1b4f6dd65047762f924ecd367c17eabf8f", |
||||
"0x4", |
||||
{ |
||||
"blockNumber": "0x19" |
||||
} |
||||
] |
||||
}, |
||||
"response": { |
||||
"jsonrpc": "2.0", |
||||
"id": 341, |
||||
"result": "0xaabbccffffffffffffffffffffffffffffffffffffffffffffffffffffffffee" |
||||
}, |
||||
"statusCode": 200 |
||||
} |
@ -0,0 +1,21 @@ |
||||
{ |
||||
"request": { |
||||
"id": 341, |
||||
"jsonrpc": "2.0", |
||||
"method": "eth_getStorageAt", |
||||
"params": [ |
||||
"0x6295ee1b4f6dd65047762f924ecd367c17eabf8f", |
||||
"0x4", |
||||
"0xb73cee02246c6f32ac0f459934e89102c2ce904d966a4fc2ab6309c3e104b9cb1234" |
||||
] |
||||
}, |
||||
"response": { |
||||
"jsonrpc": "2.0", |
||||
"id": 341, |
||||
"error" : { |
||||
"code" : -32602, |
||||
"message" : "Invalid params" |
||||
} |
||||
}, |
||||
"statusCode": 400 |
||||
} |
@ -0,0 +1,17 @@ |
||||
{ |
||||
"request": { |
||||
"id": 487, |
||||
"jsonrpc": "2.0", |
||||
"method": "eth_getTransactionCount", |
||||
"params": [ |
||||
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", |
||||
"0xf8f01382f5636d02edac7fff679a6feb7a572d37a395daaab77938feb6fe217f" |
||||
] |
||||
}, |
||||
"response": { |
||||
"jsonrpc": "2.0", |
||||
"id": 487, |
||||
"result": "0x0" |
||||
}, |
||||
"statusCode": 200 |
||||
} |
@ -0,0 +1,19 @@ |
||||
{ |
||||
"request": { |
||||
"id": 487, |
||||
"jsonrpc": "2.0", |
||||
"method": "eth_getTransactionCount", |
||||
"params": [ |
||||
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", |
||||
{ |
||||
"blockHash": "0xf8f01382f5636d02edac7fff679a6feb7a572d37a395daaab77938feb6fe217f" |
||||
} |
||||
] |
||||
}, |
||||
"response": { |
||||
"jsonrpc": "2.0", |
||||
"id": 487, |
||||
"result": "0x0" |
||||
}, |
||||
"statusCode": 200 |
||||
} |
@ -0,0 +1,20 @@ |
||||
{ |
||||
"request": { |
||||
"id": 487, |
||||
"jsonrpc": "2.0", |
||||
"method": "eth_getTransactionCount", |
||||
"params": [ |
||||
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", |
||||
{ |
||||
"blockHash": "0xf8f01382f5636d02edac7fff679a6feb7a572d37a395daaab77938feb6fe217f", |
||||
"requireCanonical": true |
||||
} |
||||
] |
||||
}, |
||||
"response": { |
||||
"jsonrpc": "2.0", |
||||
"id": 487, |
||||
"result": "0x0" |
||||
}, |
||||
"statusCode": 200 |
||||
} |
@ -0,0 +1,20 @@ |
||||
{ |
||||
"request": { |
||||
"id": 487, |
||||
"jsonrpc": "2.0", |
||||
"method": "eth_getTransactionCount", |
||||
"params": [ |
||||
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", |
||||
{ |
||||
"blockHash": "0xf8f01382f5636d02edac7fff679a6feb7a572d37a395daaab77938feb6fe217f", |
||||
"requireCanonical": false |
||||
} |
||||
] |
||||
}, |
||||
"response": { |
||||
"jsonrpc": "2.0", |
||||
"id": 487, |
||||
"result": "0x0" |
||||
}, |
||||
"statusCode": 200 |
||||
} |
@ -0,0 +1,19 @@ |
||||
{ |
||||
"request": { |
||||
"id": 487, |
||||
"jsonrpc": "2.0", |
||||
"method": "eth_getTransactionCount", |
||||
"params": [ |
||||
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", |
||||
{ |
||||
"blockNumber": "0x0" |
||||
} |
||||
] |
||||
}, |
||||
"response": { |
||||
"jsonrpc": "2.0", |
||||
"id": 487, |
||||
"result": "0x0" |
||||
}, |
||||
"statusCode": 200 |
||||
} |
@ -0,0 +1,20 @@ |
||||
{ |
||||
"request": { |
||||
"id": 487, |
||||
"jsonrpc": "2.0", |
||||
"method": "eth_getTransactionCount", |
||||
"params": [ |
||||
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", |
||||
"0xb73cee02246c6f32ac0f459934e89102c2ce904d966a4fc2ab6309c3e104b9cb1234" |
||||
] |
||||
}, |
||||
"response": { |
||||
"jsonrpc": "2.0", |
||||
"id": 487, |
||||
"error" : { |
||||
"code" : -32602, |
||||
"message" : "Invalid params" |
||||
} |
||||
}, |
||||
"statusCode": 400 |
||||
} |
Loading…
Reference in new issue