Invite
Redeem invite code
Changed onRedeem an invite code. The signature field must be an EIP-191 personal_sign signature over the exact message:
"This signature verifies that I own the associated account and intend on redeeming code XXXX-YYYY to access RISEx"
where XXXX-YYYY is the invite code normalized to uppercase, whitespace trimmed, and formatted with a hyphen after the 4th character (the canonical wallet-displayed form). For example, a request code of "abcd1234" produces the substituted message "...redeeming code ABCD-1234 to access RISEx". The frontend MUST apply the same normalization (uppercase + trim) before signing, or the recovered signer will not match address and the request will be rejected.
post/v1/invite/redeem
Request
- Base URLhttps://api.testnet.rise.trade
- Authnone required
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
A successful response.
Changes
- info
endpoint added
- info