From 77ae38e138c99df7aadd650647a45ee254b85f69 Mon Sep 17 00:00:00 2001 From: msizov Date: Thu, 18 Dec 2025 14:13:06 +0700 Subject: [PATCH] add eth_baseFee to avax (#760) --- .../dshackle/upstream/calls/DefaultEthereumMethods.kt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main/kotlin/io/emeraldpay/dshackle/upstream/calls/DefaultEthereumMethods.kt b/src/main/kotlin/io/emeraldpay/dshackle/upstream/calls/DefaultEthereumMethods.kt index ae910933..1476391a 100644 --- a/src/main/kotlin/io/emeraldpay/dshackle/upstream/calls/DefaultEthereumMethods.kt +++ b/src/main/kotlin/io/emeraldpay/dshackle/upstream/calls/DefaultEthereumMethods.kt @@ -234,6 +234,10 @@ class DefaultEthereumMethods( "eth_chainId", ) + private val avalancheMethods = listOf( + "eth_baseFee", + ) + private val filecoinMethods = listOf( "Filecoin.ChainBlockstoreInfo", "Filecoin.ChainExport", @@ -734,6 +738,8 @@ class DefaultEthereumMethods( Chain.FILECOIN__MAINNET, Chain.FILECOIN__CALIBRATION_TESTNET -> filecoinMethods + Chain.AVALANCHE__MAINNET, Chain.AVALANCHE__FUJI -> avalancheMethods + Chain.SEI__MAINNET, Chain.SEI__TESTNET, Chain.SEI__DEVNET -> seiMethods Chain.CRONOS_ZKEVM__MAINNET, Chain.CRONOS_ZKEVM__TESTNET -> zxkSyncMethods + "zk_estimateFee"