Constructors

Properties

squidBaseUrl: string
squidIntegratorId: string

Methods

  • Parameters

    • transactionId: string

    Returns Promise<undefined | StatusResponse>

  • Parameters

    • args: GetStatusArgs

    Returns Promise<undefined | StatusResponse>

  • Parameters

    • args: SwapRouteArgs

    Returns Promise<{
        errors: SquidErrorType[];
        success: false;
    } | {
        route: RouteData;
        success: true;
    }>

  • Parameters

    • args: SwapRouteArgs

    Returns Promise<RouteResponse>

  • Parameters

    • chainId: string
    • tokenAddress: string

    Returns Promise<number>

  • Parameters

    • Optional chainId: string

    Returns Promise<TokenData[]>

  • Parameters

    Returns void

  • Returns boolean