Bank payouts
Start a Monerium link
Starts the connection of a Safe to a Monerium account. The route asks the Safe, through ERC-1271, whether it accepts the owner signature over the Monerium address-link message. Only then does it start the Monerium sign-in and return the URL to send the browser to. Nothing goes on chain.
- Who may call: the owners of the Safe, from a browser.
- Before: the Safe has the Anafi off-ramp handler as its fallback handler. The owners
sign the Safe EIP-712
SafeMessage(domain:chainIdandverifyingContract= the Safe) whosemessageis the EIP-191 hash of the textI hereby declare that I am the address owner. - Send the request with credentials (
credentials: "include"). The answer sets a cookie that binds the flow to this browser. Without the cookie, the flow cannot finish. - Guarantee: after consent at Monerium, Anafi sends the browser to the Anafi dapp
with the query
monerium=connected, ormonerium=errorand areason.
Served only on polygon-amoy. See Bank payouts and
Off-ramp handler.
POST
Start a Monerium link
Body
application/json