You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pages/en/cookbook/near.mdx
+13Lines changed: 13 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -75,6 +75,19 @@ dataSources:
75
75
- NEAR subgraphs introduce a new `kind` of data source (`near`)
76
76
- The `network` should correspond to a network on the hosting Graph Node. On the Hosted Service, NEAR's mainnet is `near-mainnet`, and NEAR's testnet is `near-testnet`
77
77
- NEAR data sources introduce an optional `source.account` field, which is a human-readable ID corresponding to a [NEAR account](https://docs.near.org/docs/concepts/account). This can be an account or a sub-account.
78
+
- NEAR data sources introduce an optional `source.accounts` field, which contains optional suffixes and prefixes.
79
+
At least prefix or suffix must be specified, they will match the any account starting or ending with the list of values respectively.
80
+
The example below would match: `[app|good].*[morning.near|morning.testnet]`. If only a list of prefixes or suffixes is necessary
0 commit comments