The client to use.
The block number or hash to get the fee config for. FeeConfigParameters
The fee config for the specified block. FeeConfigReturnType
import { createClient, http } from '@avalanche-sdk/client'
import { avalanche } from '@avalanche-sdk/client/chains'
import { feeConfig } from '@avalanche-sdk/client/methods/public'
const client = createClient({
chain: avalanche,
transport: http(),
})
const feeConfig = await feeConfig(client, { blk: "0x1" })
Get the fee config for a specific block.