dydxprotocol/solo

Error: Failed to lookup method with function signature 'getAccountBalances'

KevalS opened this issue · 0 comments

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)})

Screen Shot 2020-01-10 at 6 13 29 PM