Error: Failed to lookup method with function signature 'getAccountBalances'
KevalS opened this issue · 0 comments
KevalS commented
I am calling getAccountBalances function with my metamask wallet address and getting this error. I have double checked the abi file too and its correct. Below is how i am calling the function
let respMargin = await soloMarginContract.getAccountBalances.callAsync({"owner":"hex_address","number": new BigNumber(0)})