The client to use.
The maximum priority fee per gas for the next block. MaxPriorityFeePerGasReturnType
import { createClient, http } from '@avalanche-sdk/client'
import { avalanche } from '@avalanche-sdk/client/chains'
import { maxPriorityFeePerGas } from '@avalanche-sdk/client/methods/public'
const client = createClient({
chain: avalanche,
transport: http(),
})
const maxPriorityFeePerGas = await maxPriorityFeePerGas(client)
Get the maximum priority fee per gas for the next block.