-
Notifications
You must be signed in to change notification settings - Fork 0
/
Web3Interface.php
52 lines (28 loc) · 1.2 KB
/
Web3Interface.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?php
namespace Yoruchiaki\WebaseFront\Interfaces;
interface Web3Interface
{
public function getBlockNumber();
public function getBlockByNumber(int $blockNumber);
public function getBlockByHash(string $blockHash);
public function getBlockTransCnt(int $blockNumber);
public function getPbftView();
public function getTransactionReceipt(string $transHash);
public function getTransaction(string $transHash);
public function getClientVersion();
public function getCode(string $address, int $blockNumber);
public function getTransactionTotal();
public function getTransByBlockHashAndIndex(string $blockHash, int $transactionIndex);
public function getTransByBlockNumberAndIndex(int $blockNumber, int $transactionIndex);
public function getConsensusStatus();
public function getNodeStatusList();
public function getGroupList();
public function getGroupPeers();
public function getObserverList();
public function getPeers();
public function getPendingTransactionsCount();
public function getSealerList();
public function getSearch(string $inputValue = null);
public function getSyncStatus();
public function refresh();
}