fetchUserDiscount
See the full code here.
fetchUserDiscount(userAddress: string): Promise<number>
Returns
Returns a Promise
that, when resolved, provides a number
which is the fee discount the user is entitled e.g. 20 is interpreted to mean a 20% discount on the fees charged.
Parameters
# The user address to get the discount ofuserAddress: string