Skip to main content

TypeAlias.TransferERC20Params

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

Represents the parameters for transferring ERC20 tokens.

See

KeybanAccount#transferERC20

Type Parameters

Type ParameterDefault type
TFeeDetailsFeeDetails

Properties

PropertyTypeDescription
contractAddressAddressThe address of the ERC20 token contract
fees?TFeeDetailsThe transaction fees details
toAddressThe recipient's address
valuebigintThe transfer amount in the smallest token unit