Add frontier RPCs (& types for them) (#2976)

* Add frontier RPCs (& types for them)

* Add filters

* Cleanup optional params

* Add ethereum module aliasses

* Split rpc

* Split net RPC

* full block details

* onlyHex

* Revert onlyHex change
This commit is contained in:
Jaco Greeff
2020-12-22 15:30:48 +01:00
committed by GitHub
parent bbdf0e3192
commit 80209da5c5
17 changed files with 1063 additions and 38 deletions
+7
View File
@@ -14,6 +14,13 @@ const typesModules: Record<string, OverrideModuleType> = {
contracts: {
StorageKey: 'ContractStorageKey'
},
ethereum: {
Block: 'EthBlock',
Header: 'EthHeader',
Receipt: 'EthReceipt',
Transaction: 'EthTransaction',
TransactionStatus: 'EthTransactionStatus'
},
grandpa: {
Equivocation: 'GrandpaEquivocation',
EquivocationProof: 'GrandpaEquivocationProof'