Skip to content

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

@solaris-rig

Description

@solaris-rig

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions