# recallUnclaimedCrosschainTransfer · FT4 TypeScript client · Chromia Docs (concept)

> recallUnclaimedCrosschainTransfer(
    connection: Connection ,
    pendingTransfer: TransferRef ,
): Web3PromiEvent<void, { hop: HopData }> Does almost th

Source: https://docs.chromia.com/pages/ft4-ts-client/functions/crosschain.recallUnclaimedCrosschainTransfer/

Function

# recallUnclaimedCrosschainTransfer

* ```signature
  recallUnclaimedCrosschainTransfer(
      connection: Connection,
      pendingTransfer: TransferRef,
  ): Web3PromiEvent<void, { hop: HopData }>
  ```

  Does almost the same thing as [revertCrosschainTransfer](https://docs.chromia.com/pages/ft4-ts-client/functions/crosschain.revertCrosschainTransfer/) but while that function works on transfers that were not delivered to
  the target chain, this function is used if the assets were successfully delivered to the target chain but not claimed by an account. This will only happen when the target
  chain has create on transfer account registration strategy enabled and no one claims the target account in time.

  #### Parameters

  + connection: [Connection](https://docs.chromia.com/pages/ft4-ts-client/interfaces/ft-session.Connection/)

    connection to the source chain. I.e., the chain where the account that originally sent the assets is registered.
  + pendingTransfer: [TransferRef](https://docs.chromia.com/pages/ft4-ts-client/types/crosschain.TransferRef/)

    the transfer to recall. Can be acquired using [getPendingCrosschainTransfers](https://docs.chromia.com/pages/ft4-ts-client/interfaces/accounts.Account/#getpendingcrosschaintransfers)

  #### Returns Web3PromiEvent<void, { hop: [HopData](https://docs.chromia.com/pages/ft4-ts-client/types/crosschain.HopData/) }>

  a promi-event that will emit once for each hop during the recall. It will resolve once the transfer is completely recalled.

  #### Remarks

  If this function is called before the transfer has timed out, the promise will be rejected

[View this page on docs.chromia.com](https://docs.chromia.com/pages/ft4-ts-client/functions/crosschain.recallUnclaimedCrosschainTransfer.html)Generated API reference, mirrored from the live docs
