Skip to main content

TypeAlias.TransferERC20Params

type TransferERC20Params<TFeeDetails> = {
contractAddress: Address;
fees?: TFeeDetails;
to: Address;
value: bigint;
};

Parameters for transferring ERC‑20-like fungible tokens.

See

Type Parameters

Type ParameterDefault typeDescription
TFeeDetailsFeeDetailsNetwork-specific fee type (defaults to FeeDetails).

Properties

PropertyTypeDescription
contractAddressAddressThe token contract address.
fees?TFeeDetailsOptional network-specific fee parameters.
toAddressThe recipient wallet address.
valuebigintAmount to transfer, in the token's smallest unit.