Methods
cmd
-
Type parameters
Parameters
Returns Promise<TResponse>
eth_blockNumber
- eth_blockNumber(): Promise<BigNumber>
-
Returns Promise<BigNumber>
eth_getBlockByHash
- eth_getBlockByHash(hash: string, includeFullTransactions: false): Promise<BlockWithTransactionHashes>
- eth_getBlockByHash(hash: string, includeFullTransactions: true): Promise<BlockWithFullTransactions>
-
Parameters
-
hash: string
-
includeFullTransactions: false
Returns Promise<BlockWithTransactionHashes>
-
Parameters
-
hash: string
-
includeFullTransactions: true
Returns Promise<BlockWithFullTransactions>
eth_getBlockByNumber
- eth_getBlockByNumber(blockNumber: BlockParameter, includeFullTransactions: false): Promise<BlockWithTransactionHashes>
- eth_getBlockByNumber(blockNumber: BlockParameter, includeFullTransactions: true): Promise<BlockWithFullTransactions>
-
Parameters
-
-
includeFullTransactions: false
Returns Promise<BlockWithTransactionHashes>
-
Parameters
-
-
includeFullTransactions: true
Returns Promise<BlockWithFullTransactions>
eth_getLogs
- eth_getLogs(filter: LogFilter): Promise<Log[]>
-
Parameters
Returns Promise<Log[]>
eth_getTransactionReceipt
- eth_getTransactionReceipt(hash: string): Promise<TransactionReceipt>
-
Parameters
Returns Promise<TransactionReceipt>
eth_getTransactionReceipts
- eth_getTransactionReceipts(hashes: string[]): Promise<TransactionReceipt[]>
-
Parameters
Returns Promise<TransactionReceipt[]>
eth_sendTransaction
-
Parameters
Returns Promise<string>
net_version
- net_version(): Promise<number>
web3_clientVersion
- web3_clientVersion(): Promise<string>
This is the interface exposed by all the implementations of the clients