walletconnect-monorepo icon indicating copy to clipboard operation
walletconnect-monorepo copied to clipboard

Smart Contract Call only show fees (BNB) Not actual transfer amount (USDT-BEP20)

Open solaris-rig opened this issue 1 year ago • 2 comments

I create smart contract call as per following: import { useWriteContract } from "wagmi";

const { writeContractAsync } = useWriteContract();

const data = await writeContractAsync({ address: '0x55d398326f99059fF775485246999027B3197955', // USDT Contract Address functionName: 'transfer', abi: abis, args: [ toAddress, txAmount , ], })

Tested on trustwallet mobile

result photo

WhatsApp Image 2024-09-13 at 02 54 51_22276cd3

when clicked confirm, it send correct USDT amount. Please help figure out how to make the wallet show USDT instead of BNB

solaris-rig avatar Sep 12 '24 19:09 solaris-rig

Did you figure this out? I'm facing the same issue. I can't access the Linear workspace so not sure what's behind the link in the previous comment.

mvaljento avatar Dec 20 '24 10:12 mvaljento