# canceled_transfers · FT4 Rell API · Chromia Docs (concept)

> Represents a crosschain transfer that has been canceled. A cross-chain transfer that is past its deadline can be canceled if it never was applied
(with app

Source: https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.crosschain/canceled_transfers/

ENTITY

# canceled\_transfers

Represents a crosschain transfer that has been canceled.

A cross-chain transfer that is past its deadline can be canceled if it never was applied
(with `apply_transfer` on the last chain). To do so, `cancel_transfer` needs to be called
(instead of `apply_transfer`) on the chain that would be next in the flow.

For example, if a chain going A -> B -> C expired after `init_transfer` and never got
applied on chain B, `cancel_transfer` must be called on chain B.
If it instead expired after applying it on chain B, it must be canceled on chain C.

**See Also**

* [applied\_transfers](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.crosschain/applied_transfers/) — for an example flow of normal crosschain transfers

```signature
entity canceled_transfers {
 key init_tx_rid: byte_array;
 key init_op_index: integer;
 transaction_rid: byte_array;
 op_index: integer;
}
```

`key init_tx_rid: byte_array;`
:   The ID of the transaction that initialized this cross-chain transfer

`key init_op_index: integer;`
:   The index of the operation in the transaction that initialized this cross-chain transfer

`transaction_rid: byte_array;`
:   The RID of the transaction that canceled this transfer, all zeros if it was created before v1.2.0

`op_index: integer;`
:   The index of the operation in the transaction that canceled this transfer

[Source](https://gitlab.com/chromaway/ft4-lib/-/blob/development/rell/src/lib/ft4/core/crosschain/transfer.rell#lines-51)

[View this page on docs.chromia.com](https://docs.chromia.com/pages/ft4-rell/-f-t4%20-library/lib.ft4.core.crosschain/canceled_transfers/index.html)Generated API reference, mirrored from the live docs
