1 credit per API call
Get the recommended fee/gas price for a blockchain.
Fee is in satoshis(meaning currency(BTC, DOGE,... / 100 000 000) per byte
This API is supported for the following blockchains:
OK
Unauthorized. Not valid or inactive subscription key present in the HTTP Header.
Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.
Internal server error. There was an error on the server while processing the request.
{- "fast": 14766927339,
- "medium": 13333333333,
- "slow": 12953333333,
- "baseFee": 12657357496,
- "time": "2022-12-08T08:42:04.518Z",
- "block": 16138867
}
10 credits per API call
Estimate the current fee for different types of transactions.
This API is supported for the following blockchains:
OK
Bad Request. Validation failed for the given object in the HTTP Body or Request parameters.
Unauthorized. Not valid or inactive subscription key present in the HTTP Header.
Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.
Internal server error. There was an error on the server while processing the request.
{- "chain": "CELO",
- "type": "DEPLOY_ERC20"
}
{- "fast": "0.006584",
- "medium": "0.004584",
- "slow": "0.002584"
}
2 credits per API call
Get an estimated gas price and the number of gas units needed for a BNB Smart Chain transaction. The gas price is obtained from https://explorer.bitquery.io/bsc/gas.
NOTE: The estimated gas price is returned in wei. However, when making the transaction itself and providing the custom fee, you have to provide the gas price in Gwei. Make sure to convert the estimated gas price from wei to Gwei before submitting your transaction.
OK
Bad Request. Validation failed for the given object in the HTTP Body or Request parameters.
Unauthorized. Not valid or inactive subscription key present in the HTTP Header.
Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.
Internal server error. There was an error on the server while processing the request.
{- "from": "0xfb99f8ae9b70a0c8cd96ae665bbaf85a7e01a2ef",
- "to": "0x687422eEA2cB73B5d3e242bA5456b782919AFc85",
- "amount": "100000"
}
{- "gasPrice": "10000000000",
- "gasLimit": "21000"
}
2 credits per API call
Get an estimated gas price and the number of gas units needed for a Celo transaction. The gas price is obtained from https://explorer.bitquery.io/celo_rc1/gas.
NOTE: The estimated gas price is returned in wei. However, when making the transaction itself and providing the custom fee, you have to provide the gas price in Gwei. Make sure to convert the estimated gas price from wei to Gwei before submitting your transaction.
OK
Bad Request. Validation failed for the given object in the HTTP Body or Request parameters.
Unauthorized. Not valid or inactive subscription key present in the HTTP Header.
Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.
Internal server error. There was an error on the server while processing the request.
{- "from": "0xfb99f8ae9b70a0c8cd96ae665bbaf85a7e01a2ef",
- "to": "0x687422eEA2cB73B5d3e242bA5456b782919AFc85",
- "amount": "100000"
}
{- "gasPrice": "10000000000",
- "gasLimit": "21000"
}
2 credits per API call
Get an estimated gas price and the number of gas units needed for an Elrond transaction. The gas price is obtained from https://gateway.elrond.com/network/config. The gas limit is obtains from https://gateway.elrond.com/transaction/cost.
OK
Bad Request. Validation failed for the given object in the HTTP Body or Request parameters.
Unauthorized. Not valid or inactive subscription key present in the HTTP Header.
Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.
Internal server error. There was an error on the server while processing the request.
{- "sender": "erd17k95m339aqzxzyvjjjfa3lka0yyeqgcsda50tw5z9g73ycfe2caq9e6jq7",
- "receiver": "erd17k95m339aqzxzyvjjjfa3lka0yyeqgcsda50tw5z9g73ycfe2caq9e6jq6",
- "value": "0.1"
}
{- "gasPrice": 1000000000,
- "gasLimit": 77000
}
10 credits per API call
Get an estimated gas price and the number of gas units needed for an Ethereum transaction. The gas price is obtained from multiple sources and calculated based on the latest N blocks and the current mempool state.
The fast
gas price is used by default.
NOTE: The estimated gas price is returned in wei. However, when making the transaction itself and providing the custom fee, you have to provide the gas price in Gwei. Make sure to convert the estimated gas price from wei to Gwei before submitting your transaction.
OK
Bad Request. Validation failed for the given object in the HTTP Body or Request parameters.
Unauthorized. Not valid or inactive subscription key present in the HTTP Header.
Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.
Internal server error. There was an error on the server while processing the request.
{- "from": "0xfb99f8ae9b70a0c8cd96ae665bbaf85a7e01a2ef",
- "to": "0x687422eEA2cB73B5d3e242bA5456b782919AFc85",
- "amount": "100000"
}
{- "gasLimit": "40000",
- "gasPrice": "20000000000",
- "estimations": {
- "safe": "20000000000",
- "standard": "40000000000",
- "fast": "55000000000",
- "baseFee": "55000000000"
}
}
10 credits per API call + 10 credits per each gas estimation
Get an estimated gas price and the number of gas units needed for multiple Ethereum transactions. The gas price is obtained from multiple sources and calculated based on the latest N blocks and the current mempool state.
The estimations are returned in the same order as the transactions were submitted in the request.
The fast
gas price is used by default.
NOTE: The estimated gas price is returned in wei. However, when making a transaction itself and providing the custom fee, you have to provide the gas price in Gwei. Make sure to convert the estimated gas price from wei to Gwei before submitting your transaction.
OK
Bad Request. Validation failed for the given object in the HTTP Body or Request parameters.
Unauthorized. Not valid or inactive subscription key present in the HTTP Header.
Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.
Internal server error. There was an error on the server while processing the request.
{- "estimations": [
- {
- "from": "0xfb99f8ae9b70a0c8cd96ae665bbaf85a7e01a2ef",
- "to": "0x687422eEA2cB73B5d3e242bA5456b782919AFc85",
- "amount": "100000"
}
]
}
{- "error": true,
- "result": [
- {
- "error": true,
- "msg": "Provided address 0xt16360210b423d3a5205923d6e64a2d142d9f426 is invalid, the capitalization checksum test failed, or it's an indirect IBAN address which can't be converted."
}, - {
- "error": false,
- "contractAddress": "0xdac17f958d2ee523a2206206994597c13d831ec7",
- "data": {
- "gasLimit": "63185",
- "gasPrice": "119104833751",
- "estimations": {
- "safe": "100833333333",
- "standard": "104833333333",
- "fast": "119104833751",
- "baseFee": "119104833751"
}
}
}
]
}
2 credits per API call
Get an estimated gas price and the number of gas units needed for a Harmony transaction.
NOTE: The estimated gas price is returned in wei. However, when making the transaction itself, you have to provide the gas price in Gwei. Make sure to convert the estimated gas price from wei to Gwei before submitting your transaction.
from required | string = 66 characters Sender address. |
to required | string = 42 characters Blockchain address to send assets |
amount required | string^[+]?((\d+(\.\d*)?)|(\.\d+))$ Amount to be sent in One. |
data | string <= 50000 characters Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format |
OK
Bad Request. Validation failed for the given object in the HTTP Body or Request parameters.
Unauthorized. Not valid or inactive subscription key present in the HTTP Header.
Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.
Internal server error. There was an error on the server while processing the request.
{- "from": "0xfb99f8ae9b70a0c8cd96ae665bbaf85a7e01a2ef",
- "to": "0x687422eEA2cB73B5d3e242bA5456b782919AFc85",
- "amount": "100000"
}
{- "gasLimit": "21000",
- "gasPrice": "10000000000"
}
2 credits per API call
Get an estimated gas price and the number of gas units needed for a Klaytn transaction. The gas price is obtained from https://explorer.bitquery.io/klaytn/gas.
NOTE: The estimated gas price is returned in peb. However, when making the transaction itself and providing the custom fee, you have to provide the gas price in Gpeb. Make sure to convert the estimated gas price from peb to Gpeb before submitting your transaction.
from required | string = 42 characters Sender address. |
to required | string = 42 characters Blockchain address to send assets |
amount required | string^[+]?((\d+(\.\d*)?)|(\.\d+))$ Amount to be sent in KLAY. |
data | string <= 50000 characters ^(0x|0h)?[0-9A-F]+$ Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format |
OK
Bad Request. Validation failed for the given object in the HTTP Body or Request parameters.
Unauthorized. Not valid or inactive subscription key present in the HTTP Header.
Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.
Internal server error. There was an error on the server while processing the request.
{- "from": "0xfb99f8ae9b70a0c8cd96ae665bbaf85a7e01a2ef",
- "to": "0x687422eEA2cB73B5d3e242bA5456b782919AFc85",
- "amount": "100000"
}
{- "gasPrice": "20",
- "gasLimit": "40000"
}
2 credits per API call
Get an estimated gas price and the number of gas units needed for a KuCoin Community Chain transaction.
NOTE: The estimated gas price is returned in wei. However, when making the transaction itself and providing the custom fee, you have to provide the gas price in Gwei. Make sure to convert the estimated gas price from wei to Gwei before submitting your transaction.
from required | string = 42 characters Sender address. |
to required | string = 42 characters Blockchain address to send assets |
amount required | string^[+]?((\d+(\.\d*)?)|(\.\d+))$ Amount to be sent in KCS. |
data | string <= 50000 characters ^(0x|0h)?[0-9A-F]+$ Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format |
OK
Bad Request. Validation failed for the given object in the HTTP Body or Request parameters.
Unauthorized. Not valid or inactive subscription key present in the HTTP Header.
Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.
Internal server error. There was an error on the server while processing the request.
{- "from": "0xfb99f8ae9b70a0c8cd96ae665bbaf85a7e01a2ef",
- "to": "0x687422eEA2cB73B5d3e242bA5456b782919AFc85",
- "amount": "100000"
}
{- "gasPrice": "10000000000",
- "gasLimit": "21000"
}
2 credits per API call
Get an estimated gas price and the number of gas units needed for a Polygon transaction. The gas price is obtained from https://gasstation-mainnet.matic.network/.
NOTE: The estimated gas price is returned in wei. However, when making the transaction itself and providing the custom fee, you have to provide the gas price in Gwei. Make sure to convert the estimated gas price from wei to Gwei before submitting your transaction.
from required | string = 42 characters Sender address. |
to required | string = 42 characters Blockchain address to send assets |
amount required | string^[+]?((\d+(\.\d*)?)|(\.\d+))$ Amount to be sent in MATIC. |
data | string <= 50000 characters ^(0x|0h)?[0-9A-F]+$ Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format |
OK
Bad Request. Validation failed for the given object in the HTTP Body or Request parameters.
Unauthorized. Not valid or inactive subscription key present in the HTTP Header.
Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.
Internal server error. There was an error on the server while processing the request.
{- "from": "0xfb99f8ae9b70a0c8cd96ae665bbaf85a7e01a2ef",
- "to": "0x687422eEA2cB73B5d3e242bA5456b782919AFc85",
- "amount": "100000"
}
{- "gasPrice": "10000000000",
- "gasLimit": "21000"
}
2 credits per API call
Get an estimated gas price and the number of gas units needed for a XinFin transaction. The gas price is obtained from https://rpc.xinfin.network/gasPrice.
NOTE: The estimated gas price is returned in wei. However, when making the transaction itself and providing the custom fee, you have to provide the gas price in Gwei. Make sure to convert the estimated gas price from wei to Gwei before submitting your transaction.
OK
Bad Request. Validation failed for the given object in the HTTP Body or Request parameters.
Unauthorized. Not valid or inactive subscription key present in the HTTP Header.
Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.
Internal server error. There was an error on the server while processing the request.
{- "from": "xdcfb99f8ae9b70a0c8cd96ae665bbaf85a7e01a2ef",
- "to": "xdc687422eEA2cB73B5d3e242bA5456b782919AFc85",
- "amount": "100000"
}
{- "gasPrice": "10000000000",
- "gasLimit": "21000"
}
5 credits per API call
Get an estimated amount of gas needed for a VeChain transaction.
OK
Bad Request. Validation failed for the given object in the HTTP Body or Request parameters.
Unauthorized. Not valid or inactive subscription key present in the HTTP Header.
Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.
Internal server error. There was an error on the server while processing the request.
{- "from": "0x5034aa590125b64023a0262112b98d72e3c8e40e",
- "to": "0x5034aa590125b64023a0262112b98d72e3c8e40e",
- "value": "140"
}
21000