developer
developer copied to clipboard
Smart Contract Call only show fees (BNB) Not actual transfer amount (USDT-BEP20)
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
when clicked confirm, it send correct USDT amount. Please help figure out how to make the wallet show USDT