write
Writes an SmartAccountAuthPayload to its SCValXdr representation.
Builds the Map with exactly two entries (order: context_rule_ids, then signers). Signer entries within the signers map are sorted by XDR-encoded key bytes (lowercase hex, lexicographic).
Return
The SCValXdr representation of the payload.
Parameters
payload
The payload to encode.