Skip to content

Client

cyhole.solscan.v1.client

SolscanClient

SolscanClient(
    interaction: Solscan, headers: Any | None = None
)

Bases: APIClient

Client used for synchronous API calls for Solscan interaction on V1 API.

Source code in src/cyhole/solscan/v1/client.py
37
38
39
def __init__(self, interaction: Solscan, headers: Any | None = None) -> None:
    super().__init__(interaction, headers)
    self._interaction = cast('Solscan', self._interaction)

get_account_tokens

get_account_tokens(
    account: str,
) -> GetAccountTokensResponse

Call the Solscan's V1 API endpoint GET Account Tokens for synchronous logic. All the API endopint details are available on Solscan._get_account_tokens.

Source code in src/cyhole/solscan/v1/client.py
48
49
50
51
52
53
def get_account_tokens(self, account: str) -> GetAccountTokensResponse:
    """
        Call the Solscan's **V1** API endpoint GET **[Account Tokens](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/account-tokens)** for synchronous logic. 
        All the API endopint details are available on [`Solscan._get_account_tokens`][cyhole.solscan.v1.interaction.Solscan._get_account_tokens].
    """
    return self._interaction._get_account_tokens(True, account)

get_account_transactions

get_account_transactions(
    account: str,
    before_hash: str | None = None,
    limit: int | None = None,
) -> GetAccountTransactionsResponse

Call the Solscan's V1 API endpoint GET Account Transactions for synchronous logic. All the API endopint details are available on Solscan._get_account_transactions.

Source code in src/cyhole/solscan/v1/client.py
55
56
57
58
59
60
def get_account_transactions(self, account: str, before_hash: str | None = None, limit: int | None = None) -> GetAccountTransactionsResponse:
    """
        Call the Solscan's **V1** API endpoint GET **[Account Transactions](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/account-transactions)** for synchronous logic. 
        All the API endopint details are available on [`Solscan._get_account_transactions`][cyhole.solscan.v1.interaction.Solscan._get_account_transactions].
    """
    return self._interaction._get_account_transactions(True, account, before_hash, limit)

get_account_stake_accounts

get_account_stake_accounts(
    account: str,
) -> GetAccountStakeAccountsResponse

Call the Solscan's V1 API endpoint GET Account StakeAccounts for synchronous logic. All the API endopint details are available on Solscan._get_account_stake_accounts.

Source code in src/cyhole/solscan/v1/client.py
62
63
64
65
66
67
def get_account_stake_accounts(self, account: str) -> GetAccountStakeAccountsResponse:
    """
        Call the Solscan's **V1** API endpoint GET **[Account StakeAccounts](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/account-stakeAccounts)** for synchronous logic. 
        All the API endopint details are available on [`Solscan._get_account_stake_accounts`][cyhole.solscan.v1.interaction.Solscan._get_account_stake_accounts].
    """
    return self._interaction._get_account_stake_accounts(True, account)

get_account_spl_transfers

get_account_spl_transfers(
    account: str,
    utc_from_unix_time: int | None = None,
    utc_to_unix_time: int | None = None,
    limit: int = 10,
    offset: int | None = None,
) -> GetAccountSplTransfersResponse

Call the Solscan's V1 API endpoint GET Account SplTransfers for synchronous logic. All the API endopint details are available on Solscan._get_account_spl_transfers.

Source code in src/cyhole/solscan/v1/client.py
69
70
71
72
73
74
75
76
77
78
79
80
81
def get_account_spl_transfers(
    self,
    account: str,
    utc_from_unix_time: int | None = None,
    utc_to_unix_time: int | None = None,
    limit: int = 10,
    offset: int | None = None
) -> GetAccountSplTransfersResponse:
    """
        Call the Solscan's **V1** API endpoint GET **[Account SplTransfers](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/account-splTransfers)** for synchronous logic. 
        All the API endopint details are available on [`Solscan._get_account_spl_transfers`][cyhole.solscan.v1.interaction.Solscan._get_account_spl_transfers].
    """
    return self._interaction._get_account_spl_transfers(True, account, utc_from_unix_time, utc_to_unix_time, limit, offset)

get_account_sol_transfers

get_account_sol_transfers(
    account: str,
    utc_from_unix_time: int | None = None,
    utc_to_unix_time: int | None = None,
    limit: int = 10,
    offset: int | None = None,
) -> GetAccountSolTransfersResponse

Call the Solscan's V1 API endpoint GET Account SolTransfers for synchronous logic. All the API endopint details are available on Solscan._get_account_sol_transfers.

Source code in src/cyhole/solscan/v1/client.py
83
84
85
86
87
88
89
90
91
92
93
94
95
def get_account_sol_transfers(
    self,
    account: str,
    utc_from_unix_time: int | None = None,
    utc_to_unix_time: int | None = None,
    limit: int = 10,
    offset: int | None = None
) -> GetAccountSolTransfersResponse:
    """
        Call the Solscan's **V1** API endpoint GET **[Account SolTransfers](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/account-solTransfers)** for synchronous logic. 
        All the API endopint details are available on [`Solscan._get_account_sol_transfers`][cyhole.solscan.v1.interaction.Solscan._get_account_sol_transfers].
    """
    return self._interaction._get_account_sol_transfers(True, account, utc_from_unix_time, utc_to_unix_time, limit, offset)

get_account_export_transactions

get_account_export_transactions(
    account: str,
    export_type: str,
    dt_from: datetime,
    dt_to: datetime,
) -> GetAccountExportTransactionsResponse

Call the Solscan's V1 API endpoint GET Account Export Transactions for synchronous logic. All the API endopint details are available on Solscan._get_account_export_transactions.

Source code in src/cyhole/solscan/v1/client.py
 97
 98
 99
100
101
102
def get_account_export_transactions(self, account: str, export_type: str, dt_from: datetime, dt_to: datetime) -> GetAccountExportTransactionsResponse:
    """
        Call the Solscan's **V1** API endpoint GET **[Account Export Transactions](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/account-exportTransactions)** for synchronous logic. 
        All the API endopint details are available on [`Solscan._get_account_export_transactions`][cyhole.solscan.v1.interaction.Solscan._get_account_export_transactions].
    """
    return self._interaction._get_account_export_transactions(True, account, export_type, dt_from, dt_to)

get_account_export_rewards

get_account_export_rewards(
    account: str, dt_from: datetime, dt_to: datetime
) -> GetAccountExportRewardsResponse

Call the Solscan's V1 API endpoint GET Account Export Rewards for synchronous logic. All the API endopint details are available on Solscan._get_account_export_rewards.

Source code in src/cyhole/solscan/v1/client.py
104
105
106
107
108
109
def get_account_export_rewards(self, account: str, dt_from: datetime, dt_to: datetime) -> GetAccountExportRewardsResponse:
    """
        Call the Solscan's **V1** API endpoint GET **[Account Export Rewards](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/account-exportRewards)** for synchronous logic. 
        All the API endopint details are available on [`Solscan._get_account_export_rewards`][cyhole.solscan.v1.interaction.Solscan._get_account_export_rewards].
    """
    return self._interaction._get_account_export_rewards(True, account, dt_from, dt_to)

get_account_detail

get_account_detail(
    account: str,
) -> GetAccountDetailResponse

Call the Solscan's V1 API endpoint GET Account Detail for synchronous logic. All the API endopint details are available on Solscan._get_account_detail.

Source code in src/cyhole/solscan/v1/client.py
111
112
113
114
115
116
def get_account_detail(self, account: str) -> GetAccountDetailResponse:
    """
        Call the Solscan's **V1** API endpoint GET **[Account Detail](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/account-detail)** for synchronous logic. 
        All the API endopint details are available on [`Solscan._get_account_detail`][cyhole.solscan.v1.interaction.Solscan._get_account_detail].
    """
    return self._interaction._get_account_detail(True, account)

get_token_holders

get_token_holders(
    token: str,
    limit: int = 10,
    offset: int | None = None,
    amount_from: int | None = None,
    amount_to: int | None = None,
) -> GetTokenHoldersResponse

Call the Solscan's V1 API endpoint GET Token Holders for synchronous logic. All the API endopint details are available on Solscan._get_token_holders.

Source code in src/cyhole/solscan/v1/client.py
118
119
120
121
122
123
124
125
126
127
128
129
130
def get_token_holders(
    self,
    token: str,
    limit: int = 10,
    offset: int | None = None,
    amount_from: int | None = None,
    amount_to: int | None = None
) -> GetTokenHoldersResponse:
    """
        Call the Solscan's **V1** API endpoint GET **[Token Holders](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/token-holders)** for synchronous logic. 
        All the API endopint details are available on [`Solscan._get_token_holders`][cyhole.solscan.v1.interaction.Solscan._get_token_holders].
    """
    return self._interaction._get_token_holders(True, token, limit, offset, amount_from, amount_to)

get_token_meta

get_token_meta(token: str) -> GetTokenMetaResponse

Call the Solscan's V1 API endpoint GET Token Meta for synchronous logic. All the API endopint details are available on Solscan._get_token_meta.

Source code in src/cyhole/solscan/v1/client.py
132
133
134
135
136
137
def get_token_meta(self, token: str) -> GetTokenMetaResponse:
    """
        Call the Solscan's **V1** API endpoint GET **[Token Meta](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/token-meta)** for synchronous logic. 
        All the API endopint details are available on [`Solscan._get_token_meta`][cyhole.solscan.v1.interaction.Solscan._get_token_meta].
    """
    return self._interaction._get_token_meta(True, token)

get_token_transfer

get_token_transfer(
    token: str,
    account: str | None = None,
    limit: int = 10,
    offset: int | None = None,
) -> GetTokenTransferResponse

Call the Solscan's V1 API endpoint GET Token Transfer for synchronous logic. All the API endopint details are available on Solscan._get_token_transfer.

Source code in src/cyhole/solscan/v1/client.py
139
140
141
142
143
144
def get_token_transfer(self, token: str, account: str | None = None, limit: int = 10, offset: int | None = None) -> GetTokenTransferResponse:
    """
        Call the Solscan's **V1** API endpoint GET **[Token Transfer](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/token-transfer)** for synchronous logic. 
        All the API endopint details are available on [`Solscan._get_token_transfer`][cyhole.solscan.v1.interaction.Solscan._get_token_transfer].
    """
    return self._interaction._get_token_transfer(True, token, account, limit, offset)

get_token_list

get_token_list(
    sort_by: str = SolscanSort.MARKET_CAP.value,
    order_by: str = SolscanOrder.DESCENDING.value,
    limit: int = 10,
    offset: int | None = None,
) -> GetTokenListResponse

Call the Solscan's V1 API endpoint GET Token List for synchronous logic. All the API endopint details are available on Solscan._get_token_list.

Source code in src/cyhole/solscan/v1/client.py
146
147
148
149
150
151
152
153
154
155
156
157
def get_token_list(
    self,
    sort_by: str = SolscanSort.MARKET_CAP.value,
    order_by: str = SolscanOrder.DESCENDING.value,
    limit: int = 10,
    offset: int | None = None
) -> GetTokenListResponse:
    """
        Call the Solscan's **V1** API endpoint GET **[Token List](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/token-list)** for synchronous logic. 
        All the API endopint details are available on [`Solscan._get_token_list`][cyhole.solscan.v1.interaction.Solscan._get_token_list].
    """
    return self._interaction._get_token_list(True, sort_by, order_by, limit, offset)

get_market_token_detail

get_market_token_detail(
    token: str, limit: int = 10, offset: int | None = None
) -> GetMarketTokenDetailResponse

Call the Solscan's V1 API endpoint GET Market Token Detail for synchronous logic. All the API endopint details are available on Solscan._get_market_token_detail.

Source code in src/cyhole/solscan/v1/client.py
159
160
161
162
163
164
def get_market_token_detail(self, token: str, limit: int = 10, offset: int | None = None) -> GetMarketTokenDetailResponse:
    """
        Call the Solscan's **V1** API endpoint GET **[Market Token Detail](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/market-token-detail)** for synchronous logic. 
        All the API endopint details are available on [`Solscan._get_market_token_detail`][cyhole.solscan.v1.interaction.Solscan._get_market_token_detail].
    """
    return self._interaction._get_market_token_detail(True, token, limit, offset)

get_transaction_last

get_transaction_last(
    limit: int = 10,
) -> GetTransactionLastResponse

Call the Solscan's V1 API endpoint GET Transaction Last for synchronous logic. All the API endopint details are available on Solscan._get_transaction_last.

Source code in src/cyhole/solscan/v1/client.py
166
167
168
169
170
171
def get_transaction_last(self, limit: int = 10) -> GetTransactionLastResponse:
    """
        Call the Solscan's **V1** API endpoint GET **[Transaction Last](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/transaction-last)** for synchronous logic. 
        All the API endopint details are available on [`Solscan._get_transaction_last`][cyhole.solscan.v1.interaction.Solscan._get_transaction_last].
    """
    return self._interaction._get_transaction_last(True, limit)

get_transaction_detail

get_transaction_detail(
    transaction_id: str,
) -> GetTransactionDetailResponse

Call the Solscan's V1 API endpoint GET Transaction Detail for synchronous logic. All the API endopint details are available on Solscan._get_transaction_detail.

Source code in src/cyhole/solscan/v1/client.py
173
174
175
176
177
178
def get_transaction_detail(self, transaction_id: str) -> GetTransactionDetailResponse:
    """
        Call the Solscan's **V1** API endpoint GET **[Transaction Detail](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/transaction-detail)** for synchronous logic. 
        All the API endopint details are available on [`Solscan._get_transaction_detail`][cyhole.solscan.v1.interaction.Solscan._get_transaction_detail].
    """
    return self._interaction._get_transaction_detail(True, transaction_id)

get_block_last

get_block_last(limit: int = 10) -> GetBlockLastResponse

Call the Solscan's V1 API endpoint GET Block Last for synchronous logic. All the API endopint details are available on Solscan._get_block_last.

Source code in src/cyhole/solscan/v1/client.py
180
181
182
183
184
185
def get_block_last(self, limit: int = 10) -> GetBlockLastResponse:
    """
        Call the Solscan's **V1** API endpoint GET **[Block Last](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/block-last)** for synchronous logic. 
        All the API endopint details are available on [`Solscan._get_block_last`][cyhole.solscan.v1.interaction.Solscan._get_block_last].
    """
    return self._interaction._get_block_last(True, limit)

get_block_detail

get_block_detail(block_id: int) -> GetBlockDetailResponse

Call the Solscan's V1 API endpoint GET Block Detail for synchronous logic. All the API endopint details are available on Solscan._get_block_detail.

Source code in src/cyhole/solscan/v1/client.py
187
188
189
190
191
192
def get_block_detail(self, block_id: int) -> GetBlockDetailResponse:
    """
        Call the Solscan's **V1** API endpoint GET **[Block Detail](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/block-detail)** for synchronous logic. 
        All the API endopint details are available on [`Solscan._get_block_detail`][cyhole.solscan.v1.interaction.Solscan._get_block_detail].
    """
    return self._interaction._get_block_detail(True, block_id)

get_block_transactions

get_block_transactions(
    block_id: int,
    limit: int = 10,
    offset: int | None = None,
) -> GetBlockTransactionsResponse

Call the Solscan's V1 API endpoint GET Block Transactions for synchronous logic. All the API endopint details are available on Solscan._get_block_transactions.

Source code in src/cyhole/solscan/v1/client.py
194
195
196
197
198
199
def get_block_transactions(self, block_id: int, limit: int = 10, offset: int | None = None) -> GetBlockTransactionsResponse:
    """
        Call the Solscan's **V1** API endpoint GET **[Block Transactions](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/block-transactions)** for synchronous logic. 
        All the API endopint details are available on [`Solscan._get_block_transactions`][cyhole.solscan.v1.interaction.Solscan._get_block_transactions].
    """
    return self._interaction._get_block_transactions(True, block_id, limit, offset)

SolscanAsyncClient

SolscanAsyncClient(
    interaction: Solscan, headers: Any | None = None
)

Bases: AsyncAPIClient

Client used for asynchronous API calls for Solscan interaction on V1 API.

Source code in src/cyhole/solscan/v1/client.py
206
207
208
def __init__(self, interaction: Solscan, headers: Any | None = None) -> None:
    super().__init__(interaction, headers)
    self._interaction = cast('Solscan', self._interaction)

get_account_tokens async

get_account_tokens(
    account: str,
) -> GetAccountTokensResponse

Call the Solscan's V1 API endpoint GET Account Tokens for asynchronous logic. All the API endopint details are available on Solscan._get_account_tokens.

Source code in src/cyhole/solscan/v1/client.py
217
218
219
220
221
222
async def get_account_tokens(self, account: str) -> GetAccountTokensResponse:
    """
        Call the Solscan's **V1** API endpoint GET **[Account Tokens](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/account-tokens)** for asynchronous logic. 
        All the API endopint details are available on [`Solscan._get_account_tokens`][cyhole.solscan.v1.interaction.Solscan._get_account_tokens].
    """
    return await self._interaction._get_account_tokens(False, account)

get_account_transactions async

get_account_transactions(
    account: str,
    before_hash: str | None = None,
    limit: int | None = None,
) -> GetAccountTransactionsResponse

Call the Solscan's V1 API endpoint GET Account Transactions for asynchronous logic. All the API endopint details are available on Solscan._get_account_transactions.

Source code in src/cyhole/solscan/v1/client.py
224
225
226
227
228
229
async def get_account_transactions(self, account: str, before_hash: str | None = None, limit: int | None = None) -> GetAccountTransactionsResponse:
    """
        Call the Solscan's **V1** API endpoint GET **[Account Transactions](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/account-transactions)** for asynchronous logic. 
        All the API endopint details are available on [`Solscan._get_account_transactions`][cyhole.solscan.v1.interaction.Solscan._get_account_transactions].
    """
    return await self._interaction._get_account_transactions(False, account, before_hash, limit)

get_account_stake_accounts async

get_account_stake_accounts(
    account: str,
) -> GetAccountStakeAccountsResponse

Call the Solscan's V1 API endpoint GET Account StakeAccounts for asynchronous logic. All the API endopint details are available on Solscan._get_account_stake_accounts.

Source code in src/cyhole/solscan/v1/client.py
231
232
233
234
235
236
async def get_account_stake_accounts(self, account: str) -> GetAccountStakeAccountsResponse:
    """
        Call the Solscan's **V1** API endpoint GET **[Account StakeAccounts](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/account-stakeAccounts)** for asynchronous logic. 
        All the API endopint details are available on [`Solscan._get_account_stake_accounts`][cyhole.solscan.v1.interaction.Solscan._get_account_stake_accounts].
    """
    return await self._interaction._get_account_stake_accounts(False, account)

get_account_spl_transfers async

get_account_spl_transfers(
    account: str,
    utc_from_unix_time: int | None = None,
    utc_to_unix_time: int | None = None,
    limit: int = 10,
    offset: int | None = None,
) -> GetAccountSplTransfersResponse

Call the Solscan's V1 API endpoint GET Account SplTransfers for asynchronous logic. All the API endopint details are available on Solscan._get_account_spl_transfers.

Source code in src/cyhole/solscan/v1/client.py
238
239
240
241
242
243
244
245
246
247
248
249
250
async def get_account_spl_transfers(
    self,
    account: str,
    utc_from_unix_time: int | None = None,
    utc_to_unix_time: int | None = None,
    limit: int = 10,
    offset: int | None = None
) -> GetAccountSplTransfersResponse:
    """
        Call the Solscan's **V1** API endpoint GET **[Account SplTransfers](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/account-splTransfers)** for asynchronous logic. 
        All the API endopint details are available on [`Solscan._get_account_spl_transfers`][cyhole.solscan.v1.interaction.Solscan._get_account_spl_transfers].
    """
    return await self._interaction._get_account_spl_transfers(False, account, utc_from_unix_time, utc_to_unix_time, limit, offset)

get_account_sol_transfers async

get_account_sol_transfers(
    account: str,
    utc_from_unix_time: int | None = None,
    utc_to_unix_time: int | None = None,
    limit: int = 10,
    offset: int | None = None,
) -> GetAccountSolTransfersResponse

Call the Solscan's V1 API endpoint GET Account SolTransfers for asynchronous logic. All the API endopint details are available on Solscan._get_account_sol_transfers.

Source code in src/cyhole/solscan/v1/client.py
252
253
254
255
256
257
258
259
260
261
262
263
264
async def get_account_sol_transfers(
    self,
    account: str,
    utc_from_unix_time: int | None = None,
    utc_to_unix_time: int | None = None,
    limit: int = 10,
    offset: int | None = None
) -> GetAccountSolTransfersResponse:
    """
        Call the Solscan's **V1** API endpoint GET **[Account SolTransfers](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/account-solTransfers)** for asynchronous logic. 
        All the API endopint details are available on [`Solscan._get_account_sol_transfers`][cyhole.solscan.v1.interaction.Solscan._get_account_sol_transfers].
    """
    return await self._interaction._get_account_sol_transfers(False, account, utc_from_unix_time, utc_to_unix_time, limit, offset)

get_account_export_transactions async

get_account_export_transactions(
    account: str,
    export_type: str,
    dt_from: datetime,
    dt_to: datetime,
) -> GetAccountExportTransactionsResponse

Call the Solscan's V1 API endpoint GET Account Export Transactions for asynchronous logic. All the API endopint details are available on Solscan._get_account_export_transactions.

Source code in src/cyhole/solscan/v1/client.py
266
267
268
269
270
271
async def get_account_export_transactions(self, account: str, export_type: str, dt_from: datetime, dt_to: datetime) -> GetAccountExportTransactionsResponse:
    """
        Call the Solscan's **V1** API endpoint GET **[Account Export Transactions](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/account-exportTransactions)** for asynchronous logic. 
        All the API endopint details are available on [`Solscan._get_account_export_transactions`][cyhole.solscan.v1.interaction.Solscan._get_account_export_transactions].
    """
    return await self._interaction._get_account_export_transactions(False, account, export_type, dt_from, dt_to)

get_account_export_rewards async

get_account_export_rewards(
    account: str, dt_from: datetime, dt_to: datetime
) -> GetAccountExportRewardsResponse

Call the Solscan's V1 API endpoint GET Account Export Rewards for asynchronous logic. All the API endopint details are available on Solscan._get_account_export_rewards.

Source code in src/cyhole/solscan/v1/client.py
273
274
275
276
277
278
async def get_account_export_rewards(self, account: str, dt_from: datetime, dt_to: datetime) -> GetAccountExportRewardsResponse:
    """
        Call the Solscan's **V1** API endpoint GET **[Account Export Rewards](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/account-exportRewards)** for asynchronous logic. 
        All the API endopint details are available on [`Solscan._get_account_export_rewards`][cyhole.solscan.v1.interaction.Solscan._get_account_export_rewards].
    """
    return await self._interaction._get_account_export_rewards(False, account, dt_from, dt_to)

get_account_detail async

get_account_detail(
    account: str,
) -> GetAccountDetailResponse

Call the Solscan's V1 API endpoint GET Account Detail for asynchronous logic. All the API endopint details are available on Solscan._get_account_detail.

Source code in src/cyhole/solscan/v1/client.py
280
281
282
283
284
285
async def get_account_detail(self, account: str) -> GetAccountDetailResponse:
    """
        Call the Solscan's **V1** API endpoint GET **[Account Detail](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/account-detail)** for asynchronous logic. 
        All the API endopint details are available on [`Solscan._get_account_detail`][cyhole.solscan.v1.interaction.Solscan._get_account_detail].
    """
    return await self._interaction._get_account_detail(False, account)

get_token_holders async

get_token_holders(
    token: str,
    limit: int = 10,
    offset: int | None = None,
    amount_from: int | None = None,
    amount_to: int | None = None,
) -> GetTokenHoldersResponse

Call the Solscan's V1 API endpoint GET Token Holders for asynchronous logic. All the API endopint details are available on Solscan._get_token_holders.

Source code in src/cyhole/solscan/v1/client.py
287
288
289
290
291
292
293
294
295
296
297
298
299
async def get_token_holders(
    self,
    token: str,
    limit: int = 10,
    offset: int | None = None,
    amount_from: int | None = None,
    amount_to: int | None = None
) -> GetTokenHoldersResponse:
    """
        Call the Solscan's **V1** API endpoint GET **[Token Holders](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/token-holders)** for asynchronous logic. 
        All the API endopint details are available on [`Solscan._get_token_holders`][cyhole.solscan.v1.interaction.Solscan._get_token_holders].
    """
    return await self._interaction._get_token_holders(False, token, limit, offset, amount_from, amount_to)

get_token_meta async

get_token_meta(token: str) -> GetTokenMetaResponse

Call the Solscan's V1 API endpoint GET Token Meta for asynchronous logic. All the API endopint details are available on Solscan._get_token_meta.

Source code in src/cyhole/solscan/v1/client.py
301
302
303
304
305
306
async def get_token_meta(self, token: str) -> GetTokenMetaResponse:
    """
        Call the Solscan's **V1** API endpoint GET **[Token Meta](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/token-meta)** for asynchronous logic. 
        All the API endopint details are available on [`Solscan._get_token_meta`][cyhole.solscan.v1.interaction.Solscan._get_token_meta].
    """
    return await self._interaction._get_token_meta(False, token)

get_token_transfer async

get_token_transfer(
    token: str,
    account: str | None = None,
    limit: int = 10,
    offset: int | None = None,
) -> GetTokenTransferResponse

Call the Solscan's V1 API endpoint GET Token Transfer for asynchronous logic. All the API endopint details are available on Solscan._get_token_transfer.

Source code in src/cyhole/solscan/v1/client.py
308
309
310
311
312
313
async def get_token_transfer(self, token: str, account: str | None = None, limit: int = 10, offset: int | None = None) -> GetTokenTransferResponse:
    """
        Call the Solscan's **V1** API endpoint GET **[Token Transfer](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/token-transfer)** for asynchronous logic. 
        All the API endopint details are available on [`Solscan._get_token_transfer`][cyhole.solscan.v1.interaction.Solscan._get_token_transfer].
    """
    return await self._interaction._get_token_transfer(False, token, account, limit, offset)

get_token_list async

get_token_list(
    sort_by: str = SolscanSort.MARKET_CAP.value,
    order_by: str = SolscanOrder.DESCENDING.value,
    limit: int = 10,
    offset: int | None = None,
) -> GetTokenListResponse

Call the Solscan's V1 API endpoint GET Token List for asynchronous logic. All the API endopint details are available on Solscan._get_token_list.

Source code in src/cyhole/solscan/v1/client.py
315
316
317
318
319
320
321
322
323
324
325
326
async def get_token_list(
    self,
    sort_by: str = SolscanSort.MARKET_CAP.value,
    order_by: str = SolscanOrder.DESCENDING.value,
    limit: int = 10,
    offset: int | None = None
) -> GetTokenListResponse:
    """
        Call the Solscan's **V1** API endpoint GET **[Token List](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/token-list)** for asynchronous logic. 
        All the API endopint details are available on [`Solscan._get_token_list`][cyhole.solscan.v1.interaction.Solscan._get_token_list].
    """
    return await self._interaction._get_token_list(False, sort_by, order_by, limit, offset)

get_market_token_detail async

get_market_token_detail(
    token: str, limit: int = 10, offset: int | None = None
) -> GetMarketTokenDetailResponse

Call the Solscan's V1 API endpoint GET Market Token Detail for asynchronous logic. All the API endopint details are available on Solscan._get_market_token_detail.

Source code in src/cyhole/solscan/v1/client.py
328
329
330
331
332
333
async def get_market_token_detail(self, token: str, limit: int = 10, offset: int | None = None) -> GetMarketTokenDetailResponse:
    """
        Call the Solscan's **V1** API endpoint GET **[Market Token Detail](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/market-token-detail)** for asynchronous logic. 
        All the API endopint details are available on [`Solscan._get_market_token_detail`][cyhole.solscan.v1.interaction.Solscan._get_market_token_detail].
    """
    return await self._interaction._get_market_token_detail(False, token, limit, offset)

get_transaction_last async

get_transaction_last(
    limit: int = 10,
) -> GetTransactionLastResponse

Call the Solscan's V1 API endpoint GET Transaction Last for asynchronous logic. All the API endopint details are available on Solscan._get_transaction_last.

Source code in src/cyhole/solscan/v1/client.py
335
336
337
338
339
340
async def get_transaction_last(self, limit: int = 10) -> GetTransactionLastResponse:
    """
        Call the Solscan's **V1** API endpoint GET **[Transaction Last](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/transaction-last)** for asynchronous logic. 
        All the API endopint details are available on [`Solscan._get_transaction_last`][cyhole.solscan.v1.interaction.Solscan._get_transaction_last].
    """
    return await self._interaction._get_transaction_last(False, limit)

get_transaction_detail async

get_transaction_detail(
    transaction_id: str,
) -> GetTransactionDetailResponse

Call the Solscan's V1 API endpoint GET Transaction Detail for asynchronous logic. All the API endopint details are available on Solscan._get_transaction_detail.

Source code in src/cyhole/solscan/v1/client.py
342
343
344
345
346
347
async def get_transaction_detail(self, transaction_id: str) -> GetTransactionDetailResponse:
    """
        Call the Solscan's **V1** API endpoint GET **[Transaction Detail](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/transaction-detail)** for asynchronous logic. 
        All the API endopint details are available on [`Solscan._get_transaction_detail`][cyhole.solscan.v1.interaction.Solscan._get_transaction_detail].
    """
    return await self._interaction._get_transaction_detail(False, transaction_id)

get_block_last async

get_block_last(limit: int = 10) -> GetBlockLastResponse

Call the Solscan's V1 API endpoint GET Block Last for asynchronous logic. All the API endopint details are available on Solscan._get_block_last.

Source code in src/cyhole/solscan/v1/client.py
349
350
351
352
353
354
async def get_block_last(self, limit: int = 10) -> GetBlockLastResponse:
    """
        Call the Solscan's **V1** API endpoint GET **[Block Last](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/block-last)** for asynchronous logic. 
        All the API endopint details are available on [`Solscan._get_block_last`][cyhole.solscan.v1.interaction.Solscan._get_block_last].
    """
    return await self._interaction._get_block_last(False, limit)

get_block_detail async

get_block_detail(block_id: int) -> GetBlockDetailResponse

Call the Solscan's V1 API endpoint GET Block Detail for asynchronous logic. All the API endopint details are available on Solscan._get_block_detail.

Source code in src/cyhole/solscan/v1/client.py
356
357
358
359
360
361
async def get_block_detail(self, block_id: int) -> GetBlockDetailResponse:
    """
        Call the Solscan's **V1** API endpoint GET **[Block Detail](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/block-detail)** for asynchronous logic. 
        All the API endopint details are available on [`Solscan._get_block_detail`][cyhole.solscan.v1.interaction.Solscan._get_block_detail].
    """
    return await self._interaction._get_block_detail(False, block_id)

get_block_transactions async

get_block_transactions(
    block_id: int,
    limit: int = 10,
    offset: int | None = None,
) -> GetBlockTransactionsResponse

Call the Solscan's V1 API endpoint GET Block Transactions for asynchronous logic. All the API endopint details are available on Solscan._get_block_transactions.

Source code in src/cyhole/solscan/v1/client.py
363
364
365
366
367
368
async def get_block_transactions(self, block_id: int, limit: int = 10, offset: int | None = None) -> GetBlockTransactionsResponse:
    """
        Call the Solscan's **V1** API endpoint GET **[Block Transactions](https://pro-api.solscan.io/pro-api-docs/v2.0/reference/block-transactions)** for asynchronous logic. 
        All the API endopint details are available on [`Solscan._get_block_transactions`][cyhole.solscan.v1.interaction.Solscan._get_block_transactions].
    """
    return await self._interaction._get_block_transactions(False, block_id, limit, offset)