-
Notifications
You must be signed in to change notification settings - Fork 38
/
reth-indexer-config-example.json
44 lines (44 loc) · 1.1 KB
/
reth-indexer-config-example.json
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
{
"rethDBLocation": "/home/ubuntu/.local/share/reth/mainnet/db",
"csvLocation": "/tmp",
"fromBlockNumber": 17569693,
"toBlockNumber": 17570693,
"postgres": {
"dropTableBeforeSync": true,
"applyIndexesBeforeSync": false,
"connectionString": "postgresql://postgres:password@localhost:5432/reth_indexer"
},
"eventMappings": [
{
"syncBackRoughlyEveryNLogs": 1000,
"decodeAbiItems": [
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "from",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "to",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "value",
"type": "uint256"
}
],
"name": "Transfer",
"type": "event",
"customDbIndexes": [["value"], ["to", "from"]]
}
]
}
]
}