Retrieves authorization token for requests to the Staking API
Last updated 8 months ago
Retrieves authorization token for requests to the Staking API.
OK
const response = await fetch('https://validationcloud.us.auth0.com/oauth/token', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({}), }); const data = await response.json();
{ "access_token": "text", "scope": "text", "expires_in": "text", "token_type": "text" }