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: website/pages/en/billing.mdx
+37-14
Original file line number
Diff line number
Diff line change
@@ -2,15 +2,38 @@
2
2
title: Billing
3
3
---
4
4
5
-
## Billing on Arbitrum
6
-
7
5
> Invoices are generated on a weekly basis.
8
6
7
+
There are two options for paying for your query fees:
8
+
9
+
-[Paying with fiat currency with Banxa](#billing-with-banxa)
10
+
-[Paying with crypto wallet](#billing-on-arbitrum)
11
+
12
+
## Billing with Banxa
13
+
14
+
Banxa enables you to bypass the need for an exchange and pay for your query fees using the fiat currency of your choice. The fiat currency will be converted to GRT, added to your account balance on the billing contract, and used to pay for queries associated with your API keys.
15
+
16
+
There may be KYC requirements depending on the regulations in your country. For more information about KYC, please visit [Banxa's FAQ page](https://docs.banxa.com/docs/faqs).
17
+
18
+
You can learn more about Banxa by reading their [documentation](https://docs.banxa.com/docs).
19
+
20
+
### Paying for query fees with Banxa
21
+
22
+
1. Select “Pay with Card” option in [Subgraph Studio](https://thegraph.com/studio/billing/?show=Deposit).
23
+
2. Enter the amount of GRT to be added to your account balance.
24
+
3. Click the 'Continue with Banxa' button.
25
+
4. Enter necessary banking information on Banxa including payment method & fiat currency of choice.
26
+
5. Finish the transaction.
27
+
28
+
It may take up to 10 minutes to complete the transaction. Once the transaction is confirmed, the purchased GRT will automatically be added to your account balance on Arbitrum.
29
+
30
+
## Billing on Arbitrum
31
+
9
32
While The Graph protocol operates on Ethereum Mainnet, [the billing contract](https://arbiscan.io/address/0x1b07d3344188908fb6deceac381f3ee63c48477a) lives on the [Arbitrum](https://arbitrum.io/) network to reduce transaction times and cost. You'll be required to pay the query fees generated from your API keys. Using the billing contract, you'll be able to:
10
33
11
-
- Add and withdraw GRT from your billing balance.
12
-
- Keep track of your balances based on how much GRT you have added to your billing balance, how much you have removed, and your invoices.
13
-
- Automatically pay invoices based on query fees generated, as long as there is enough GRT in your billing balance.
34
+
- Add and withdraw GRT from your account balance.
35
+
- Keep track of your balances based on how much GRT you have added to your account balance, how much you have removed, and your invoices.
36
+
- Automatically pay invoices based on query fees generated, as long as there is enough GRT in your account balance.
14
37
15
38
### Adding GRT using a crypto wallet
16
39
@@ -22,17 +45,17 @@ While The Graph protocol operates on Ethereum Mainnet, [the billing contract](ht
22
45
23
46
3. Click the 'Add GRT' button at the center of the page. A side panel will appear.
24
47
25
-
4. Enter the amount of GRT you want to add to your billing balance. You can also select the maximum amount of GRT you want to add to your billing balance by clicking on the "Max" button.
48
+
4. Enter the amount of GRT you want to add to your account balance. You can also select the maximum amount of GRT you want to add to your account balance by clicking on the "Max" button.
26
49
27
50
5. Click 'Allow GRT Access' to allow the Subgraph Studio to access your GRT. Sign the associated transaction in your wallet. This will not cost any gas.
28
51
29
-
6. Click 'Add GRT to billing balance' to add the GRT to your billing balance. Sign the associated transaction in your wallet. This will cost gas.
52
+
6. Click 'Add GRT to account balance' to add the GRT to your account balance. Sign the associated transaction in your wallet. This will cost gas.
30
53
31
-
7. Once the transaction is confirmed, you'll see the GRT added to your billing balance within an hour.
54
+
7. Once the transaction is confirmed, you'll see the GRT added to your account balance within an hour.
32
55
33
56
### Withdrawing GRT using a crypto wallet
34
57
35
-
> This section is written assuming you have deposited GRT into your billing balance on [Subgraph Studio](https://thegraph.com/studio/billing/) and that you're on the Arbitrum network.
58
+
> This section is written assuming you have deposited GRT into your account balance on [Subgraph Studio](https://thegraph.com/studio/billing/) and that you're on the Arbitrum network.
36
59
37
60
1. Go to the [Subgraph Studio Billing page](https://thegraph.com/studio/billing/).
38
61
@@ -42,9 +65,9 @@ While The Graph protocol operates on Ethereum Mainnet, [the billing contract](ht
42
65
43
66
4. Enter the amount of GRT you would like to withdraw.
44
67
45
-
5. Click 'Withdraw GRT' to withdraw the GRT from your billing balance. Sign the associated transaction in your wallet. This will cost gas. The GRT will be sent to your Arbitrum wallet.
68
+
5. Click 'Withdraw GRT' to withdraw the GRT from your account balance. Sign the associated transaction in your wallet. This will cost gas. The GRT will be sent to your Arbitrum wallet.
46
69
47
-
6. Once the transaction is confirmed, you'll see the GRT withdrawn from your billing balance in your Arbitrum wallet.
70
+
6. Once the transaction is confirmed, you'll see the GRT withdrawn from your account balance in your Arbitrum wallet.
48
71
49
72
### Adding GRT using a multisig wallet
50
73
@@ -54,11 +77,11 @@ While The Graph protocol operates on Ethereum Mainnet, [the billing contract](ht
54
77
55
78
3. Click the 'Add GRT' button at the center of the page. A side panel will appear.
56
79
57
-
4. Once the transaction is confirmed, you'll see the GRT added to your billing balance within an hour.
80
+
4. Once the transaction is confirmed, you'll see the GRT added to your account balance within an hour.
58
81
59
82
### Withdrawing GRT using a multisig wallet
60
83
61
-
> This section is written assuming you have deposited GRT into your billing balance on [Subgraph Studio](https://thegraph.com/studio/billing/) and that you're on Ethereum mainnet.
84
+
> This section is written assuming you have deposited GRT into your account balance on [Subgraph Studio](https://thegraph.com/studio/billing/) and that you're on Ethereum mainnet.
62
85
63
86
1. Go to the [Subgraph Studio Billing page](https://thegraph.com/studio/billing/).
64
87
@@ -68,7 +91,7 @@ While The Graph protocol operates on Ethereum Mainnet, [the billing contract](ht
68
91
69
92
4. Enter the amount of GRT you would like to withdraw. Specify the receiving wallet which will receive the GRT from this transaction. The GRT will be sent to the receiving wallet on Arbitrum.
70
93
71
-
5. Click 'Withdraw GRT' to withdraw the GRT from your billing balance. Sign the associated transaction in your wallet. This will cost gas.
94
+
5. Click 'Withdraw GRT' to withdraw the GRT from your account balance. Sign the associated transaction in your wallet. This will cost gas.
72
95
73
96
6. Once the transaction is confirmed, you'll see the GRT added to your Arbitrum wallet within an hour.
0 commit comments