Closed 7flash closed 7 months ago
You're passing in the wrong arguments to the function. Should be:
await publicEthClient.getERC20({
erc20: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48', // usdc
id: 1,
})
What you have might be more intuitive, will think about changing it
Given following code
throws an error