spec.yaml
 1  documentationUrl: https://docsurl.com
 2  connectionSpecification:
 3    $schema: http://json-schema.org/draft-07/schema#
 4    title: Etherscan Spec
 5    type: object
 6    required:
 7      - wallets
 8      - backfill
 9      - sleep_seconds
10      - api_key
11      - chain_id
12      - pagination_offset
13    properties:
14      api_key:
15          title: 'Api Key'
16          type: string
17          description: 'Etherscan API key'
18          airbyte_secret: true
19      backfill:
20          title: 'Backfill wallet transactions'
21          type: boolean
22          description: 'If True all of the wallet transactions will be fetched'
23          default: false
24      pagination_offset:
25          title: 'Pagination Offset'
26          type: integer
27          description: 'Number of records to pull from the REST API per page'
28          default: 150
29      sleep_seconds:
30          title: 'Sleep seconds'
31          type: integer
32          description: 'The number of seconds to sleep between requests'
33          default: 2
34      chain_id:
35          title: 'Chain Id'
36          type: string
37          description: 'Id of the blockchain'
38      wallets:
39          title: Wallets
40          description: "List of wallets to monitor their transactions and balance"
41          type: array
42          items:
43              type: object
44              properties:
45                  address:
46                      title: Address
47                      type: string
48                      description: 'Address of the wallet'
49                      order: 1
50                  name:
51                      title: Name
52                      type: string
53                      description: 'Name of the wallet'
54                      order: 2
55                  tags:
56                      title: Tags
57                      type: array
58                      description: 'Wallet tags'
59                      items:
60                          type: string
61                      order: 3
62      tokens:
63          title: Tokens
64          description: "List of tokens that will be monitored within the specified wallets"
65          type: array
66          items:
67              type: object
68              properties:
69                  name:
70                      title: "Token symbol"
71                      type: string
72                      description: "The token's symbol"
73                      order: 1
74                  address:
75                      title: Address
76                      type: string
77                      description: 'Address of the token'
78                      order: 2