@kagamidigital/salt-sdk-mirror
    Preparing search index...

    Interface ERC20TransferParams

    Parameters for an ERC20 token transfer. value is the amount in the token's smallest unit (use viem's parseUnits(amount, decimals)).

    interface ERC20TransferParams {
        accountId: string;
        chainId: number;
        publicClient: ViemPublicClientLike;
        to: string;
        tokenAddress: string;
        type: ERC20;
        userAddress: `0x${string}`;
        value: bigint;
        walletClient: AttachedWalletClient;
    }

    Hierarchy (View Summary)

    Index

    Properties

    accountId: string
    chainId: number
    publicClient: ViemPublicClientLike
    to: string
    tokenAddress: string

    Contract address of the ERC20 token being transferred.

    type: ERC20
    userAddress: `0x${string}`
    value: bigint
    walletClient: AttachedWalletClient