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 in the Soroban host's ScMap key order (semantic content order), matching how the contract materializes the map.
Return
The SCValXdr representation of the payload.
Parameters
payload
The payload to encode.