Skip to content

Client

cyhole.jupiter.client

JupiterClient

JupiterClient(
    interaction: Jupiter, headers: Any | None = None
)

Bases: APIClient


              flowchart TD
              cyhole.jupiter.client.JupiterClient[JupiterClient]
              cyhole.core.client.APIClient[APIClient]
              cyhole.core.client.APIClientInterface[APIClientInterface]

                              cyhole.core.client.APIClient --> cyhole.jupiter.client.JupiterClient
                                cyhole.core.client.APIClientInterface --> cyhole.core.client.APIClient
                



              click cyhole.jupiter.client.JupiterClient href "" "cyhole.jupiter.client.JupiterClient"
              click cyhole.core.client.APIClient href "" "cyhole.core.client.APIClient"
              click cyhole.core.client.APIClientInterface href "" "cyhole.core.client.APIClientInterface"
            

Client used for synchronous API calls for Jupiter interaction.

Source code in src/cyhole/jupiter/client.py
49
50
51
def __init__(self, interaction: Jupiter, headers: Any | None = None) -> None:
    super().__init__(interaction, headers)
    self._interaction: Jupiter = self._interaction

get_price

get_price(address: list[str]) -> GetPriceResponse

Call the Jupiter's GET Price API endpoint for synchronous logic. All the API endpoint details are available on Jupiter._get_price.

Source code in src/cyhole/jupiter/client.py
53
54
55
56
57
58
def get_price(self, address: list[str]) -> GetPriceResponse:
    """
        Call the Jupiter's GET **[Price](https://developers.jup.ag/docs/price)** API endpoint for synchronous logic.
        All the API endpoint details are available on [`Jupiter._get_price`][cyhole.jupiter.interaction.Jupiter._get_price].
    """
    return self._interaction._get_price(True, address)

get_swap_order

get_swap_order(
    params: GetSwapOrderParams,
) -> GetSwapOrderResponse

Call the Jupiter's GET Swap - Order API endpoint for synchronous logic. All the API endpoint details are available on Jupiter._get_swap_order.

Source code in src/cyhole/jupiter/client.py
60
61
62
63
64
65
def get_swap_order(self, params: GetSwapOrderParams) -> GetSwapOrderResponse:
    """
        Call the Jupiter's GET **[Swap - Order](https://developers.jup.ag/docs/api-reference/swap/order)** API endpoint for synchronous logic.
        All the API endpoint details are available on [`Jupiter._get_swap_order`][cyhole.jupiter.interaction.Jupiter._get_swap_order].
    """
    return self._interaction._get_swap_order(True, params)

post_swap_execute

post_swap_execute(
    body: PostSwapExecuteBody,
) -> PostSwapExecuteResponse

Call the Jupiter's POST Swap - Execute API endpoint for synchronous logic. All the API endpoint details are available on Jupiter._post_swap_execute.

Source code in src/cyhole/jupiter/client.py
67
68
69
70
71
72
def post_swap_execute(self, body: PostSwapExecuteBody) -> PostSwapExecuteResponse:
    """
        Call the Jupiter's POST **[Swap - Execute](https://developers.jup.ag/docs/api-reference/swap/execute)** API endpoint for synchronous logic.
        All the API endpoint details are available on [`Jupiter._post_swap_execute`][cyhole.jupiter.interaction.Jupiter._post_swap_execute].
    """
    return self._interaction._post_swap_execute(True, body)

get_swap_build

get_swap_build(
    params: GetSwapBuildParams,
) -> GetSwapBuildResponse

Call the Jupiter's GET Swap - Build API endpoint for synchronous logic. All the API endpoint details are available on Jupiter._get_swap_build.

Source code in src/cyhole/jupiter/client.py
74
75
76
77
78
79
def get_swap_build(self, params: GetSwapBuildParams) -> GetSwapBuildResponse:
    """
        Call the Jupiter's GET **[Swap - Build](https://developers.jup.ag/docs/api-reference/swap/build)** API endpoint for synchronous logic.
        All the API endpoint details are available on [`Jupiter._get_swap_build`][cyhole.jupiter.interaction.Jupiter._get_swap_build].
    """
    return self._interaction._get_swap_build(True, params)

post_swap_submit

post_swap_submit(
    body: PostSwapSubmitBody,
) -> PostSwapSubmitResponse

Call the Jupiter's POST Swap - Submit API endpoint for synchronous logic. All the API endpoint details are available on Jupiter._post_swap_submit.

Source code in src/cyhole/jupiter/client.py
81
82
83
84
85
86
def post_swap_submit(self, body: PostSwapSubmitBody) -> PostSwapSubmitResponse:
    """
        Call the Jupiter's POST **[Swap - Submit](https://developers.jup.ag/docs/swap)** API endpoint for synchronous logic.
        All the API endpoint details are available on [`Jupiter._post_swap_submit`][cyhole.jupiter.interaction.Jupiter._post_swap_submit].
    """
    return self._interaction._post_swap_submit(True, body)
get_token_search(
    address: str | list[str],
) -> GetTokenSearchResponse

Call the Jupiter's GET Token Search API endpoint for synchronous logic. All the API endpoint details are available on Jupiter._get_token_search.

Source code in src/cyhole/jupiter/client.py
88
89
90
91
92
93
def get_token_search(self, address: str | list[str]) -> GetTokenSearchResponse:
    """
        Call the Jupiter's GET **[Token Search](https://dev.jup.ag/api-reference/tokens/v2/search)** API endpoint for synchronous logic. 
        All the API endpoint details are available on [`Jupiter._get_token_search`][cyhole.jupiter.interaction.Jupiter._get_token_search].
    """
    return self._interaction._get_token_search(True, address)

get_token_tag

get_token_tag(
    tag: str | JupiterTokenTagType,
) -> GetTokenTagResponse

Call the Jupiter's GET Token Tag API endpoint for synchronous logic. All the API endpoint details are available on Jupiter._get_token_tag.

Source code in src/cyhole/jupiter/client.py
 95
 96
 97
 98
 99
100
def get_token_tag(self, tag: str | JupiterTokenTagType) -> GetTokenTagResponse:
    """
        Call the Jupiter's GET **[Token Tag](https://dev.jup.ag/api-reference/tokens/v2/tag)** API endpoint for synchronous logic. 
        All the API endpoint details are available on [`Jupiter._get_token_tag`][cyhole.jupiter.interaction.Jupiter._get_token_tag].
    """
    return self._interaction._get_token_tag(True, tag)

get_token_category

get_token_category(
    category: str | JupiterTokenCategory,
    interval: str | JupiterTokenInterval,
) -> GetTokenCategoryResponse

Call the Jupiter's GET Token Category API endpoint for synchronous logic. All the API endpoint details are available on Jupiter._get_token_category.

Source code in src/cyhole/jupiter/client.py
102
103
104
105
106
107
def get_token_category(self, category: str | JupiterTokenCategory, interval: str | JupiterTokenInterval) -> GetTokenCategoryResponse:
    """
        Call the Jupiter's GET **[Token Category](https://dev.jup.ag/api-reference/tokens/v2/category)** API endpoint for synchronous logic. 
        All the API endpoint details are available on [`Jupiter._get_token_category`][cyhole.jupiter.interaction.Jupiter._get_token_category].
    """
    return self._interaction._get_token_category(True, category, interval)

get_token_recent

get_token_recent(
    limit: int | None = None,
) -> GetTokenRecentResponse

Call the Jupiter's GET Token Recent API endpoint for synchronous logic. All the API endpoint details are available on Jupiter._get_token_recent.

Source code in src/cyhole/jupiter/client.py
109
110
111
112
113
114
def get_token_recent(self, limit: int | None = None) -> GetTokenRecentResponse:
    """
        Call the Jupiter's GET **[Token Recent](https://dev.jup.ag/api-reference/tokens/v2/recent)** API endpoint for synchronous logic.
        All the API endpoint details are available on [`Jupiter._get_token_recent`][cyhole.jupiter.interaction.Jupiter._get_token_recent].
    """
    return self._interaction._get_token_recent(True, limit)

get_token_verify_check_eligibility

get_token_verify_check_eligibility(
    token_id: str,
) -> GetTokenVerifyCheckEligibilityResponse

Call the Jupiter's GET Token Verify - Check Eligibility API endpoint for synchronous logic. All the API endpoint details are available on Jupiter._get_token_verify_check_eligibility.

Source code in src/cyhole/jupiter/client.py
116
117
118
119
120
121
def get_token_verify_check_eligibility(self, token_id: str) -> GetTokenVerifyCheckEligibilityResponse:
    """
        Call the Jupiter's GET **[Token Verify - Check Eligibility](https://developers.jup.ag/docs/tokens/verification)** API endpoint for synchronous logic.
        All the API endpoint details are available on [`Jupiter._get_token_verify_check_eligibility`][cyhole.jupiter.interaction.Jupiter._get_token_verify_check_eligibility].
    """
    return self._interaction._get_token_verify_check_eligibility(True, token_id)

get_token_verify_craft_txn

get_token_verify_craft_txn(
    sender_address: str,
) -> GetTokenVerifyCraftTxnResponse

Call the Jupiter's GET Token Verify - Craft Transaction API endpoint for synchronous logic. All the API endpoint details are available on Jupiter._get_token_verify_craft_txn.

Source code in src/cyhole/jupiter/client.py
123
124
125
126
127
128
def get_token_verify_craft_txn(self, sender_address: str) -> GetTokenVerifyCraftTxnResponse:
    """
        Call the Jupiter's GET **[Token Verify - Craft Transaction](https://developers.jup.ag/docs/tokens/verification)** API endpoint for synchronous logic.
        All the API endpoint details are available on [`Jupiter._get_token_verify_craft_txn`][cyhole.jupiter.interaction.Jupiter._get_token_verify_craft_txn].
    """
    return self._interaction._get_token_verify_craft_txn(True, sender_address)

post_token_verify_execute

post_token_verify_execute(
    body: PostTokenVerifyExecuteBody,
) -> PostTokenVerifyExecuteResponse

Call the Jupiter's POST Token Verify - Execute API endpoint for synchronous logic. All the API endpoint details are available on Jupiter._post_token_verify_execute.

Source code in src/cyhole/jupiter/client.py
130
131
132
133
134
135
def post_token_verify_execute(self, body: PostTokenVerifyExecuteBody) -> PostTokenVerifyExecuteResponse:
    """
        Call the Jupiter's POST **[Token Verify - Execute](https://developers.jup.ag/docs/tokens/verification)** API endpoint for synchronous logic.
        All the API endpoint details are available on [`Jupiter._post_token_verify_execute`][cyhole.jupiter.interaction.Jupiter._post_token_verify_execute].
    """
    return self._interaction._post_token_verify_execute(True, body)

post_recurring_create_order

post_recurring_create_order(
    body: PostRecurringCreateOrderBody,
) -> PostRecurringCreateOrderResponse

Call the Jupiter's POST Recurring - Create Order API endpoint for synchronous logic. All the API endpoint details are available on Jupiter._post_recurring_create_order.

Source code in src/cyhole/jupiter/client.py
137
138
139
140
141
142
def post_recurring_create_order(self, body: PostRecurringCreateOrderBody) -> PostRecurringCreateOrderResponse:
    """
        Call the Jupiter's POST **[Recurring - Create Order](https://dev.jup.ag/docs/api/recurring-api/create-order)** API endpoint for synchronous logic. 
        All the API endpoint details are available on [`Jupiter._post_recurring_create_order`][cyhole.jupiter.interaction.Jupiter._post_recurring_create_order].
    """
    return self._interaction._post_recurring_create_order(True, body)

get_recurring_orders

get_recurring_orders(
    user_public_key: str,
    status: JupiterOrderStatus,
    recurring_type: JupiterRecurringType,
    include_failed: bool = False,
    page: int = 1,
    input_mint: str | None = None,
    output_mint: str | None = None,
) -> GetRecurringOrdersResponse

Call the Jupiter's GET Recurring - Orders API endpoint for synchronous logic. All the API endpoint details are available on Jupiter._get_recurring_orders.

Source code in src/cyhole/jupiter/client.py
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
def get_recurring_orders(
    self,
    user_public_key: str,
    status: JupiterOrderStatus,
    recurring_type: JupiterRecurringType,
    include_failed: bool = False,
    page: int = 1,
    input_mint: str | None = None,
    output_mint: str | None = None
) -> GetRecurringOrdersResponse:
    """
        Call the Jupiter's GET **[Recurring - Orders](https://dev.jup.ag/docs/api/recurring-api/get-recurring-orders)** API endpoint for synchronous logic.
        All the API endpoint details are available on [`Jupiter._get_recurring_orders`][cyhole.jupiter.interaction.Jupiter._get_recurring_orders].
    """
    return self._interaction._get_recurring_orders(True, user_public_key, status, recurring_type, include_failed, page, input_mint, output_mint)

post_recurring_cancel_order

post_recurring_cancel_order(
    order_id: str,
    user_public_key: str,
    recurring_type: JupiterRecurringType,
) -> PostRecurringCancelOrderResponse

Call the Jupiter's POST Recurring - Cancel Order API endpoint for synchronous logic. All the API endpoint details are available on Jupiter._post_recurring_cancel_order.

Source code in src/cyhole/jupiter/client.py
160
161
162
163
164
165
def post_recurring_cancel_order(self, order_id: str, user_public_key: str, recurring_type: JupiterRecurringType) -> PostRecurringCancelOrderResponse:
    """
        Call the Jupiter's POST **[Recurring - Cancel Order](https://dev.jup.ag/docs/api/recurring-api/cancel-order)** API endpoint for synchronous logic. 
        All the API endpoint details are available on [`Jupiter._post_recurring_cancel_order`][cyhole.jupiter.interaction.Jupiter._post_recurring_cancel_order].
    """
    return self._interaction._post_recurring_cancel_order(True, order_id, user_public_key, recurring_type)

post_recurring_execute

post_recurring_execute(
    signed_transaction_id: str, request_id: str
) -> PostRecurringExecuteResponse

Call the Jupiter's POST Recurring - Execute API endpoint for synchronous logic. All the API endpoint details are available on Jupiter._post_recurring_execute.

Source code in src/cyhole/jupiter/client.py
167
168
169
170
171
172
def post_recurring_execute(self, signed_transaction_id: str, request_id: str) -> PostRecurringExecuteResponse:
    """
        Call the Jupiter's POST **[Recurring - Execute](https://dev.jup.ag/docs/api/recurring-api/execute)** API endpoint for synchronous logic. 
        All the API endpoint details are available on [`Jupiter._post_recurring_execute`][cyhole.jupiter.interaction.Jupiter._post_recurring_execute].
    """
    return self._interaction._post_recurring_execute(True, signed_transaction_id, request_id)

JupiterAsyncClient

JupiterAsyncClient(
    interaction: Jupiter, headers: Any | None = None
)

Bases: AsyncAPIClient


              flowchart TD
              cyhole.jupiter.client.JupiterAsyncClient[JupiterAsyncClient]
              cyhole.core.client.AsyncAPIClient[AsyncAPIClient]
              cyhole.core.client.APIClientInterface[APIClientInterface]

                              cyhole.core.client.AsyncAPIClient --> cyhole.jupiter.client.JupiterAsyncClient
                                cyhole.core.client.APIClientInterface --> cyhole.core.client.AsyncAPIClient
                



              click cyhole.jupiter.client.JupiterAsyncClient href "" "cyhole.jupiter.client.JupiterAsyncClient"
              click cyhole.core.client.AsyncAPIClient href "" "cyhole.core.client.AsyncAPIClient"
              click cyhole.core.client.APIClientInterface href "" "cyhole.core.client.APIClientInterface"
            

Client used for asynchronous API calls for Jupiter interaction.

Source code in src/cyhole/jupiter/client.py
179
180
181
def __init__(self, interaction: Jupiter, headers: Any | None = None) -> None:
    super().__init__(interaction, headers)
    self._interaction: Jupiter = self._interaction

get_price async

get_price(address: list[str]) -> GetPriceResponse

Call the Jupiter's GET Price API endpoint for asynchronous logic. All the API endpoint details are available on Jupiter._get_price.

Source code in src/cyhole/jupiter/client.py
183
184
185
186
187
188
async def get_price(self, address: list[str]) -> GetPriceResponse:
    """
        Call the Jupiter's GET **[Price](https://developers.jup.ag/docs/price)** API endpoint for asynchronous logic.
        All the API endpoint details are available on [`Jupiter._get_price`][cyhole.jupiter.interaction.Jupiter._get_price].
    """
    return await self._interaction._get_price(False, address)

get_swap_order async

get_swap_order(
    params: GetSwapOrderParams,
) -> GetSwapOrderResponse

Call the Jupiter's GET Swap - Order API endpoint for asynchronous logic. All the API endpoint details are available on Jupiter._get_swap_order.

Source code in src/cyhole/jupiter/client.py
190
191
192
193
194
195
async def get_swap_order(self, params: GetSwapOrderParams) -> GetSwapOrderResponse:
    """
        Call the Jupiter's GET **[Swap - Order](https://developers.jup.ag/docs/api-reference/swap/order)** API endpoint for asynchronous logic.
        All the API endpoint details are available on [`Jupiter._get_swap_order`][cyhole.jupiter.interaction.Jupiter._get_swap_order].
    """
    return await self._interaction._get_swap_order(False, params)

post_swap_execute async

post_swap_execute(
    body: PostSwapExecuteBody,
) -> PostSwapExecuteResponse

Call the Jupiter's POST Swap - Execute API endpoint for asynchronous logic. All the API endpoint details are available on Jupiter._post_swap_execute.

Source code in src/cyhole/jupiter/client.py
197
198
199
200
201
202
async def post_swap_execute(self, body: PostSwapExecuteBody) -> PostSwapExecuteResponse:
    """
        Call the Jupiter's POST **[Swap - Execute](https://developers.jup.ag/docs/api-reference/swap/execute)** API endpoint for asynchronous logic.
        All the API endpoint details are available on [`Jupiter._post_swap_execute`][cyhole.jupiter.interaction.Jupiter._post_swap_execute].
    """
    return await self._interaction._post_swap_execute(False, body)

get_swap_build async

get_swap_build(
    params: GetSwapBuildParams,
) -> GetSwapBuildResponse

Call the Jupiter's GET Swap - Build API endpoint for asynchronous logic. All the API endpoint details are available on Jupiter._get_swap_build.

Source code in src/cyhole/jupiter/client.py
204
205
206
207
208
209
async def get_swap_build(self, params: GetSwapBuildParams) -> GetSwapBuildResponse:
    """
        Call the Jupiter's GET **[Swap - Build](https://developers.jup.ag/docs/api-reference/swap/build)** API endpoint for asynchronous logic.
        All the API endpoint details are available on [`Jupiter._get_swap_build`][cyhole.jupiter.interaction.Jupiter._get_swap_build].
    """
    return await self._interaction._get_swap_build(False, params)

post_swap_submit async

post_swap_submit(
    body: PostSwapSubmitBody,
) -> PostSwapSubmitResponse

Call the Jupiter's POST Swap - Submit API endpoint for asynchronous logic. All the API endpoint details are available on Jupiter._post_swap_submit.

Source code in src/cyhole/jupiter/client.py
211
212
213
214
215
216
async def post_swap_submit(self, body: PostSwapSubmitBody) -> PostSwapSubmitResponse:
    """
        Call the Jupiter's POST **[Swap - Submit](https://developers.jup.ag/docs/swap)** API endpoint for asynchronous logic.
        All the API endpoint details are available on [`Jupiter._post_swap_submit`][cyhole.jupiter.interaction.Jupiter._post_swap_submit].
    """
    return await self._interaction._post_swap_submit(False, body)
get_token_search(
    address: str | list[str],
) -> GetTokenSearchResponse

Call the Jupiter's GET Token Search API endpoint for asynchronous logic. All the API endpoint details are available on Jupiter._get_token_search.

Source code in src/cyhole/jupiter/client.py
218
219
220
221
222
223
async def get_token_search(self, address: str | list[str]) -> GetTokenSearchResponse:
    """
        Call the Jupiter's GET **[Token Search](https://dev.jup.ag/api-reference/tokens/v2/search)** API endpoint for asynchronous logic. 
        All the API endpoint details are available on [`Jupiter._get_token_search`][cyhole.jupiter.interaction.Jupiter._get_token_search].
    """
    return await self._interaction._get_token_search(False, address)

get_token_tag async

get_token_tag(
    tag: str | JupiterTokenTagType,
) -> GetTokenTagResponse

Call the Jupiter's GET Token Tag API endpoint for asynchronous logic. All the API endpoint details are available on Jupiter._get_token_tag.

Source code in src/cyhole/jupiter/client.py
225
226
227
228
229
230
async def get_token_tag(self, tag: str | JupiterTokenTagType) -> GetTokenTagResponse:
    """
        Call the Jupiter's GET **[Token Tag](https://dev.jup.ag/api-reference/tokens/v2/tag)** API endpoint for asynchronous logic. 
        All the API endpoint details are available on [`Jupiter._get_token_tag`][cyhole.jupiter.interaction.Jupiter._get_token_tag].
    """
    return await self._interaction._get_token_tag(False, tag)

get_token_category async

get_token_category(
    category: str | JupiterTokenCategory,
    interval: str | JupiterTokenInterval,
) -> GetTokenCategoryResponse

Call the Jupiter's GET Token Category API endpoint for asynchronous logic. All the API endpoint details are available on Jupiter._get_token_category.

Source code in src/cyhole/jupiter/client.py
232
233
234
235
236
237
async def get_token_category(self, category: str | JupiterTokenCategory, interval: str | JupiterTokenInterval) -> GetTokenCategoryResponse:
    """
        Call the Jupiter's GET **[Token Category](https://dev.jup.ag/api-reference/tokens/v2/category)** API endpoint for asynchronous logic. 
        All the API endpoint details are available on [`Jupiter._get_token_category`][cyhole.jupiter.interaction.Jupiter._get_token_category].
    """
    return await self._interaction._get_token_category(False, category, interval)

get_token_recent async

get_token_recent(
    limit: int | None = None,
) -> GetTokenRecentResponse

Call the Jupiter's GET Token Recent API endpoint for asynchronous logic. All the API endpoint details are available on Jupiter._get_token_recent.

Source code in src/cyhole/jupiter/client.py
239
240
241
242
243
244
async def get_token_recent(self, limit: int | None = None) -> GetTokenRecentResponse:
    """
        Call the Jupiter's GET **[Token Recent](https://dev.jup.ag/api-reference/tokens/v2/recent)** API endpoint for asynchronous logic.
        All the API endpoint details are available on [`Jupiter._get_token_recent`][cyhole.jupiter.interaction.Jupiter._get_token_recent].
    """
    return await self._interaction._get_token_recent(False, limit)

get_token_verify_check_eligibility async

get_token_verify_check_eligibility(
    token_id: str,
) -> GetTokenVerifyCheckEligibilityResponse

Call the Jupiter's GET Token Verify - Check Eligibility API endpoint for asynchronous logic. All the API endpoint details are available on Jupiter._get_token_verify_check_eligibility.

Source code in src/cyhole/jupiter/client.py
246
247
248
249
250
251
async def get_token_verify_check_eligibility(self, token_id: str) -> GetTokenVerifyCheckEligibilityResponse:
    """
        Call the Jupiter's GET **[Token Verify - Check Eligibility](https://developers.jup.ag/docs/tokens/verification)** API endpoint for asynchronous logic.
        All the API endpoint details are available on [`Jupiter._get_token_verify_check_eligibility`][cyhole.jupiter.interaction.Jupiter._get_token_verify_check_eligibility].
    """
    return await self._interaction._get_token_verify_check_eligibility(False, token_id)

get_token_verify_craft_txn async

get_token_verify_craft_txn(
    sender_address: str,
) -> GetTokenVerifyCraftTxnResponse

Call the Jupiter's GET Token Verify - Craft Transaction API endpoint for asynchronous logic. All the API endpoint details are available on Jupiter._get_token_verify_craft_txn.

Source code in src/cyhole/jupiter/client.py
253
254
255
256
257
258
async def get_token_verify_craft_txn(self, sender_address: str) -> GetTokenVerifyCraftTxnResponse:
    """
        Call the Jupiter's GET **[Token Verify - Craft Transaction](https://developers.jup.ag/docs/tokens/verification)** API endpoint for asynchronous logic.
        All the API endpoint details are available on [`Jupiter._get_token_verify_craft_txn`][cyhole.jupiter.interaction.Jupiter._get_token_verify_craft_txn].
    """
    return await self._interaction._get_token_verify_craft_txn(False, sender_address)

post_token_verify_execute async

post_token_verify_execute(
    body: PostTokenVerifyExecuteBody,
) -> PostTokenVerifyExecuteResponse

Call the Jupiter's POST Token Verify - Execute API endpoint for asynchronous logic. All the API endpoint details are available on Jupiter._post_token_verify_execute.

Source code in src/cyhole/jupiter/client.py
260
261
262
263
264
265
async def post_token_verify_execute(self, body: PostTokenVerifyExecuteBody) -> PostTokenVerifyExecuteResponse:
    """
        Call the Jupiter's POST **[Token Verify - Execute](https://developers.jup.ag/docs/tokens/verification)** API endpoint for asynchronous logic.
        All the API endpoint details are available on [`Jupiter._post_token_verify_execute`][cyhole.jupiter.interaction.Jupiter._post_token_verify_execute].
    """
    return await self._interaction._post_token_verify_execute(False, body)

post_recurring_create_order async

post_recurring_create_order(
    body: PostRecurringCreateOrderBody,
) -> PostRecurringCreateOrderResponse

Call the Jupiter's POST Recurring - Create Order API endpoint for asynchronous logic. All the API endpoint details are available on Jupiter._post_recurring_create_order.

Source code in src/cyhole/jupiter/client.py
267
268
269
270
271
272
async def post_recurring_create_order(self, body: PostRecurringCreateOrderBody) -> PostRecurringCreateOrderResponse:
    """
        Call the Jupiter's POST **[Recurring - Create Order](https://dev.jup.ag/docs/api/recurring-api/create-order)** API endpoint for asynchronous logic. 
        All the API endpoint details are available on [`Jupiter._post_recurring_create_order`][cyhole.jupiter.interaction.Jupiter._post_recurring_create_order].
    """
    return await self._interaction._post_recurring_create_order(False, body)

get_recurring_orders async

get_recurring_orders(
    user_public_key: str,
    status: JupiterOrderStatus,
    recurring_type: JupiterRecurringType,
    include_failed: bool = False,
    page: int = 1,
    input_mint: str | None = None,
    output_mint: str | None = None,
) -> GetRecurringOrdersResponse

Call the Jupiter's GET Recurring - Orders API endpoint for asynchronous logic. All the API endpoint details are available on Jupiter._get_recurring_orders.

Source code in src/cyhole/jupiter/client.py
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
async def get_recurring_orders(
    self,
    user_public_key: str,
    status: JupiterOrderStatus,
    recurring_type: JupiterRecurringType,
    include_failed: bool = False,
    page: int = 1,
    input_mint: str | None = None,
    output_mint: str | None = None
) -> GetRecurringOrdersResponse:
    """
        Call the Jupiter's GET **[Recurring - Orders](https://dev.jup.ag/docs/api/recurring-api/get-recurring-orders)** API endpoint for asynchronous logic.
        All the API endpoint details are available on [`Jupiter._get_recurring_orders`][cyhole.jupiter.interaction.Jupiter._get_recurring_orders].
    """
    return await self._interaction._get_recurring_orders(False, user_public_key, status, recurring_type, include_failed, page, input_mint, output_mint)

post_recurring_cancel_order async

post_recurring_cancel_order(
    order_id: str,
    user_public_key: str,
    recurring_type: JupiterRecurringType,
) -> PostRecurringCancelOrderResponse

Call the Jupiter's POST Recurring - Cancel Order API endpoint for asynchronous logic. All the API endpoint details are available on Jupiter._post_recurring_cancel_order.

Source code in src/cyhole/jupiter/client.py
290
291
292
293
294
295
async def post_recurring_cancel_order(self, order_id: str, user_public_key: str, recurring_type: JupiterRecurringType) -> PostRecurringCancelOrderResponse:
    """
        Call the Jupiter's POST **[Recurring - Cancel Order](https://dev.jup.ag/docs/api/recurring-api/cancel-order)** API endpoint for asynchronous logic. 
        All the API endpoint details are available on [`Jupiter._post_recurring_cancel_order`][cyhole.jupiter.interaction.Jupiter._post_recurring_cancel_order].
    """
    return await self._interaction._post_recurring_cancel_order(False, order_id, user_public_key, recurring_type)

post_recurring_execute async

post_recurring_execute(
    signed_transaction_id: str, request_id: str
) -> PostRecurringExecuteResponse

Call the Jupiter's POST Recurring - Execute API endpoint for asynchronous logic. All the API endpoint details are available on Jupiter._post_recurring_execute.

Source code in src/cyhole/jupiter/client.py
297
298
299
300
301
302
async def post_recurring_execute(self, signed_transaction_id: str, request_id: str) -> PostRecurringExecuteResponse:
    """
        Call the Jupiter's POST **[Recurring - Execute](https://dev.jup.ag/docs/api/recurring-api/execute)** API endpoint for asynchronous logic. 
        All the API endpoint details are available on [`Jupiter._post_recurring_execute`][cyhole.jupiter.interaction.Jupiter._post_recurring_execute].
    """
    return await self._interaction._post_recurring_execute(False, signed_transaction_id, request_id)