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) #359

Open
solaris-rig opened this issue Sep 12, 2024 · 0 comments

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

@trustwallet trustwallet deleted a comment Sep 17, 2024
@trustwallet trustwallet deleted a comment Sep 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant