Type Alias RequestSwapEvent

RequestSwapEvent: {
    fromTokenAddress: string;
    toTokenAddress: string;
    amount: string;
}

Represents the swap event object when the swap widget is requested.

Type declaration

  • fromTokenAddress: string

    The address of the token to swap from.

  • toTokenAddress: string

    The address of the token to swap to.

  • amount: string

    The amount of from tokens to swap.