Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up billing #779

Merged
merged 1 commit into from
Sep 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Clean up billing
  • Loading branch information
MichaelMacaulay committed Sep 20, 2024
commit f553c73b7ff85a7fd031da7e19e02ec465654efb
12 changes: 6 additions & 6 deletions website/pages/en/billing.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ There are two plans to use when querying subgraphs on The Graph Network.

## Query Payments with credit card

- To set up billing with credit/debit cards, users will access Subgraph Studio (https://thegraph.com/studio/)
- To set up billing with credit/debit cards, users should access Subgraph Studio (https://thegraph.com/studio/)
1. Go to the [Subgraph Studio Billing page](https://thegraph.com/studio/billing/).
2. Click on the "Connect Wallet" button on the top right corner of the page. You'll be redirected to the wallet selection page. Select your wallet and click on "Connect".
3. Choose “Upgrade plan” if you are upgrading from the Free Plan or choose “Manage Plan” if you have already added GRT to your billing balance in the past. Next, you can estimate the number of queries to get a pricing estimate, but this is not a required step.
Expand Down Expand Up @@ -69,7 +69,7 @@ Once you bridge GRT, you can add it to your billing balance.

1. Go to the [Subgraph Studio Billing page](https://thegraph.com/studio/billing/).
2. Click on the "Connect Wallet" button on the top right corner of the page. Select your wallet and click on "Connect".
3. Click the "Manage"" button at the top right corner of the page. Select "Withdraw GRT". A side panel will appear.
3. Click the "Manage" button at the top right corner of the page. Select "Withdraw GRT". A side panel will appear.
4. Enter the amount of GRT you would like to withdraw.
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.
6. Once the transaction is confirmed, you'll see the GRT withdrawn from your account balance in your Arbitrum wallet.
Expand All @@ -83,7 +83,7 @@ Once you bridge GRT, you can add it to your billing balance.
- For suggestions on the number of queries you may use, see our **Frequently Asked Questions** page.
5. Choose "Cryptocurrency". GRT is currently the only cryptocurrency accepted on The Graph Network.
6. Select the number of months you would like to prepay.
- Paying in advance does not committing you to future usage. You will only be charged for what you use and you can withdraw your balance at any time.
- Paying in advance does not commit you to future usage. You will only be charged for what you use and you can withdraw your balance at any time.
7. Pick the network from which you are depositing your GRT. GRT on Arbitrum or Ethereum are both acceptable. 8. Click "Allow GRT Access" and then specify the amount of GRT that can be taken from you wallet.
- If you are prepaying for multiple months, you must allow access to the amount that corresponds with that amount. This interaction will not cost any gas.
8. Lastly, click on "Add GRT to Billing Balance". This transaction will require ETH on Arbitrum to cover the gas costs.
Expand Down Expand Up @@ -127,7 +127,7 @@ This will be a step by step guide for purchasing GRT on Binance.
7. Review your purchase and click "Buy GRT".
8. Confirm your purchase and you will be able to see your GRT in your Binance Spot Wallet.
9. You can withdraw the GRT from your account to your wallet such as [MetaMask](https://metamask.io/).
- [To withdraw](https://www.binance.com/en/blog/ecosystem/how-to-transfer-crypto-from-binance-to-trust-wallet-8305050796630181570) the GRT to your wallet, add your wallet's address to the withdrawel whitelist.
- [To withdraw](https://www.binance.com/en/blog/ecosystem/how-to-transfer-crypto-from-binance-to-trust-wallet-8305050796630181570) the GRT to your wallet, add your wallet's address to the withdrawal whitelist.
- Click on the "wallet" button, click withdraw, and select GRT.
- Enter the amount of GRT you want to send and the whitelisted wallet address you want to send it to.
- Click "Continue" and confirm your transaction.
Expand Down Expand Up @@ -198,7 +198,7 @@ You can learn more about getting ETH on Binance [here](https://www.binance.com/e

### How many queries will I need?

You don't need to know how many queries you'll need in advance. You will only be charged for what you use and you can withdrawal GRT from your account at any time.
You don't need to know how many queries you'll need in advance. You will only be charged for what you use and you can withdraw GRT from your account at any time.

We recommend you overestimate the number of queries you will need so that you don’t have to top up your balance frequently. A good estimate for small to medium sized applications is to start with 1M-2M queries per month and monitor usage closely in the first weeks. For larger apps, a good estimate is to use the number of daily visits your site gets multiplied by the number of queries your most active page makes upon opening.

Expand All @@ -208,6 +208,6 @@ Of course, both new and existing users can reach out to Edge & Node's BD team fo

Yes, you can always withdraw GRT that has not already been used for queries from your billing balance. The billing contract is only designed to bridge GRT from Ethereum mainnet to the Arbitrum network. If you'd like to transfer your GRT from Arbitrum back to Ethereum mainnet, you'll need to use the [Arbitrum Bridge](https://bridge.arbitrum.io/?l2ChainId=42161).

### What happens when my billing balance runs? Will I get a warning?
### What happens when my billing balance runs out? Will I get a warning?

You will receive several email notifications before your billing balance runs out.
Loading