-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmodel_swap_info.go
20 lines (19 loc) · 1.04 KB
/
model_swap_info.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
* Jupiter API v6
*
* The core of [jup.ag](https://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](https://station.jup.ag/docs/apis/self-hosted). ### API Wrapper - Typescript [@jup-ag/api](https://github.com/jup-ag/jupiter-quote-api-node) ### Data types - Public keys are base58 encoded strings - raw data such as Vec<u8\\> are base64 encoded strings
*
* API version: 6.0.0
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package jupiter
type SwapInfo struct {
AmmKey string `json:"ammKey"`
Label string `json:"label,omitempty"`
InputMint string `json:"inputMint"`
OutputMint string `json:"outputMint"`
InAmount string `json:"inAmount"`
OutAmount string `json:"outAmount"`
FeeAmount string `json:"feeAmount"`
FeeMint string `json:"feeMint"`
}