Quick Start
Get up and running with the Minima API
Last updated
Get up and running with the Minima API
Last updated
API Keys are entirely optional, so why even use one for your integration?
馃攳 Tracking volume! API Keys are how we can track volume per integration, and provide you with details on volume that moves through your specific integration.
馃捀 Set your own custom trade fee. This fee will be directed to your configured fee collector address
To get your API keys, head over to nodefinance.org and click "Start for free." Once you create your account, log-in, go to the "Mission Control" section and click "API Keys" to generate your keys.
Include your API key in the header such as the following:
Good to know: API Keys are entirely optional, your integration will still work without them!
To make your first request, send an authenticated request to the pets endpoint. This will calculate a route.
Good to know: If a route cannot be found between two tokens, you will receive an error message which designates that.
Take a look at how you might call this method:
Get a swap route from one token to another
/routes
Input token for swap
Output token
Total amount of input token to be traded
Transaction originator. If present, will return a transaction ready to be signed
Allowed slippage, in bips. Can be congifigured at transaction, defaults to 10 BPS
Recipient of trade. Defaults to from
Deadline for quote, defaults to 5 minutes
Chain to perform swap on, defaults to 42220 (CELO). More chains coming soon.
42220
, 4487