@hawksightco/swagger-client
Version:
OpenAPI client for Hawksight v2 Public API
70 lines (62 loc) • 1.64 kB
text/typescript
/* tslint:disable */
/* eslint-disable */
/**
* Hawksight API
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 0.0.1
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
import { MeteoradlmmtxwithdrawFastGeneration } from './meteoradlmmtxwithdraw-fast-generation';
/**
*
*
* @export
* @interface TxWithdrawBody
*/
export interface TxWithdrawBody {
/**
* User's position from Meteora (See GET /meteora/dlmm/util/positions).
*
* @type {string}
* @memberof TxWithdrawBody
*/
position?: string;
/**
* User's wallet address who owns the position.
*
* @type {string}
* @memberof TxWithdrawBody
*/
userWallet?: string;
/**
* Amount of X and Y tokens to withdraw (in bps percentage). Example: 50% means 50 * 100 = 5000 amountBps.
*
* @type {number}
* @memberof TxWithdrawBody
*/
amountBps?: number;
/**
* Whether to generate claim swap, rewards, and close position instruction. Accepts \"true\" or \"false\" only.
*
* @type {boolean}
* @memberof TxWithdrawBody
*/
shouldClaimAndClose?: boolean;
/**
* @type {MeteoradlmmtxwithdrawFastGeneration}
* @memberof TxWithdrawBody
*/
fastGeneration?: MeteoradlmmtxwithdrawFastGeneration;
/**
* Type of token to use for PDA
*
* @type {string}
* @memberof TxWithdrawBody
*/
pdaTokenType?: string;
}