REST API (V1) Integration

Endpoints for pricer and signer

Native relies on API integration with market makers to achieve off-chain pricing. HTTPS protocol and authentication are required for all the endpoints. Native supports authentication methods including API key and HMAC-SHA256. All endpoints should return JSON data and appropriate status codes.
To fully integrate and enjoy Native's full capabilities, you are required to implement the following API endpoints:
  1. 1.
    Orderbook: For Native to estimate the price for different order sizes (optional)
  2. 2.
    Firm-Quote: For Native to obtain price from you given the requested token and amount
  3. 3.
    Sign-Quote: For you to validate and sign the order to be executed on-chain
Last modified 1mo ago