Billing

Billing on ArbitrumLink to this section

Invoices are generated on a weekly basis.

While The Graph protocol operates on Ethereum Mainnet, the billing contract lives on the Arbitrum 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:

  • Add and withdraw GRT from your billing balance.
  • 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.
  • Automatically pay invoices based on query fees generated, as long as there is enough GRT in your billing balance.

Adding GRT using a crypto walletLink to this section

This section is written assuming you already have GRT in your crypto wallet, and you're on Ethereum mainnet. If you don't have GRT, you can learn how to get GRT here.

  1. Go to the Subgraph Studio Billing page.

  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. Click the 'Add GRT' button at the center of the page. A side panel will appear.

  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.

  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.

  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.

  7. Once the transaction is confirmed, you'll see the GRT added to your billing balance within an hour.

Withdrawing GRT using a crypto walletLink to this section

This section is written assuming you have deposited GRT into your billing balance on Subgraph Studio and that you're on the Arbitrum network.

  1. Go to the Subgraph Studio Billing page.

  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 dropdown next to the 'Add GRT' button at the center 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 billing 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 billing balance in your Arbitrum wallet.

Adding GRT using a multisig walletLink to this section

  1. Go to the Subgraph Studio Billing page.

  2. Click on the "Connect Wallet" button on the top right corner of the page. Select your wallet and click on "Connect". If you're using Gnosis-Safe, you'll be able to connect your multisig as well as your signing wallet. Then, sign the associated message. This will not cost any gas.

  3. Click the 'Add GRT' button at the center of the page. A side panel will appear.

  4. Once the transaction is confirmed, you'll see the GRT added to your billing balance within an hour.

Withdrawing GRT using a multisig walletLink to this section

This section is written assuming you have deposited GRT into your billing balance on Subgraph Studio and that you're on Ethereum mainnet.

  1. Go to the Subgraph Studio Billing page.

  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 dropdown next to the 'Add GRT' button at the center of the page. Select withdraw GRT. A side panel will appear.

  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.

  5. Click 'Withdraw GRT' to withdraw the GRT from your billing balance. Sign the associated transaction in your wallet. This will cost gas.

  6. Once the transaction is confirmed, you'll see the GRT added to your Arbitrum wallet within an hour.

Getting GRTLink to this section

This section will show you how to get GRT to pay for query fees.

CoinbaseLink to this section

This will be a step by step guide for purchasing GRT on Coinbase.

  1. Go to Coinbase and create an account.
  2. Once you have created an account, you will need to verify your identity through a process known as KYC (or Know Your Customer). This is a standard procedure for all centralized or custodial crypto exchanges.
  3. Once you have verified your identity, you can purchase GRT. You can do this by clicking on the "Buy/Sell" button on the top right of the page.
  4. Select the currency you want to purchase. Select GRT.
  5. Select the payment method. Select your preferred payment method.
  6. Select the amount of GRT you want to purchase.
  7. Review your purchase. Review your purchase and click "Buy GRT".
  8. Confirm your purchase. Confirm your purchase and you will have successfully purchased GRT.
  9. You can transfer the GRT from your account to your crypto wallet such as MetaMask.
    • To transfer the GRT to your crypto wallet, click on the "Accounts" button on the top right of the page.
    • Click on the "Send" button next to the GRT account.
    • Enter the amount of GRT you want to send and the wallet address you want to send it to.
    • Click "Continue" and confirm your transaction. -Please note that for larger purchase amounts, Coinbase may require you to wait 7-10 days before transferring the full amount to a crypto wallet.

You can learn more about getting GRT on Coinbase here.

BinanceLink to this section

This will be a step by step guide for purchasing GRT on Binance.

  1. Go to Binance and create an account.
  2. Once you have created an account, you will need to verify your identity through a process known as KYC (or Know Your Customer). This is a standard procedure for all centralized or custodial crypto exchanges.
  3. Once you have verified your identity, you can purchase GRT. You can do this by clicking on the "Buy Now" button on the homepage banner.
  4. You will be taken to a page where you can select the currency you want to purchase. Select GRT.
  5. Select your preferred payment method. You'll be able to pay with different fiat currencies such as Euros, US Dollars, and more.
  6. Select the amount of GRT you want to purchase.
  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 crypto wallet such as MetaMask.
    • To withdraw the GRT to your crypto wallet, add your crypto wallet's address to the withdrawel 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.

You can learn more about getting GRT on Binance here.

UniswapLink to this section

This is how you can purchase GRT on Uniswap.

  1. Go to Uniswap and connect your wallet.
  2. Select the token you want to swap from. Select ETH.
  3. Select the token you want to swap to. Select GRT.
    • Make sure you're swapping for the correct token. The GRT smart contract address is: 0xc944E90C64B2c07662A292be6244BDf05Cda44a7
  4. Enter the amount of ETH you want to swap.
  5. Click "Swap".
  6. Confirm the transaction in your wallet and you wait for the transaction to process.

You can learn more about getting GRT on Uniswap here.

Arbitrum BridgeLink to this section

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.

Edit page

Previous
Graph Explorer
Next
Network Transition FAQ