Authentication

To get an API Key please contact us.

Rockside API Key

In order to use Rockside you will need to have an API KEY. It gives you a full access to Rockside API.

This API Key should be kept secret and only be used in Backend Application, i.e. don't stick it in your front!

Access Token

If you want to use Rockside in a frontend application, you can create an access token. It provides limited access to specific scopes of the API.

With an access token you can use our Web3 API, deploy an Identity for an EOA managed on your side and relay transactions.

Note that you will need an API KEY to create an access token.

See the Front-end page for more information

post
Create an Access Token

https://api.rockside.io/tokens
Create an access token to use a limited scope of Rokside API from the Frontend
Request
Response
Request
Headers
apikey
required
string
Your Rockside API KEY
Body Parameters
end_user_id
optional
string
If set, the created access token will be scoped for the given user. It must be an unique identifier for each different users of your application.
origin
required
string
Limit the usage of the token to a specific and valid domain of your choosing (ex: www.myapp.com). For IOS applications indicate your bundle identifier.
contracts
required
array
If you want to allow transactions relay, indicate here addresses of authorized contracts.
Response
200: OK
{
"token": "eyJhbGciOiJIUzI1NiIsInR5eyJkb21haYXBwbGUuZHQueGN0ZXN0LnRvb2wiLCJ1c2VySUQiOiIxIiwiY29udHJhY3RzIjpbIjB4MmM2OGJmQmM2RjIyNzRFNzAxMUNkNEFCOEQ1YzBlNjlCMjM0MTMwOSJdfQ.Tw5DjRZkQVQ5SFaqIacSLm1DFY"
}