forked from novasamatech/subquery-history
-
Notifications
You must be signed in to change notification settings - Fork 3
/
polymesh.yaml
35 lines (35 loc) · 915 Bytes
/
polymesh.yaml
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
specVersion: 1.0.0
name: subquery-common-api-polkadot-transactions-aleph-zero
version: 1.0.0
runner:
node:
name: "@subql/node"
version: ">=4.6.6"
options:
historical: true
query:
name: "@subql/query"
version: "*"
description: Nova SubQuery project
repository: https://github.com/nova-wallet/subquery-nova
schema:
file: ./schema.graphql
network:
chainId: "0x6fbd74e5e1d0a61d52ccfe9d4adaed16dd3a7caa37c6bc4d0c2fa12e8b2f4063"
endpoint: wss://mainnet-rpc.polymesh.network
chaintypes:
file: ./dist/polymeshChaintypes.js
dataSources:
- name: main
kind: substrate/Runtime
startBlock: 1
mapping:
file: ./dist/index.js
handlers:
- handler: handleHistoryElement
kind: substrate/CallHandler
- handler: handleTransfer
kind: substrate/EventHandler
filter:
module: balances
method: Transfer