keccak(MAGIC || rlp([chain_id, address, nonce])). An account would need to raw sign over the above hash and submit it as the signedAuthorization input.
Here is a script to construct and sign the 7702 the authorization:
Body
application/json
Response
201
Delegation created successfully