FUNCTION
has_tx_expired
function has_tx_expired(rule: rule, tx_start_timestamp: integer): booleanUtility function which returns whether a transaction has expired, given the rule it was using to register the account. If a transaction has expired, the account can no longer be registered and the transfer can be recalled to move funds back to the original sender.
Parameters
- rule — the rule to check
- tx_start_timestamp — the timestamp of the transfer registration. For on-chain transfers, it's the timestamp of the transfer. For cross-chain transfers, it's the timestamp of the last
apply_transferoperation, when funds reached this chain.
See Also
- pending_transfer_expiration_state — for more information on expiration.
© 2024 Chromia