stellar / stellar-protocol

Developer discussion about possible changes to the protocol.
509 stars 301 forks source link

[PARTNER-329] SEP-6/24: Add new `user_action_required_by` transaction field #1484

Closed Ifropc closed 2 months ago

Ifropc commented 2 months ago

Add optional user_action_required_by field. This field should be used to show the time anchors gives for the user to make an action before transaction will automatically expire or be refunded. In certain statuses, such as pending_user_transfer_start or incomplete, anchor waits for the user before advancing transaction to the next status. Using new user_action_required_by field, anchor indicates the deadline of the action to take place. Anchor should specify the action waited on using message or more_info_url. user_action_required_by should only be set for the statuses that will lead to anchor automatically setting transaction to the next status (such as expired/refunded) once the deadline is reached, and should be not set (or set to null) in all other cases.

Also added missed on_hold field to SEP-6 transaction