repositorypackage
0.0.3
Repository: https://github.com/halimao/jupiter-sdk-go.git
Documentation: pkg.go.dev
# README
Go API client for Jupiter
Initially generated by: Swagger Codegen
Last updated by @Halimao
The core of jup.ag. Easily get a quote and swap through Jupiter API.
-
Rate Limit We update our rate limit from time to time depending on the load of our servers. We recommend running your own instance of the API if you want to have high rate limit, here to learn how to run the self-hosted API.
-
API Wrapper - Typescript @jup-ag/api
-
Data types - Public keys are base58 encoded strings - raw data such as Vec<u8> are base64 encoded strings
Overview
This API client was generated by the swagger-codegen project. By using the swagger-spec from a remote server, you can easily generate an API client.
- API version: 6.0.0
- Package version: 1.0.0
- Build package: io.swagger.codegen.v3.generators.go.GoClientCodegen
Installation
import "github.com/Halimao/jupiter-sdk-go"
Documentation for API Endpoints
All URIs are relative to https://quote-api.jup.ag/v6
Class | Method | HTTP request | Description |
---|---|---|---|
DefaultApi | IndexedRouteMapGet | Get /indexed-route-map | GET /indexed-route-map |
DefaultApi | ProgramIdToLabelGet | Get /program-id-to-label | GET /program-id-to-label |
DefaultApi | QuoteGet | Get /quote | GET /quote |
DefaultApi | SwapInstructionsPost | Post /swap-instructions | POST /swap-instructions |
DefaultApi | SwapPost | Post /swap | POST /swap |
DefaultApi | TokensGet | Get /tokens | GET /tokens |
Documentation For Models
- AccountMeta
- AnyOfSwapRequestComputeUnitPriceMicroLamports
- AnyOfSwapRequestPrioritizationFeeLamports
- IndexedRouteMapResponse
- Instruction
- PlatformFee
- PriorityFeeWithMaxLamports
- QuoteResponse
- RoutePlanStep
- SwapInfo
- SwapInstructionsResponse
- SwapMode
- SwapRequest
- SwapRequestDynamicSlippage
- SwapResponse
- SwapResponseDynamicSlippageReport
Documentation For Authorization
Endpoints do not require authorization.
Author
@Halimao