4.5 Fee Oracle API

Fetch dynamic gas fee recommendations using AI agents.

REST Example

curl https://api.avilom.net/fee

Response

{
  "maxPriorityFeePerGas": "23000000000",
  "baseFee": "120000000000",
  "timestamp": 1610000000
}

JavaScript

const res = await fetch("https://api.avilom.net/fee");
const { maxPriorityFeePerGas, baseFee } = await res.json();

Use these values in your dApp transaction settings.

Last updated