Function useTransferGasFeesSWR

  • React hook to get the gas fees for a cosmos or IBC transfer transaction

    Parameters

    • sender: undefined | Wallet
    • recipient: undefined | Wallet
    • token: undefined | {
          amount: string;
          asset: Asset;
      }
    • enabled: boolean = true
    • Optional isTestnet: boolean

    Returns SWRResponse<TransferFeeResult, any, any>