Sign API
Create an unsigned session on your server, then mount the widget with session + et.
Widget setup (script, iframe, origin allowlist): Setup Sign widget.
POST https://partners.riddlewallet.com/api/v1/sign/session
X-Api-Key: rpk_live_…
{ "chain": "xrpl", "txjson": { "TransactionType": "Payment", "Destination": "r…", "Amount": "1000000" } }
GET https://partners.riddlewallet.com/api/v1/sign/session/:id
GET https://partners.riddlewallet.com/api/v1/sign/session/:id?et=
POST https://partners.riddlewallet.com/api/v1/sign/session/:id/complete
{ "et": "…", "txHash": "…" }Status: pending, signed, expired, cancelled. Widget event: riddle-embed:signed.