UNPKG
@mycrypto/eth-scan
Version:
latest (3.5.3)
3.5.3
3.5.2
3.5.1
3.5.0
3.4.4
3.4.3
3.4.2
3.4.1
3.4.0
3.3.1
3.3.0
3.2.1
3.2.0
3.1.2
3.1.1
3.1.0
3.0.0
2.1.0
2.0.1
2.0.0
1.1.0
1.0.1
1.0.0
An efficient Ether and token balance scanner
MyCryptoHQ/eth-scan
@mycrypto/eth-scan
/
src
/
types
/
jsonrpc.ts
18 lines
(16 loc)
•
284 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
export
interface
JsonRpcPayload
<T =
unknown
[]> {
jsonrpc
:
string
;
method
:
string
;
params
: T;
id
?:
string
|
number
; }
export
interface
JsonRpcResult
<T> {
id
:
number
;
jsonrpc
:
string
;
result
: T;
error
?: {
code
:
number
;
message
:
string
;
data
:
string
; }; }