aboutsummaryrefslogtreecommitdiffstats
path: root/test/RPCSession.h
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-02-10 02:41:51 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-02-10 21:24:56 +0800
commit702ee20a0179afe607383554ee89b0f863e14f63 (patch)
tree8c17629066ed981e04fd0027bc769dbd95bf7da3 /test/RPCSession.h
parent4cf44f1b41fe021653a6f45c72c19253dd352459 (diff)
downloaddexon-solidity-702ee20a0179afe607383554ee89b0f863e14f63.tar.gz
dexon-solidity-702ee20a0179afe607383554ee89b0f863e14f63.tar.zst
dexon-solidity-702ee20a0179afe607383554ee89b0f863e14f63.zip
Create getBlockByNumber RPC method
Diffstat (limited to 'test/RPCSession.h')
-rw-r--r--test/RPCSession.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/RPCSession.h b/test/RPCSession.h
index b2e8a309..105ba378 100644
--- a/test/RPCSession.h
+++ b/test/RPCSession.h
@@ -98,6 +98,7 @@ public:
static RPCSession& instance(std::string const& _path);
std::string eth_getCode(std::string const& _address, std::string const& _blockNumber);
+ Json::Value eth_getBlockByNumber(std::string const& _blockNumber, bool _fullObjects);
std::string eth_call(TransactionData const& _td, std::string const& _blockNumber);
TransactionReceipt eth_getTransactionReceipt(std::string const& _transactionHash);
std::string eth_sendTransaction(TransactionData const& _transactionData);