@zetachain/toolkit / getRefundFee
Function: getRefundFee()
getRefundFee(
this,inputZRC20):Promise<object>
Calculates the refund fee in the input ZRC20 token.
Parameters
• this: ZetaChainClient
• inputZRC20: string
The input ZRC20 token address.
Returns
Promise<object>
- An object containing the refund fee amount and its decimals.
amount
amount:
any=withdrawFee
decimals
decimals:
any=inputDecimals