pub fn decision_request_bytes_v2(
recipient_agent_id: &str,
transfer_id: &str,
decision_id: &str,
eta_seconds: u64,
nonce: &str,
issued_at_unix: i64,
) -> Result<Vec<u8>>Expand description
Canonical bytes for an aex-decision-request:v2 message.
Signed by the recipient and returned to the sender when an inbound transfer cannot be answered synchronously — typically because a deferred decider (human, secondary AI, policy engine, or consensus) needs time to evaluate the request. The protocol takes no position on who the decider is.
Format:
aex-decision-request:v2
recipient={recipient_agent_id}
transfer={transfer_id}
decision={decision_id}
eta_secs={eta_seconds}
nonce={nonce}
ts={issued_at_unix}eta_seconds is a non-negative integer hint for how long the
sender should expect to wait. 0 means “as soon as practical”;
negative values are rejected.
Reference: ADR-0049.