eip-1193 0.6.3 → 0.6.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +3 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
export type EIP1193DATA = `0x${string}`;
|
|
5
5
|
export type EIP1193BlockTag = EIP1193QUANTITY | 'latest' | 'earliest' | 'pending' | 'safe' | 'finalized';
|
|
6
6
|
|
|
7
|
+
export type EIP1193INTEGER = EIP1193DATA | number;
|
|
8
|
+
|
|
7
9
|
export type EIP1898BlockTag =
|
|
8
10
|
| EIP1193QUANTITY
|
|
9
11
|
| 'latest'
|
|
@@ -331,7 +333,7 @@ export type ReadMethods = {
|
|
|
331
333
|
eth_unsubscribe: {params: [EIP1193DATA]; result: boolean};
|
|
332
334
|
eth_getProof: {params: [EIP1193DATA, EIP1193DATA[]] | [EIP1193DATA, EIP1193DATA[], EIP1898BlockTag]; result: unknown}; // TODO
|
|
333
335
|
|
|
334
|
-
eth_feeHistory: {params: [
|
|
336
|
+
eth_feeHistory: {params: [EIP1193QUANTITY, EIP1193BlockTag, number[]]; result: EIP1193FeeHistory};
|
|
335
337
|
};
|
|
336
338
|
|
|
337
339
|
export type WriteMethods = {
|