Docs
chromia.com

Function

isTransferFullyApplied

  • isTransferFullyApplied(
        startConnection: Connection,
        transfer: TransferRef,
    ): Promise<boolean>

    Checks if a crosschain transfer is fully applied by verifying if it reached the target chain. This is sufficient because if a transfer reached the target chain, all intermediate hops must have been successful.

    Parameters

    • startConnection: Connection

      the connection to use to create connections to other blockchains

    • transfer: TransferRef

      the transfer to check (TransferRef format)

    Returns Promise<boolean>

    true if the transfer is fully applied (reached target chain), false otherwise