Build a Radix Wallet data / login / proof request
build_wallet_requestBuilds the exact wallet interaction (schema v2) a dApp sends to the Radix Wallet for ANY data request: one-time accounts and persona data (auth "none"), persona login with or without a signed challenge, reuse of a logged-in persona (use_persona), ongoing sharing, reset, and proof of ownership of known accounts and/or the persona. A request may ask for NO address at all (e.g. a login that only signs a challenge with the persona). Returns the interaction JSON, a fresh ROLA challenge when something is signed, the validation problems the wallet would reject, and the matching radix-connector call. Verify the signed answer with verify_rola_proofs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| auth | Yes | "none" = one-time request without persona; "login" = persona signs the challenge; "login_without_challenge"; "use_persona" = reuse identity_address. | none |
| reset | No | Make the wallet forget what it shares with the dApp and ask again (needs a persona). | |
| origin | Yes | Origin the wallet signs (part of every ROLA signature). | https://radix-community.genkipool.com |
| network | Yes | Radix network: "mainnet" or "stokenet". The wallet must be on the same network. | |
| accounts | No | Accounts to ask for. Omit to ask for no address. | |
| challenge | No | Your own 32-byte hex challenge. Omit to get a fresh one. | |
| persona_data | No | Persona data to ask for: full_name, email_addresses and/or phone_numbers counts. | |
| identity_address | No | Persona (identity_…) for auth "use_persona" and proof_of_ownership. | |
| proof_of_ownership | No | Sign the challenge with these known entities, nothing to pick. Requires auth "use_persona". |