Network Gas Oracle

Gas Oracle returns next blocks base fee as well as suggested gas fee settings in GWEI

https://api.vechainstats.io/v2/network/gas-oracle
    &VCS_API_KEY=your_api_key
{
    "status": {
        "success": true,
        "message": "OK"
    },
    "data": {
        "block_height": 22983771,
        "block_timestamp": 1760368300,
        "block_base_fee": 10000.0,
        "block_base_fee_next": 10000.0,
        "block_base_fee_offset": 0.0,
        "block": {
            "gas_limit": 40000000,
            "gas_used": 15947190,
            "usage_percentage": 39.87,
            "txns_total_count": 20,
            "vtho_rewarded": "7.276365430397464956"
        },
        "oracle": {
            "normal": {
                "max_fee_per_gas": "10000",
                "max_priority_fee_per_gas": "0"
            },
            "fast": {
                "max_fee_per_gas": "10228.142773471",
                "max_priority_fee_per_gas": "228.134229484"
            }
        },
        "vtho_price_usd": "0.00127972",
        "vtho_price_updated": 1760368262
    },
    "meta": {
        "timestamp": 1760368300
    }
}

Last updated

Was this helpful?