• track the transfer until the destination is initiated

    Type Parameters

    • N extends "Mainnet" | "Testnet" | "Devnet"

    Parameters

    • route: Route<N, Options, ValidatedTransferParams<Options>, Receipt>

      The route that can be used to track the receipt

    • receipt: Receipt

      The receipt to track

    • Optional destinationSigner: Signer<N>

      The signer for the destination chain if

    • Optional timeout: number
    • Optional log: {
          (...data): void;
          (message?, ...optionalParams): void;
      }
        • (...data): void
        • Parameters

          • Rest ...data: any[]

          Returns void

        • (message?, ...optionalParams): void
        • Prints to stdout with newline. Multiple arguments can be passed, with the first used as the primary message and all additional used as substitution values similar to printf(3) (the arguments are all passed to util.format()).

          const count = 5;
          console.log('count: %d', count);
          // Prints: count: 5, to stdout
          console.log('count:', count);
          // Prints: count: 5, to stdout

          See util.format() for more information.

          Parameters

          • Optional message: any
          • Rest ...optionalParams: any[]

          Returns void

          Since

          v0.1.100

    Returns Promise<CreatedTransferReceipt | SourceInitiatedTransferReceipt | FailedTransferReceipt | SourceFinalizedTransferReceipt | AttestedTransferReceipt | CompletedTransferReceipt>

Generated using TypeDoc