The Stelo API is a REST API with two primary endpoints:

  1. Transaction endpoint
  2. Signature endpoint

You can learn more about each API endpoint and try them out live by following the links in the "Link to Next Steps" section below.

API Keys

You will need an API key to use the API. Reach out to [email protected] to request one.

Quickstart

Once you have your API Key, use your favorite HTTP library to make a POST request to the Transaction or Signature endpoint providing the appropriate params in the request body and providing the apiKey as a query param. As an example, here's a mint transaction:

curl --request POST \
     --url 'https://app.steloapi.com/api/v0/transaction?apiKey=YOUR_API_KEY' \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data '
{
     "data": "0x1249c58b",
     "gas": "0x19038",
     "to": "0xabbbdf5226f9b993e5e15a01fcb1b9c9a25987be",
     "value": "0x2386f26fc10000",
     "url": "https://heartbeat.themetagame.xyz",
     "from": "0x029559467c12ac8173c387da6e4c66e4a6c8af61"
}
'

SDK

The Stelo API can also be used via a TypeScript SDK. This is currently under development, but please reach out to [email protected] if you need it urgently.