Skip to content

Introduction

Authorization

Use the Authorization header with the following value: Bearer <your-token>

Amounts

Gwei amounts are used across the entire API.

1 Ether = 1000000000 Gwei, so for example:

0.04 BTC = 40000000 Gwei

11 XMR = 11000000000 Gwei

See: https://eth-converter.com/

Guarantee, QR

Transactions created from API do not differ from normal transactions.

Therefore, you can navigate to https://sageswap.io/transaction/<transaction_id>/guarantee for a GPG guarantee letter, or to https://sageswap.io/transaction/<transaction_id>/qr for a wallet QR code.

Rate limit

Currently, our rate limit is set to 10 requests per second. Please try to not exceed this value, repeated abuse of our API can result in suspension of your API access.

Webhooks

Webhooks for transactions are not available yet, but they're our top priority

Correlation ID

API responses contain a X-Correlation-Id header. This is a unique identifier for your request. If something goes wrong and you need to contact support, make sure to provide them with this value.