Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
solaris-rig opened this issue Sep 12, 2024 · 2 comments
Labels
type: bug Something isn't working

Comments

@solaris-rig
Copy link

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 solaris-rig added the type: bug Something isn't working label Sep 12, 2024
@WalletConnect WalletConnect deleted a comment Sep 13, 2024
@mvaljento
Copy link

mvaljento commented Dec 20, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants