Closed shleodai closed 2 months ago
🤔
👋 The address in question https://sepolia.basescan.org/address/0x1d61B40534De76FB238aF5a81f310324ceeD1E87 has 0 ETH to pay for gas.
We'll update the error code to better reflect this.
Also, if you upgrade to our latest SDK release you can specify gasless: true
for USDC transfers, and CB will sponsor the gas for your transaction. This particular address would be able to make that same transfer with 0 ETH by adding that parameter!
Thanks! Problem fixed long ago. Sorry that I didn't update it here.
Problem Description:
I was trying to transfer 0.01 USDC with the following code:
And there was that error. Here, My wallet is hydrated. Another wallet is generated by
user.createWallet()
.Note: My wallet is 0x1d61B40534De76FB238aF5a81f310324ceeD1E87, with CDP wallet id ca5ca8f6-3967-47e9-ab36-74db87a7c252. It has 10 USDC in Base Sepholia, so it's not a problem with insufficient balance. I am trying to create outgoing transfer to anotherWallet. Please fix my issue. Thank you!
I would give out all HTTP requests and responses related to this issue: (Authorization secret is omitted)