getWalletBalance()
Gets the current balance of the user's selected wallet (in selected chain currency e.g. ETH)
Response
number
Example Usage
const balance = await contract.getWalletBalance();
Possible Errors
Errors in the connect()
function
Feedback
Something not quite right, unclear or can't find what you are looking for? Please let us know at support.moonpay.com and we will get back to you as soon as we can.
Updated 9 months ago