Calculate withdrawal fees from the on-chain FeeModule contract
Reads the withdrawal fee from the on-chain FeeModule contract. Performs two sequential RPC calls: reads the FeeModule address from the WithdrawQueue, then multicalls calculateOfferFees and offerFeePercentage.
Import
import { getWithdrawalFee } from '@paxoslabs/amplify-sdk'