NOWPayments is a crypto payment gateway that lets you accept The Graph payments and donations in an easy and convenient way. Try this The Graph payment gateway NOW!
You want to accept crypto for goods and services
NOWPayments offers 16 merchant tools allowing to implement crypto payments on any website, service and brick&mortar store.
Customer chooses to pay with crypto
NOWPayments will give your customers the list on 300+ cryptocurrencies they can use to pay for goods and services.
We generate a payment window
We calculate the price in the selected cryptocurrency and provide payment details for the customer.
You receive profit directly to your personal wallet
Once we have processed the payment, we automatically exchange it if needed and send it directly to your personal wallet.
GRT is the native utility token of The Graph. It is an ERC-20 token and has several use cases within the network. For instance, indexers need to stake the token to provide indexing and querying services within the network. The token can also be deposited or delegated to earn rewards and commissions. Furthermore, users on the network can pay for services using the token. These and other use cases impact GRT’s value positively.
import axios from 'axios';
axios.get('https://api.nowpayments.io/v1/estimate',
{
params: {
amount: 100,
currency_from: 'USD',
currency_to: 'GRT',
},
headers: { 'x-api-key': 'your_api_key' },
})
.then((response) => {
console.log(response.data);
})
or