REST API Integration

Endpoints for Pricer and Signer

Native relies on seamless API integration with market makers to ensure accurate off-chain pricing. HTTPS protocol and authentication are required for all endpoints, with supported authentication methods including API key and HMAC-SHA256. Responses should be in JSON format, accompanied by appropriate status codes.

To fully integrate with Native and leverage its capabilities, you need to implement the following API endpoints:

  1. Orderbook: This endpoint allows Native to estimate prices for different order sizes.

  2. Firm-Quote: This endpoint enables Native to obtain a precise price from you for a given token and amount.

  3. Sign-Quote: This endpoint allows you to validate and sign the order for on-chain execution.

Last updated