v1
latestOpenAPI 3.1.02026-07-243035381.4 MBFee Estimation API
Estimate gas for a transfer
10 credits per API call
Get an estimated gas price (wei) and the number of gas units needed for a transaction.
New endpoint which is unifying all supported chains for gas estimation into the one. List of supported chains is bellow.
- BNB Smart Chain (BSC)
- Celo (CELO)
- Elrond (EGLD)
- Ethereum (ETH)
- Harmony (ONE)
- Klaytn (KLAY)
- KuCoin Community Chain (KCS)
- Flare (FLR)
- Cronos (CRO)
- Avalanche (AVAX)
- Base (BASE)
- Polygon (POL_ETH)
- Optimism (OPTIMISM)
- Fantom (FTM)
- Sonic (S)
post/v4/blockchainOperations/gas
Request body
Example request
{
"from": "0xfb99f8ae9b70a0c8cd96ae665bbaf85a7e01a2ef",
"to": "0x687422eEA2cB73B5d3e242bA5456b782919AFc85",
"amount": "100000",
"data": "0x",
"contractAddress": "0x687422eEA2cB73B5d3e242bA5456b782919AFc85"
}Response
OK
Example response
{
"gasPrice": "10000000000",
"gasLimit": "21000"
}