Get an Access Token
Get an access token to use with other API calls.
1. Configure your application
Get a set of Backend Credentials, a client id
and client secret
, from your Developer Portal.
2. Set the scopes
Set the grant to client_credentials
and the scope to eth_sign
.
3. Authenticate with your credentials
Use HTTP Basic Authentication to send your credentials. See auth=
from above example.
4. Get your token
The call should return a 200 and the access token should be in the access_token
field in the response. The above print statement would output the following.