UNPKG

solana-framework-deno

Version:

solana-framework-deno is solana uni-tools for deno

63 lines 2.52 kB
/** * 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 * * The version of the OpenAPI document: 6.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { Instruction } from './Instruction'; /** * * @export * @interface SwapInstructionsResponse */ export interface SwapInstructionsResponse { /** * * @type {Instruction} * @memberof SwapInstructionsResponse */ tokenLedgerInstruction?: Instruction; /** * The necessary instructions to setup the compute budget. * @type {Array<Instruction>} * @memberof SwapInstructionsResponse */ computeBudgetInstructions: Array<Instruction>; /** * Setup missing ATA for the users. * @type {Array<Instruction>} * @memberof SwapInstructionsResponse */ setupInstructions: Array<Instruction>; /** * * @type {Instruction} * @memberof SwapInstructionsResponse */ swapInstruction: Instruction; /** * * @type {Instruction} * @memberof SwapInstructionsResponse */ cleanupInstruction?: Instruction; /** * The lookup table addresses that you can use if you are using versioned transaction. * @type {Array<string>} * @memberof SwapInstructionsResponse */ addressLookupTableAddresses: Array<string>; } /** * Check if a given object implements the SwapInstructionsResponse interface. */ export declare function instanceOfSwapInstructionsResponse(value: object): boolean; export declare function SwapInstructionsResponseFromJSON(json: any): SwapInstructionsResponse; export declare function SwapInstructionsResponseFromJSONTyped(json: any, _ignoreDiscriminator: boolean): SwapInstructionsResponse; export declare function SwapInstructionsResponseToJSON(value?: SwapInstructionsResponse | null): any; //# sourceMappingURL=SwapInstructionsResponse.d.ts.map