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
To gain a clearer understanding of the entire process, let's consider two straightforward [examples](https://github.com/0xPolygon/chain-indexer-framework/blob/main/examples/README.md).
33
33
34
34
-[First example](https://github.com/0xPolygon/chain-indexer-framework/blob/main/examples/matic_transfer/README.md) involves indexing MATIC transfer events from the Ethereum blockchain.
35
-
-[Second example](https://github.com/0xPolygon/chain-indexer-framework/blob/main/examples/nft_balancer/README.md) involes indexing NFT Transfer and maintaining NFT Balance
35
+
-[Second example](https://github.com/0xPolygon/chain-indexer-framework/blob/main/examples/nft_balancer/README.md) involes indexing NFT Transfer and maintaining NFT Balance.
36
36
37
37
Both these examples encompass all the layers involved, starting from producers, moving through transformers, and concluding with consumers.
Copy file name to clipboardExpand all lines: docs/tools/data/flair.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -95,13 +95,13 @@ Explore real-world usage of Flair indexing primitives for various use-cases.
95
95
96
96
### DeFi
97
97
98
-
*[Aggregate protocol fees in USD across multiple chains](https://github.com/flair-sdk/examples/tree/main/aggregate-protocol-fees-in-usd)
99
-
*[Calculate "Health Factor" of positions with contract factory tracking](https://github.com/flair-sdk/examples/tree/main/health-factor-with-factory-tracking)
100
-
*[Index Uniswap v2 swaps with USD price for all addresses](https://github.com/flair-sdk/examples/tree/main/uniswap-v2-events-from-all-contracts-with-usd-price)
98
+
*[Aggregate protocol fees in USD across multiple chains](https://github.com/flair-sdk/examples/tree/main/aggregate-protocol-fees-in-usd).
99
+
*[Calculate "Health Factor" of positions with contract factory tracking](https://github.com/flair-sdk/examples/tree/main/health-factor-with-factory-tracking).
100
+
*[Index Uniswap v2 swaps with USD price for all addresses](https://github.com/flair-sdk/examples/tree/main/uniswap-v2-events-from-all-contracts-with-usd-price).
101
101
102
102
### NFT
103
103
104
-
*[Index ERC721 and ERC1155 NFTs on any EVM chain with an RPC URL](https://github.com/flair-sdk/examples/tree/main/erc721-and-erc1155-nft-indexing)
104
+
*[Index ERC721 and ERC1155 NFTs on any EVM chain with an RPC URL](https://github.com/flair-sdk/examples/tree/main/erc721-and-erc1155-nft-indexing).
You can find the access token by going to your dashboard on the graph website.
47
47
48
-
1. cd to the directory you created and start defining the subgraph. Information on creating a subgraph is available in the Graph Docs here. https://thegraph.com/docs/define-a-subgraph
48
+
1. `cd` to the directory you created and start defining the subgraph. Information on creating a subgraph is available in the Graph Docs here: https://thegraph.com/docs/define-a-subgraph.
49
49
50
50
1. When you are ready, deploy your subgraph. You can always test and redeploy as needed.
51
51
@@ -57,6 +57,6 @@ The Graph, a decentralized protocol for indexing and querying chain data, suppor
57
57
58
58
Your subgraph will be deployed and can be accessed from your dashboard.
59
59
60
-
You can learn about querying the subgraph here: https://thegraph.com/docs/query-the-graph#using-the-graph-explorer
60
+
You can learn about querying the subgraph here: https://thegraph.com/docs/query-the-graph#using-the-graph-explorer.
61
61
62
62
If you want to make your subgraph public, you can do so by accessing your subgraph from your dashboard and then click on edit button. You will see the slider at the bottom of edit page.
Copy file name to clipboardExpand all lines: docs/tools/data/the-graph/queries.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
5
5
## Sample queries
6
6
7
-
Below are some sample queries you can use to gather information from the polygon root subgraph
7
+
Below are some sample queries you can use to gather information from the polygon root subgraph.
8
8
9
9
You can build your own queries using a [GraphQL Explorer](https://graphiql-online.com/graphiql) and enter your endpoint to limit the data to exactly what you need.
Copy file name to clipboardExpand all lines: docs/tools/gas/polygon-gas-station.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ We received a lot of requests from dApp developers for building a gas price reco
11
11
12
12
### Mumbai
13
13
14
-
For getting gas price recommendation from this oracle (Polygon Mumbai), send **GET** request to [https://gasstation-testnet.polygon.technology/v2](https://gasstation-testnet.polygon.technology/v2)
14
+
For getting gas price recommendation from this oracle (Polygon Mumbai), send a **GET** request to [https://gasstation-testnet.polygon.technology/v2](https://gasstation-testnet.polygon.technology/v2).
For getting gas price recommendation from this oracle (Polygon Mainnet), send **GET** request to the Polygon Gas Station V2 to get the gas fee estimates. Polygon Gas Station V2 Endpoint: [https://gasstation.polygon.technology/v2](https://gasstation.polygon.technology/v2)
39
+
For getting a gas price recommendation from this oracle (Polygon Mainnet), send a **GET** request to the Polygon Gas Station V2 to get the gas fee estimates. Polygon Gas Station V2 Endpoint: [https://gasstation.polygon.technology/v2](https://gasstation.polygon.technology/v2).
40
40
41
41
#### cURL
42
42
@@ -89,4 +89,4 @@ An example JSON response will look like this:
89
89
-`safelow`, `standard`, `fast`, `estimatedBaseFee` are gas prices in GWei. You can use these prices before sending transaction off to Polygon, depending upon your needs.
90
90
-`blockNumber` tells what was latest block mined when recommendation was made.
91
91
-`blockTime`, in second, gives average block time of the network.
92
-
- On Polygon PoS mainnet, it is mandatory to pass a **minimum priority fees of 30 gwei**
92
+
- On Polygon PoS mainnet, it is mandatory to pass a **minimum priority fees of 30 gwei**.
Copy file name to clipboardExpand all lines: docs/tools/matic-js/fx-portal.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,4 +4,4 @@ For more info about FxPortal, please read [the FxPortal overview documentation](
4
4
5
5
FxPortal bridge functionality is available in a [separate repository](https://github.com/0xPolygon/maticjs-fxportal) as a plugin for maticjs. The package provides different API's for interacting with bridge.
6
6
7
-
Here is repository link - [https://github.com/0xPolygon/maticjs-fxportal](https://github.com/0xPolygon/maticjs-fxportal)
7
+
Here is the repository link: [https://github.com/0xPolygon/maticjs-fxportal](https://github.com/0xPolygon/maticjs-fxportal).
0 commit comments