messaging

Publish or rotate your mailbox (EIP-191 signed, monotonic by ts)

post/api/messages/v2/mailbox

Request

  • Base URL: https://api.anygas.xyz/svc
  • URL: https://api.anygas.xyz/svc/api/messages/v2/mailbox
  • Auth: none declared

Request body

addressstring required
metaAddressstring required
kemPubstring required

base64 hybrid ML-KEM-768+X25519 public key (1216 bytes)

tsinteger required

unix seconds, ±10 min

sigstring required

personal_sign of "robyn-messaging v2\naction: mailbox\naddress: …\nmeta: …\nkem: <sha256 of kemPub bytes>\nts: …"

Example request

{
  "metaAddress": "st:eth:0x02…"
}

Response

{ok, address, since} or {ok, unchanged:true}

Changes

No recorded changes to this operation across all 1 revision of this API.