Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
JavaScript
const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: JSON.stringify({message: '<string>', signature: '<string>', ttlInSeconds: 3600}) }; fetch('https://api.gnosispay.com/api/v1/auth/challenge', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
{ "token": "<string>" }
SIWE message containing the nonce
EOA signature or EIP-1271 contract signature
Represents the duration of the token in seconds. If not provided, defaults to 1 hour. Maximum 24 hours.
60 <= x <= 86400
Signature verified successfully
JWT token for API authentication