Mechanism
Opting out
One signed message stops all future drops to a wallet. It costs nothing and grants no permissions.
How#
Open Opt out, connect the wallet and sign. The wallet goes on the exclusion list immediately; drops already sent stay where they are. You can opt back in the same way.
The exact message#
Your wallet signs this text (with send me drops again on the first line to opt back in):
text
Volume Ball: stop sending me drops
Wallet: <your address>
Issued: <ISO timestamp>
Signing this message costs nothing and grants no permissions.The server checks the ed25519 signature against the wallet and accepts messages issued within the last 10 minutes.
From the API#
bash
curl -X POST https://volumeball.dev/api/optout \
-H 'content-type: application/json' \
-d '{"wallet":"<address>","action":"out","issued":"<ISO time in the message>","signature":"<base58 signature>"}'
# -> { "ok": true, "optedOut": true }