GET
/
api
/
v1
/
accounts
/
onchain-daily-limit
Get current onchain daily limit
const url = 'https://api.gnosispay.com/api/v1/accounts/onchain-daily-limit';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}, body: undefined};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
{
  "data": {
    "onchainDailyLimit": 2500,
    "onchainDailyRemaining": 1000
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200
application/json

Successfully retrieved the current onchain daily limit.

The response is of type object.