Ethereum PHP
PHP interface to Ethereum JSON-RPC API.
Web3Methods.php
Go to the documentation of this file.
1 <?php
11 namespace Ethereum;
12 
29 
36 trait Web3Methods {
37 
45  public function web3_clientVersion() {
46  return $this->__call(__FUNCTION__, func_get_args());
47  }
48 
57  public function web3_sha3(EthS $arg1) {
58  return $this->__call(__FUNCTION__, func_get_args());
59  }
60 
68  public function net_version() {
69  return $this->__call(__FUNCTION__, func_get_args());
70  }
71 
79  public function net_peerCount() {
80  return $this->__call(__FUNCTION__, func_get_args());
81  }
82 
90  public function net_listening() {
91  return $this->__call(__FUNCTION__, func_get_args());
92  }
93 
104  public function personal_sign(EthD20 $arg1, EthD $arg2, EthS $arg3) {
105  return $this->__call(__FUNCTION__, func_get_args());
106  }
107 
117  public function personal_ecRecover(EthD $arg1, EthD $arg2) {
118  return $this->__call(__FUNCTION__, func_get_args());
119  }
120 
128  public function eth_protocolVersion() {
129  return $this->__call(__FUNCTION__, func_get_args());
130  }
131 
139  public function eth_syncing() {
140  return $this->__call(__FUNCTION__, func_get_args());
141  }
142 
150  public function eth_coinbase() {
151  return $this->__call(__FUNCTION__, func_get_args());
152  }
153 
161  public function eth_mining() {
162  return $this->__call(__FUNCTION__, func_get_args());
163  }
164 
172  public function eth_hashrate() {
173  return $this->__call(__FUNCTION__, func_get_args());
174  }
175 
183  public function eth_gasPrice() {
184  return $this->__call(__FUNCTION__, func_get_args());
185  }
186 
194  public function eth_accounts() {
195  return $this->__call(__FUNCTION__, func_get_args());
196  }
197 
205  public function eth_blockNumber() {
206  return $this->__call(__FUNCTION__, func_get_args());
207  }
208 
218  public function eth_getBalance(EthD20 $arg1, EthBlockParam $arg2) {
219  return $this->__call(__FUNCTION__, func_get_args());
220  }
221 
232  public function eth_getStorageAt(EthD20 $arg1, EthQ $arg2, EthBlockParam $arg3) {
233  return $this->__call(__FUNCTION__, func_get_args());
234  }
235 
245  public function eth_getTransactionCount(EthD20 $arg1, EthBlockParam $arg2) {
246  return $this->__call(__FUNCTION__, func_get_args());
247  }
248 
257  public function eth_getBlockTransactionCountByHash(EthD32 $arg1) {
258  return $this->__call(__FUNCTION__, func_get_args());
259  }
260 
269  public function eth_getBlockTransactionCountByNumber(EthBlockParam $arg1) {
270  return $this->__call(__FUNCTION__, func_get_args());
271  }
272 
281  public function eth_getUncleCountByBlockHash(EthD32 $arg1) {
282  return $this->__call(__FUNCTION__, func_get_args());
283  }
284 
293  public function eth_getUncleCountByBlockNumber(EthQ $arg1) {
294  return $this->__call(__FUNCTION__, func_get_args());
295  }
296 
306  public function eth_getCode(EthD20 $arg1, EthBlockParam $arg2) {
307  return $this->__call(__FUNCTION__, func_get_args());
308  }
309 
319  public function eth_sign(EthD20 $arg1, EthD32 $arg2) {
320  return $this->__call(__FUNCTION__, func_get_args());
321  }
322 
331  public function eth_sendTransaction(SendTransaction $arg1) {
332  return $this->__call(__FUNCTION__, func_get_args());
333  }
334 
343  public function eth_sendRawTransaction(EthD $arg1) {
344  return $this->__call(__FUNCTION__, func_get_args());
345  }
346 
356  public function eth_call(CallTransaction $arg1, EthBlockParam $arg2) {
357  return $this->__call(__FUNCTION__, func_get_args());
358  }
359 
369  public function eth_estimateGas(EstimateTransaction $arg1, EthBlockParam $arg2) {
370  return $this->__call(__FUNCTION__, func_get_args());
371  }
372 
382  public function eth_getBlockByHash(EthD32 $arg1, EthB $arg2) {
383  return $this->__call(__FUNCTION__, func_get_args());
384  }
385 
395  public function eth_getBlockByNumber(EthBlockParam $arg1, EthB $arg2) {
396  return $this->__call(__FUNCTION__, func_get_args());
397  }
398 
407  public function eth_getTransactionByHash(EthD32 $arg1) {
408  return $this->__call(__FUNCTION__, func_get_args());
409  }
410 
420  public function eth_getTransactionByBlockHashAndIndex(EthD32 $arg1, EthQ $arg2) {
421  return $this->__call(__FUNCTION__, func_get_args());
422  }
423 
433  public function eth_getTransactionByBlockNumberAndIndex(EthBlockParam $arg1, EthQ $arg2) {
434  return $this->__call(__FUNCTION__, func_get_args());
435  }
436 
445  public function eth_getTransactionReceipt(EthD32 $arg1) {
446  return $this->__call(__FUNCTION__, func_get_args());
447  }
448 
458  public function eth_getUncleByBlockHashAndIndex(EthD32 $arg1, EthQ $arg2) {
459  return $this->__call(__FUNCTION__, func_get_args());
460  }
461 
471  public function eth_getUncleByBlockNumberAndIndex(EthBlockParam $arg1, EthQ $arg2) {
472  return $this->__call(__FUNCTION__, func_get_args());
473  }
474 
482  public function eth_getCompilers() {
483  return $this->__call(__FUNCTION__, func_get_args());
484  }
485 
494  public function eth_compileLLL(EthS $arg1) {
495  return $this->__call(__FUNCTION__, func_get_args());
496  }
497 
506  public function eth_compileSolidity(EthS $arg1) {
507  return $this->__call(__FUNCTION__, func_get_args());
508  }
509 
518  public function eth_compileSerpent(EthS $arg1) {
519  return $this->__call(__FUNCTION__, func_get_args());
520  }
521 
530  public function eth_newFilter(Filter $arg1) {
531  return $this->__call(__FUNCTION__, func_get_args());
532  }
533 
541  public function eth_newBlockFilter() {
542  return $this->__call(__FUNCTION__, func_get_args());
543  }
544 
552  public function eth_newPendingTransactionFilter() {
553  return $this->__call(__FUNCTION__, func_get_args());
554  }
555 
564  public function eth_uninstallFilter(EthQ $arg1) {
565  return $this->__call(__FUNCTION__, func_get_args());
566  }
567 
576  public function eth_getFilterChanges(EthQ $arg1) {
577  return $this->__call(__FUNCTION__, func_get_args());
578  }
579 
588  public function eth_getFilterLogs(EthQ $arg1) {
589  return $this->__call(__FUNCTION__, func_get_args());
590  }
591 
600  public function eth_getLogs(Filter $arg1) {
601  return $this->__call(__FUNCTION__, func_get_args());
602  }
603 
611  public function eth_getWork() {
612  return $this->__call(__FUNCTION__, func_get_args());
613  }
614 
625  public function eth_submitWork(EthD $arg1, EthD32 $arg2, EthD32 $arg3) {
626  return $this->__call(__FUNCTION__, func_get_args());
627  }
628 
638  public function eth_submitHashrate(EthD $arg1, EthD $arg2) {
639  return $this->__call(__FUNCTION__, func_get_args());
640  }
641 
652  public function db_putString(EthS $arg1, EthS $arg2, EthS $arg3) {
653  return $this->__call(__FUNCTION__, func_get_args());
654  }
655 
665  public function db_getString(EthS $arg1, EthS $arg2) {
666  return $this->__call(__FUNCTION__, func_get_args());
667  }
668 
679  public function db_putHex(EthS $arg1, EthS $arg2, EthD $arg3) {
680  return $this->__call(__FUNCTION__, func_get_args());
681  }
682 
692  public function db_getHex(EthS $arg1, EthS $arg2) {
693  return $this->__call(__FUNCTION__, func_get_args());
694  }
695 
704  public function shh_post(SHHPost $arg1) {
705  return $this->__call(__FUNCTION__, func_get_args());
706  }
707 
715  public function shh_version() {
716  return $this->__call(__FUNCTION__, func_get_args());
717  }
718 
726  public function shh_newIdentity() {
727  return $this->__call(__FUNCTION__, func_get_args());
728  }
729 
738  public function shh_hasIdentity(EthD $arg1) {
739  return $this->__call(__FUNCTION__, func_get_args());
740  }
741 
749  public function shh_newGroup() {
750  return $this->__call(__FUNCTION__, func_get_args());
751  }
752 
761  public function shh_addToGroup(EthD $arg1) {
762  return $this->__call(__FUNCTION__, func_get_args());
763  }
764 
773  public function shh_newFilter(SHHFilter $arg1) {
774  return $this->__call(__FUNCTION__, func_get_args());
775  }
776 
785  public function shh_uninstallFilter(EthQ $arg1) {
786  return $this->__call(__FUNCTION__, func_get_args());
787  }
788 
797  public function shh_getFilterChanges(EthQ $arg1) {
798  return $this->__call(__FUNCTION__, func_get_args());
799  }
800 
809  public function shh_getMessages(EthQ $arg1) {
810  return $this->__call(__FUNCTION__, func_get_args());
811  }
812 }
Definition: Abi.php:3