ENTITY

recalled_transfers

Represents a crosschain transfer that has been recalled.

A cross-chain transfer can be used to register accounts if the chain was configured to do so. If it is possible, the transfer must be "claimed" on the end chain by using the correct register account strategy. This will end upregistering the account, moving the funds to it, and removing any funds that should be consumed on account registration, if applicable.

For example, if a chain going A -> B -> C has been sent to an account which does not exist on chain C, chain C will consider that transfer to be aimed at registering that account. There will be no way for the user that sent the funds to retrieve them until the expiration date. After the transfer has expired, if the account wasn't registered, the user that sent the funds will be able to call recall_unclaimed_transfer on chain C; the transfer must then be unapplied on chain B and reverted on chain A.

See Also

  • applied_transfers — for an example flow of normal crosschain transfers
  • [create_on_crosschain_transfers] — for more information on registering accounts with crosschain transfers
  • [core.accounts.strategies.register_account] — for more information on register account strategies
entity recalled_transfers {

The ID of the transaction that initialized this cross-chain transfer

key init_tx_rid: byte_array;

The index of the operation in the transaction that initialized this cross-chain transfer

key init_op_index: integer;

The RID of the transaction that recalled this transfer, all zeros if it was created before v1.2.0

transaction_rid: byte_array;

The index of the operation in the transaction that recalled this transfer

op_index: integer;
}
© 2024 Chromia