helius-python 0.0.4__tar.gz → 0.1.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- helius_python-0.1.1/.github/ISSUE_TEMPLATE/bug_report.yml +83 -0
- helius_python-0.1.1/.github/ISSUE_TEMPLATE/config.yml +9 -0
- helius_python-0.1.1/.github/ISSUE_TEMPLATE/feature_request.yml +41 -0
- {helius_python-0.0.4 → helius_python-0.1.1}/CONTRIBUTING.md +1 -0
- {helius_python-0.0.4 → helius_python-0.1.1}/PKG-INFO +54 -52
- {helius_python-0.0.4 → helius_python-0.1.1}/README.md +53 -51
- {helius_python-0.0.4 → helius_python-0.1.1}/pyproject.toml +1 -1
- {helius_python-0.0.4 → helius_python-0.1.1}/src/helius/client.py +58 -6
- {helius_python-0.0.4 → helius_python-0.1.1}/src/helius/models.py +10 -0
- {helius_python-0.0.4 → helius_python-0.1.1}/tests/unit/test_helius_client.py +98 -60
- {helius_python-0.0.4 → helius_python-0.1.1}/tests/unit/test_models.py +17 -0
- {helius_python-0.0.4 → helius_python-0.1.1}/.editorconfig +0 -0
- {helius_python-0.0.4 → helius_python-0.1.1}/.github/workflows/python-package.yml +0 -0
- {helius_python-0.0.4 → helius_python-0.1.1}/.github/workflows/python-publish.yml +0 -0
- {helius_python-0.0.4 → helius_python-0.1.1}/.gitignore +0 -0
- {helius_python-0.0.4 → helius_python-0.1.1}/AGENTS.md +0 -0
- {helius_python-0.0.4 → helius_python-0.1.1}/CLAUDE.md +0 -0
- {helius_python-0.0.4 → helius_python-0.1.1}/LICENSE +0 -0
- {helius_python-0.0.4 → helius_python-0.1.1}/examples/block_explorer.py +0 -0
- {helius_python-0.0.4 → helius_python-0.1.1}/examples/devnet_airdrop.py +0 -0
- {helius_python-0.0.4 → helius_python-0.1.1}/examples/network_status.py +0 -0
- {helius_python-0.0.4 → helius_python-0.1.1}/examples/priority_fees.py +0 -0
- {helius_python-0.0.4 → helius_python-0.1.1}/examples/stake_overview.py +0 -0
- {helius_python-0.0.4 → helius_python-0.1.1}/examples/token_inspector.py +0 -0
- {helius_python-0.0.4 → helius_python-0.1.1}/examples/transaction_inspector.py +0 -0
- {helius_python-0.0.4 → helius_python-0.1.1}/examples/wallet_tracker.py +0 -0
- {helius_python-0.0.4 → helius_python-0.1.1}/requirements.txt +0 -0
- {helius_python-0.0.4 → helius_python-0.1.1}/src/helius/__init__.py +0 -0
- {helius_python-0.0.4 → helius_python-0.1.1}/tests/fixtures/account.json +0 -0
- {helius_python-0.0.4 → helius_python-0.1.1}/tests/fixtures/supply.json +0 -0
- {helius_python-0.0.4 → helius_python-0.1.1}/tests/unit/test_rpc_request.py +0 -0
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
name: Bug report
|
|
2
|
+
description: Report a bug in helius-python
|
|
3
|
+
title: "[Bug]: "
|
|
4
|
+
labels: ["bug"]
|
|
5
|
+
body:
|
|
6
|
+
- type: markdown
|
|
7
|
+
attributes:
|
|
8
|
+
value: |
|
|
9
|
+
Thanks for taking the time to file a bug report! Please fill out the
|
|
10
|
+
sections below so we can reproduce and fix the issue quickly.
|
|
11
|
+
- type: textarea
|
|
12
|
+
id: summary
|
|
13
|
+
attributes:
|
|
14
|
+
label: Summary
|
|
15
|
+
description: A clear and concise description of the bug.
|
|
16
|
+
validations:
|
|
17
|
+
required: true
|
|
18
|
+
- type: textarea
|
|
19
|
+
id: reproduction
|
|
20
|
+
attributes:
|
|
21
|
+
label: Reproduction
|
|
22
|
+
description: |
|
|
23
|
+
Minimal, runnable code snippet that reproduces the bug. Please redact
|
|
24
|
+
your API key.
|
|
25
|
+
render: python
|
|
26
|
+
placeholder: |
|
|
27
|
+
from helius.client import HeliusClient
|
|
28
|
+
|
|
29
|
+
with HeliusClient(api_key="...") as c:
|
|
30
|
+
c.get_balance(public_key="...")
|
|
31
|
+
validations:
|
|
32
|
+
required: true
|
|
33
|
+
- type: textarea
|
|
34
|
+
id: expected
|
|
35
|
+
attributes:
|
|
36
|
+
label: Expected behavior
|
|
37
|
+
validations:
|
|
38
|
+
required: true
|
|
39
|
+
- type: textarea
|
|
40
|
+
id: actual
|
|
41
|
+
attributes:
|
|
42
|
+
label: Actual behavior
|
|
43
|
+
description: Include the full traceback if any.
|
|
44
|
+
render: shell
|
|
45
|
+
validations:
|
|
46
|
+
required: true
|
|
47
|
+
- type: input
|
|
48
|
+
id: helius_version
|
|
49
|
+
attributes:
|
|
50
|
+
label: helius-python version
|
|
51
|
+
placeholder: "0.1.0"
|
|
52
|
+
validations:
|
|
53
|
+
required: true
|
|
54
|
+
- type: input
|
|
55
|
+
id: python_version
|
|
56
|
+
attributes:
|
|
57
|
+
label: Python version
|
|
58
|
+
placeholder: "3.12.3"
|
|
59
|
+
validations:
|
|
60
|
+
required: true
|
|
61
|
+
- type: input
|
|
62
|
+
id: os
|
|
63
|
+
attributes:
|
|
64
|
+
label: Operating system
|
|
65
|
+
placeholder: "macOS 14.5 / Ubuntu 24.04 / Windows 11"
|
|
66
|
+
validations:
|
|
67
|
+
required: true
|
|
68
|
+
- type: dropdown
|
|
69
|
+
id: network
|
|
70
|
+
attributes:
|
|
71
|
+
label: Helius network
|
|
72
|
+
options:
|
|
73
|
+
- Mainnet
|
|
74
|
+
- Devnet
|
|
75
|
+
- Testnet
|
|
76
|
+
- Other / not applicable
|
|
77
|
+
validations:
|
|
78
|
+
required: true
|
|
79
|
+
- type: textarea
|
|
80
|
+
id: additional_context
|
|
81
|
+
attributes:
|
|
82
|
+
label: Additional context
|
|
83
|
+
description: Anything else that might be relevant (logs, screenshots, related issues).
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
blank_issues_enabled: false
|
|
2
|
+
contact_links:
|
|
3
|
+
- name: Helius RPC documentation
|
|
4
|
+
url: https://www.helius.dev/docs/rpc
|
|
5
|
+
about: Questions about Helius RPC behavior, rate limits, or network errors
|
|
6
|
+
belong upstream — this library is a thin typed wrapper.
|
|
7
|
+
- name: Solana JSON-RPC documentation
|
|
8
|
+
url: https://solana.com/docs/rpc
|
|
9
|
+
about: Reference for the underlying Solana JSON-RPC API.
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
name: Feature request
|
|
2
|
+
description: Suggest a new RPC method, model, or improvement
|
|
3
|
+
title: "[Feature]: "
|
|
4
|
+
labels: ["enhancement"]
|
|
5
|
+
body:
|
|
6
|
+
- type: markdown
|
|
7
|
+
attributes:
|
|
8
|
+
value: |
|
|
9
|
+
Thanks for the suggestion! Please describe what you'd like to see
|
|
10
|
+
added or changed.
|
|
11
|
+
- type: textarea
|
|
12
|
+
id: problem
|
|
13
|
+
attributes:
|
|
14
|
+
label: Problem
|
|
15
|
+
description: What problem are you trying to solve? What's the use case?
|
|
16
|
+
validations:
|
|
17
|
+
required: true
|
|
18
|
+
- type: textarea
|
|
19
|
+
id: proposal
|
|
20
|
+
attributes:
|
|
21
|
+
label: Proposed solution
|
|
22
|
+
description: |
|
|
23
|
+
Describe the API or behavior you'd like. For new RPC methods, please
|
|
24
|
+
link the upstream Helius docs (both the guide and the API reference
|
|
25
|
+
pages).
|
|
26
|
+
placeholder: |
|
|
27
|
+
Add `HeliusClient.get_foo(...)` wrapping `getFoo`.
|
|
28
|
+
- Guide: https://www.helius.dev/docs/rpc/guides/getfoo
|
|
29
|
+
- API reference: https://www.helius.dev/docs/api-reference/rpc/http/getfoo
|
|
30
|
+
validations:
|
|
31
|
+
required: true
|
|
32
|
+
- type: textarea
|
|
33
|
+
id: alternatives
|
|
34
|
+
attributes:
|
|
35
|
+
label: Alternatives considered
|
|
36
|
+
description: Other approaches you considered and why you ruled them out.
|
|
37
|
+
- type: textarea
|
|
38
|
+
id: additional_context
|
|
39
|
+
attributes:
|
|
40
|
+
label: Additional context
|
|
41
|
+
description: Anything else (related issues, prior art in other libraries).
|
|
@@ -43,6 +43,7 @@ easiest to most involved:
|
|
|
43
43
|
fleshed out.
|
|
44
44
|
- **Improve docs and examples.** Clearer docstrings, better README snippets,
|
|
45
45
|
more realistic examples.
|
|
46
|
+
- **Create an example or refine an existing one.** Examples make it easier for developers to get started.
|
|
46
47
|
|
|
47
48
|
If you're not sure where to start, browse the
|
|
48
49
|
[open issues](https://github.com/markosnarinian/helius-python/issues).
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: helius-python
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.1.1
|
|
4
4
|
Summary: Typed Python client for the Helius API
|
|
5
5
|
Project-URL: Homepage, https://github.com/markosnarinian/helius-python
|
|
6
6
|
Project-URL: Issues, https://github.com/markosnarinian/helius-python/issues
|
|
@@ -121,6 +121,7 @@ Description-Content-Type: text/markdown
|
|
|
121
121
|
<br />
|
|
122
122
|
|
|
123
123
|
## TL;DR
|
|
124
|
+
|
|
124
125
|
```bash
|
|
125
126
|
pip install helius-python
|
|
126
127
|
```
|
|
@@ -306,57 +307,58 @@ Actively expanding toward full coverage of the Helius API. See
|
|
|
306
307
|
implemented methods; missing endpoints are tracked as issues and added
|
|
307
308
|
continuously.
|
|
308
309
|
|
|
309
|
-
| Solana JSON-RPC method | Python method
|
|
310
|
-
| ----------------------------------- |
|
|
311
|
-
| `getAccountInfo` | `
|
|
312
|
-
| `getBalance` | `
|
|
313
|
-
| `getBlock` | `
|
|
314
|
-
| `getBlockCommitment` | `
|
|
315
|
-
| `getBlockHeight` | `
|
|
316
|
-
| `getBlockProduction` | `
|
|
317
|
-
| `getBlocks` | `
|
|
318
|
-
| `getBlocksWithLimit` | `
|
|
319
|
-
| `getBlockTime` | `
|
|
320
|
-
| `getClusterNodes` | `
|
|
321
|
-
| `getEpochInfo` | `
|
|
322
|
-
| `getEpochSchedule` | `
|
|
323
|
-
| `getFeeForMessage` | `
|
|
324
|
-
| `getFirstAvailableBlock` | `
|
|
325
|
-
| `getGenesisHash` | `
|
|
326
|
-
| `getHealth` | `
|
|
327
|
-
| `getHighestSnapshotSlot` | `
|
|
328
|
-
| `getIdentity` | `
|
|
329
|
-
| `getInflationGovernor` | `
|
|
330
|
-
| `getInflationRate` | `
|
|
331
|
-
| `
|
|
332
|
-
| `
|
|
333
|
-
| `
|
|
334
|
-
| `
|
|
335
|
-
| `
|
|
336
|
-
| `
|
|
337
|
-
| `
|
|
338
|
-
| `
|
|
339
|
-
| `
|
|
340
|
-
| `
|
|
341
|
-
| `
|
|
342
|
-
| `
|
|
343
|
-
| `
|
|
344
|
-
| `
|
|
345
|
-
| `
|
|
346
|
-
| `
|
|
347
|
-
| `
|
|
348
|
-
| `
|
|
349
|
-
| `
|
|
350
|
-
| `
|
|
351
|
-
| `
|
|
352
|
-
| `
|
|
353
|
-
| `
|
|
354
|
-
| `
|
|
355
|
-
| `
|
|
356
|
-
| `
|
|
357
|
-
| `
|
|
358
|
-
| `
|
|
359
|
-
| `
|
|
310
|
+
| Solana JSON-RPC method | Python method | Helius docs |
|
|
311
|
+
| ----------------------------------- | --------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
312
|
+
| `getAccountInfo` | `get_account_info(...)` | [guide](https://www.helius.dev/docs/rpc/guides/getaccountinfo), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getaccountinfo) |
|
|
313
|
+
| `getBalance` | `get_balance(...)` | [guide](https://www.helius.dev/docs/rpc/guides/getbalance), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getbalance) |
|
|
314
|
+
| `getBlock` | `get_block(...)` | [guide](https://www.helius.dev/docs/rpc/guides/getblock), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getblock) |
|
|
315
|
+
| `getBlockCommitment` | `get_block_commitment(...)` | [guide](https://www.helius.dev/docs/rpc/guides/getblockcommitment), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getblockcommitment) |
|
|
316
|
+
| `getBlockHeight` | `get_block_height(...)` | [guide](https://www.helius.dev/docs/rpc/guides/getblockheight), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getblockheight) |
|
|
317
|
+
| `getBlockProduction` | `get_block_production(...)` | [guide](https://www.helius.dev/docs/rpc/guides/getblockproduction), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getblockproduction) |
|
|
318
|
+
| `getBlocks` | `get_blocks(...)` | [guide](https://www.helius.dev/docs/rpc/guides/getblocks), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getblocks) |
|
|
319
|
+
| `getBlocksWithLimit` | `get_blocks_with_limit(...)` | [guide](https://www.helius.dev/docs/rpc/guides/getblockswithlimit), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getblockswithlimit) |
|
|
320
|
+
| `getBlockTime` | `get_block_time(...)` | [guide](https://www.helius.dev/docs/rpc/guides/getblocktime), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getblocktime) |
|
|
321
|
+
| `getClusterNodes` | `get_cluster_nodes()` | [guide](https://www.helius.dev/docs/rpc/guides/getclusternodes), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getclusternodes) |
|
|
322
|
+
| `getEpochInfo` | `get_epoch_info(...)` | [guide](https://www.helius.dev/docs/rpc/guides/getepochinfo), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getepochinfo) |
|
|
323
|
+
| `getEpochSchedule` | `get_epoch_schedule()` | [guide](https://www.helius.dev/docs/rpc/guides/getepochschedule), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getepochschedule) |
|
|
324
|
+
| `getFeeForMessage` | `get_fee_for_message(...)` | [guide](https://www.helius.dev/docs/rpc/guides/getfeeformessage), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getfeeformessage) |
|
|
325
|
+
| `getFirstAvailableBlock` | `get_first_available_block()` | [guide](https://www.helius.dev/docs/rpc/guides/getfirstavailableblock), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getfirstavailableblock) |
|
|
326
|
+
| `getGenesisHash` | `get_genesis_hash()` | [guide](https://www.helius.dev/docs/rpc/guides/getgenesishash), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getgenesishash) |
|
|
327
|
+
| `getHealth` | `get_health()` | [guide](https://www.helius.dev/docs/rpc/guides/gethealth), [reference](https://www.helius.dev/docs/api-reference/rpc/http/gethealth) |
|
|
328
|
+
| `getHighestSnapshotSlot` | `get_highest_snapshot_slot()` | [guide](https://www.helius.dev/docs/rpc/guides/gethighestsnapshotslot), [reference](https://www.helius.dev/docs/api-reference/rpc/http/gethighestsnapshotslot) |
|
|
329
|
+
| `getIdentity` | `get_identity()` | [guide](https://www.helius.dev/docs/rpc/guides/getidentity), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getidentity) |
|
|
330
|
+
| `getInflationGovernor` | `get_inflation_governor(...)` | [guide](https://www.helius.dev/docs/rpc/guides/getinflationgovernor), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getinflationgovernor) |
|
|
331
|
+
| `getInflationRate` | `get_inflation_rate()` | [guide](https://www.helius.dev/docs/rpc/guides/getinflationrate), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getinflationrate) |
|
|
332
|
+
| `getInflationReward` | `get_inflation_reward(...)` | [guide](https://www.helius.dev/docs/rpc/guides/getinflationreward), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getinflationreward) |
|
|
333
|
+
| `getLargestAccounts` | `get_largest_accounts(...)` | [guide](https://www.helius.dev/docs/rpc/guides/getlargestaccounts), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getlargestaccounts) |
|
|
334
|
+
| `getLatestBlockhash` | `get_latest_blockhash(...)` | [guide](https://www.helius.dev/docs/rpc/guides/getlatestblockhash), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getlatestblockhash) |
|
|
335
|
+
| `getLeaderSchedule` | `client.get_leader_schedule(...)` | [guide](https://www.helius.dev/docs/rpc/guides/getleaderschedule), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getleaderschedule) |
|
|
336
|
+
| `getMaxRetransmitSlot` | `client.get_max_retransmit_slot()` | [guide](https://www.helius.dev/docs/rpc/guides/getmaxretransmitslot), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getmaxretransmitslot) |
|
|
337
|
+
| `getMaxShredInsertSlot` | `get_max_shred_insert_slot()` | [guide](https://www.helius.dev/docs/rpc/guides/getmaxshredinsertslot), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getmaxshredinsertslot) |
|
|
338
|
+
| `getMinimumBalanceForRentExemption` | `get_minimum_balance_for_rent_exemption(...)` | [guide](https://www.helius.dev/docs/rpc/guides/getminimumbalanceforrentexemption), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getminimumbalanceforrentexemption) |
|
|
339
|
+
| `getMultipleAccounts` | `get_multiple_accounts(...)` | [guide](https://www.helius.dev/docs/rpc/guides/getmultipleaccounts), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getmultipleaccounts) |
|
|
340
|
+
| `getProgramAccounts` | `get_program_accounts(...)` | [guide](https://www.helius.dev/docs/rpc/guides/getprogramaccounts), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getprogramaccounts) |
|
|
341
|
+
| `getRecentPerformanceSamples` | `get_recent_performance_samples(...)` | [guide](https://www.helius.dev/docs/rpc/guides/getrecentperformancesamples), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getrecentperformancesamples) |
|
|
342
|
+
| `getRecentPrioritizationFees` | `get_recent_prioritization_fees(...)` | [guide](https://www.helius.dev/docs/rpc/guides/getrecentprioritizationfees), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getrecentprioritizationfees) |
|
|
343
|
+
| `getSignaturesForAddress` | `get_signatures_for_address(...)` | [guide](https://www.helius.dev/docs/rpc/guides/getsignaturesforaddress), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getsignaturesforaddress) |
|
|
344
|
+
| `getSignatureStatuses` | `get_signature_statuses(...)` | [guide](https://www.helius.dev/docs/rpc/guides/getsignaturestatuses), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getsignaturestatuses) |
|
|
345
|
+
| `getSlot` | `get_slot(...)` | [guide](https://www.helius.dev/docs/rpc/guides/getslot), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getslot) |
|
|
346
|
+
| `getSlotLeader` | `get_slot_leader(...)` | [guide](https://www.helius.dev/docs/rpc/guides/getslotleader), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getslotleader) |
|
|
347
|
+
| `getSlotLeaders` | `get_slot_leaders(...)` | [guide](https://www.helius.dev/docs/rpc/guides/getslotleaders), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getslotleaders) |
|
|
348
|
+
| `getStakeMinimumDelegation` | `get_stake_minimum_delegation(...)` | [guide](https://www.helius.dev/docs/rpc/guides/getstakeminimumdelegation), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getstakeminimumdelegation) |
|
|
349
|
+
| `getSupply` | `get_supply(...)` | [guide](https://www.helius.dev/docs/rpc/guides/getsupply), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getsupply) |
|
|
350
|
+
| `getTokenAccountBalance` | `get_token_account_balance(...)` | [guide](https://www.helius.dev/docs/rpc/guides/gettokenaccountbalance), [reference](https://www.helius.dev/docs/api-reference/rpc/http/gettokenaccountbalance) |
|
|
351
|
+
| `getTokenAccountsByDelegate` | `get_token_accounts_by_delegate(...)` | [guide](https://www.helius.dev/docs/rpc/guides/gettokenaccountsbydelegate), [reference](https://www.helius.dev/docs/api-reference/rpc/http/gettokenaccountsbydelegate) |
|
|
352
|
+
| `getTokenAccountsByOwner` | `get_token_accounts_by_owner(...)` | [guide](https://www.helius.dev/docs/rpc/guides/gettokenaccountsbyowner), [reference](https://www.helius.dev/docs/api-reference/rpc/http/gettokenaccountsbyowner) |
|
|
353
|
+
| `getTokenLargestAccounts` | `get_token_largest_accounts(...)` | [guide](https://www.helius.dev/docs/rpc/guides/gettokenlargestaccounts), [reference](https://www.helius.dev/docs/api-reference/rpc/http/gettokenlargestaccounts) |
|
|
354
|
+
| `getTokenSupply` | `get_token_supply(...)` | [guide](https://www.helius.dev/docs/rpc/guides/gettokensupply), [reference](https://www.helius.dev/docs/api-reference/rpc/http/gettokensupply) |
|
|
355
|
+
| `getTransaction` | `get_transaction(...)` | [guide](https://www.helius.dev/docs/rpc/guides/gettransaction), [reference](https://www.helius.dev/docs/api-reference/rpc/http/gettransaction) |
|
|
356
|
+
| `getTransactionCount` | `get_transaction_count(...)` | [guide](https://www.helius.dev/docs/rpc/guides/gettransactioncount), [reference](https://www.helius.dev/docs/api-reference/rpc/http/gettransactioncount) |
|
|
357
|
+
| `getVersion` | `get_version()` | [guide](https://www.helius.dev/docs/rpc/guides/getversion), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getversion) |
|
|
358
|
+
| `getVoteAccounts` | `get_vote_accounts(...)` | [guide](https://www.helius.dev/docs/rpc/guides/getvoteaccounts), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getvoteaccounts) |
|
|
359
|
+
| `isBlockhashValid` | `is_blockhash_valid(...)` | [guide](https://www.helius.dev/docs/rpc/guides/isblockhashvalid), [reference](https://www.helius.dev/docs/api-reference/rpc/http/isblockhashvalid) |
|
|
360
|
+
| `minimumLedgerSlot` | `minimum_ledger_slot()` | [guide](https://www.helius.dev/docs/rpc/guides/minimumledgerslot), [reference](https://www.helius.dev/docs/api-reference/rpc/http/minimumledgerslot) |
|
|
361
|
+
| `requestAirdrop` | `request_airdrop(...)` | [guide](https://www.helius.dev/docs/rpc/guides/requestairdrop), [reference](https://www.helius.dev/docs/api-reference/rpc/http/requestairdrop) |
|
|
360
362
|
|
|
361
363
|
## License
|
|
362
364
|
|
|
@@ -101,6 +101,7 @@
|
|
|
101
101
|
<br />
|
|
102
102
|
|
|
103
103
|
## TL;DR
|
|
104
|
+
|
|
104
105
|
```bash
|
|
105
106
|
pip install helius-python
|
|
106
107
|
```
|
|
@@ -286,57 +287,58 @@ Actively expanding toward full coverage of the Helius API. See
|
|
|
286
287
|
implemented methods; missing endpoints are tracked as issues and added
|
|
287
288
|
continuously.
|
|
288
289
|
|
|
289
|
-
| Solana JSON-RPC method | Python method
|
|
290
|
-
| ----------------------------------- |
|
|
291
|
-
| `getAccountInfo` | `
|
|
292
|
-
| `getBalance` | `
|
|
293
|
-
| `getBlock` | `
|
|
294
|
-
| `getBlockCommitment` | `
|
|
295
|
-
| `getBlockHeight` | `
|
|
296
|
-
| `getBlockProduction` | `
|
|
297
|
-
| `getBlocks` | `
|
|
298
|
-
| `getBlocksWithLimit` | `
|
|
299
|
-
| `getBlockTime` | `
|
|
300
|
-
| `getClusterNodes` | `
|
|
301
|
-
| `getEpochInfo` | `
|
|
302
|
-
| `getEpochSchedule` | `
|
|
303
|
-
| `getFeeForMessage` | `
|
|
304
|
-
| `getFirstAvailableBlock` | `
|
|
305
|
-
| `getGenesisHash` | `
|
|
306
|
-
| `getHealth` | `
|
|
307
|
-
| `getHighestSnapshotSlot` | `
|
|
308
|
-
| `getIdentity` | `
|
|
309
|
-
| `getInflationGovernor` | `
|
|
310
|
-
| `getInflationRate` | `
|
|
311
|
-
| `
|
|
312
|
-
| `
|
|
313
|
-
| `
|
|
314
|
-
| `
|
|
315
|
-
| `
|
|
316
|
-
| `
|
|
317
|
-
| `
|
|
318
|
-
| `
|
|
319
|
-
| `
|
|
320
|
-
| `
|
|
321
|
-
| `
|
|
322
|
-
| `
|
|
323
|
-
| `
|
|
324
|
-
| `
|
|
325
|
-
| `
|
|
326
|
-
| `
|
|
327
|
-
| `
|
|
328
|
-
| `
|
|
329
|
-
| `
|
|
330
|
-
| `
|
|
331
|
-
| `
|
|
332
|
-
| `
|
|
333
|
-
| `
|
|
334
|
-
| `
|
|
335
|
-
| `
|
|
336
|
-
| `
|
|
337
|
-
| `
|
|
338
|
-
| `
|
|
339
|
-
| `
|
|
290
|
+
| Solana JSON-RPC method | Python method | Helius docs |
|
|
291
|
+
| ----------------------------------- | --------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
292
|
+
| `getAccountInfo` | `get_account_info(...)` | [guide](https://www.helius.dev/docs/rpc/guides/getaccountinfo), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getaccountinfo) |
|
|
293
|
+
| `getBalance` | `get_balance(...)` | [guide](https://www.helius.dev/docs/rpc/guides/getbalance), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getbalance) |
|
|
294
|
+
| `getBlock` | `get_block(...)` | [guide](https://www.helius.dev/docs/rpc/guides/getblock), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getblock) |
|
|
295
|
+
| `getBlockCommitment` | `get_block_commitment(...)` | [guide](https://www.helius.dev/docs/rpc/guides/getblockcommitment), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getblockcommitment) |
|
|
296
|
+
| `getBlockHeight` | `get_block_height(...)` | [guide](https://www.helius.dev/docs/rpc/guides/getblockheight), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getblockheight) |
|
|
297
|
+
| `getBlockProduction` | `get_block_production(...)` | [guide](https://www.helius.dev/docs/rpc/guides/getblockproduction), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getblockproduction) |
|
|
298
|
+
| `getBlocks` | `get_blocks(...)` | [guide](https://www.helius.dev/docs/rpc/guides/getblocks), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getblocks) |
|
|
299
|
+
| `getBlocksWithLimit` | `get_blocks_with_limit(...)` | [guide](https://www.helius.dev/docs/rpc/guides/getblockswithlimit), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getblockswithlimit) |
|
|
300
|
+
| `getBlockTime` | `get_block_time(...)` | [guide](https://www.helius.dev/docs/rpc/guides/getblocktime), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getblocktime) |
|
|
301
|
+
| `getClusterNodes` | `get_cluster_nodes()` | [guide](https://www.helius.dev/docs/rpc/guides/getclusternodes), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getclusternodes) |
|
|
302
|
+
| `getEpochInfo` | `get_epoch_info(...)` | [guide](https://www.helius.dev/docs/rpc/guides/getepochinfo), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getepochinfo) |
|
|
303
|
+
| `getEpochSchedule` | `get_epoch_schedule()` | [guide](https://www.helius.dev/docs/rpc/guides/getepochschedule), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getepochschedule) |
|
|
304
|
+
| `getFeeForMessage` | `get_fee_for_message(...)` | [guide](https://www.helius.dev/docs/rpc/guides/getfeeformessage), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getfeeformessage) |
|
|
305
|
+
| `getFirstAvailableBlock` | `get_first_available_block()` | [guide](https://www.helius.dev/docs/rpc/guides/getfirstavailableblock), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getfirstavailableblock) |
|
|
306
|
+
| `getGenesisHash` | `get_genesis_hash()` | [guide](https://www.helius.dev/docs/rpc/guides/getgenesishash), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getgenesishash) |
|
|
307
|
+
| `getHealth` | `get_health()` | [guide](https://www.helius.dev/docs/rpc/guides/gethealth), [reference](https://www.helius.dev/docs/api-reference/rpc/http/gethealth) |
|
|
308
|
+
| `getHighestSnapshotSlot` | `get_highest_snapshot_slot()` | [guide](https://www.helius.dev/docs/rpc/guides/gethighestsnapshotslot), [reference](https://www.helius.dev/docs/api-reference/rpc/http/gethighestsnapshotslot) |
|
|
309
|
+
| `getIdentity` | `get_identity()` | [guide](https://www.helius.dev/docs/rpc/guides/getidentity), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getidentity) |
|
|
310
|
+
| `getInflationGovernor` | `get_inflation_governor(...)` | [guide](https://www.helius.dev/docs/rpc/guides/getinflationgovernor), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getinflationgovernor) |
|
|
311
|
+
| `getInflationRate` | `get_inflation_rate()` | [guide](https://www.helius.dev/docs/rpc/guides/getinflationrate), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getinflationrate) |
|
|
312
|
+
| `getInflationReward` | `get_inflation_reward(...)` | [guide](https://www.helius.dev/docs/rpc/guides/getinflationreward), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getinflationreward) |
|
|
313
|
+
| `getLargestAccounts` | `get_largest_accounts(...)` | [guide](https://www.helius.dev/docs/rpc/guides/getlargestaccounts), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getlargestaccounts) |
|
|
314
|
+
| `getLatestBlockhash` | `get_latest_blockhash(...)` | [guide](https://www.helius.dev/docs/rpc/guides/getlatestblockhash), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getlatestblockhash) |
|
|
315
|
+
| `getLeaderSchedule` | `client.get_leader_schedule(...)` | [guide](https://www.helius.dev/docs/rpc/guides/getleaderschedule), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getleaderschedule) |
|
|
316
|
+
| `getMaxRetransmitSlot` | `client.get_max_retransmit_slot()` | [guide](https://www.helius.dev/docs/rpc/guides/getmaxretransmitslot), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getmaxretransmitslot) |
|
|
317
|
+
| `getMaxShredInsertSlot` | `get_max_shred_insert_slot()` | [guide](https://www.helius.dev/docs/rpc/guides/getmaxshredinsertslot), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getmaxshredinsertslot) |
|
|
318
|
+
| `getMinimumBalanceForRentExemption` | `get_minimum_balance_for_rent_exemption(...)` | [guide](https://www.helius.dev/docs/rpc/guides/getminimumbalanceforrentexemption), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getminimumbalanceforrentexemption) |
|
|
319
|
+
| `getMultipleAccounts` | `get_multiple_accounts(...)` | [guide](https://www.helius.dev/docs/rpc/guides/getmultipleaccounts), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getmultipleaccounts) |
|
|
320
|
+
| `getProgramAccounts` | `get_program_accounts(...)` | [guide](https://www.helius.dev/docs/rpc/guides/getprogramaccounts), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getprogramaccounts) |
|
|
321
|
+
| `getRecentPerformanceSamples` | `get_recent_performance_samples(...)` | [guide](https://www.helius.dev/docs/rpc/guides/getrecentperformancesamples), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getrecentperformancesamples) |
|
|
322
|
+
| `getRecentPrioritizationFees` | `get_recent_prioritization_fees(...)` | [guide](https://www.helius.dev/docs/rpc/guides/getrecentprioritizationfees), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getrecentprioritizationfees) |
|
|
323
|
+
| `getSignaturesForAddress` | `get_signatures_for_address(...)` | [guide](https://www.helius.dev/docs/rpc/guides/getsignaturesforaddress), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getsignaturesforaddress) |
|
|
324
|
+
| `getSignatureStatuses` | `get_signature_statuses(...)` | [guide](https://www.helius.dev/docs/rpc/guides/getsignaturestatuses), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getsignaturestatuses) |
|
|
325
|
+
| `getSlot` | `get_slot(...)` | [guide](https://www.helius.dev/docs/rpc/guides/getslot), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getslot) |
|
|
326
|
+
| `getSlotLeader` | `get_slot_leader(...)` | [guide](https://www.helius.dev/docs/rpc/guides/getslotleader), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getslotleader) |
|
|
327
|
+
| `getSlotLeaders` | `get_slot_leaders(...)` | [guide](https://www.helius.dev/docs/rpc/guides/getslotleaders), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getslotleaders) |
|
|
328
|
+
| `getStakeMinimumDelegation` | `get_stake_minimum_delegation(...)` | [guide](https://www.helius.dev/docs/rpc/guides/getstakeminimumdelegation), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getstakeminimumdelegation) |
|
|
329
|
+
| `getSupply` | `get_supply(...)` | [guide](https://www.helius.dev/docs/rpc/guides/getsupply), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getsupply) |
|
|
330
|
+
| `getTokenAccountBalance` | `get_token_account_balance(...)` | [guide](https://www.helius.dev/docs/rpc/guides/gettokenaccountbalance), [reference](https://www.helius.dev/docs/api-reference/rpc/http/gettokenaccountbalance) |
|
|
331
|
+
| `getTokenAccountsByDelegate` | `get_token_accounts_by_delegate(...)` | [guide](https://www.helius.dev/docs/rpc/guides/gettokenaccountsbydelegate), [reference](https://www.helius.dev/docs/api-reference/rpc/http/gettokenaccountsbydelegate) |
|
|
332
|
+
| `getTokenAccountsByOwner` | `get_token_accounts_by_owner(...)` | [guide](https://www.helius.dev/docs/rpc/guides/gettokenaccountsbyowner), [reference](https://www.helius.dev/docs/api-reference/rpc/http/gettokenaccountsbyowner) |
|
|
333
|
+
| `getTokenLargestAccounts` | `get_token_largest_accounts(...)` | [guide](https://www.helius.dev/docs/rpc/guides/gettokenlargestaccounts), [reference](https://www.helius.dev/docs/api-reference/rpc/http/gettokenlargestaccounts) |
|
|
334
|
+
| `getTokenSupply` | `get_token_supply(...)` | [guide](https://www.helius.dev/docs/rpc/guides/gettokensupply), [reference](https://www.helius.dev/docs/api-reference/rpc/http/gettokensupply) |
|
|
335
|
+
| `getTransaction` | `get_transaction(...)` | [guide](https://www.helius.dev/docs/rpc/guides/gettransaction), [reference](https://www.helius.dev/docs/api-reference/rpc/http/gettransaction) |
|
|
336
|
+
| `getTransactionCount` | `get_transaction_count(...)` | [guide](https://www.helius.dev/docs/rpc/guides/gettransactioncount), [reference](https://www.helius.dev/docs/api-reference/rpc/http/gettransactioncount) |
|
|
337
|
+
| `getVersion` | `get_version()` | [guide](https://www.helius.dev/docs/rpc/guides/getversion), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getversion) |
|
|
338
|
+
| `getVoteAccounts` | `get_vote_accounts(...)` | [guide](https://www.helius.dev/docs/rpc/guides/getvoteaccounts), [reference](https://www.helius.dev/docs/api-reference/rpc/http/getvoteaccounts) |
|
|
339
|
+
| `isBlockhashValid` | `is_blockhash_valid(...)` | [guide](https://www.helius.dev/docs/rpc/guides/isblockhashvalid), [reference](https://www.helius.dev/docs/api-reference/rpc/http/isblockhashvalid) |
|
|
340
|
+
| `minimumLedgerSlot` | `minimum_ledger_slot()` | [guide](https://www.helius.dev/docs/rpc/guides/minimumledgerslot), [reference](https://www.helius.dev/docs/api-reference/rpc/http/minimumledgerslot) |
|
|
341
|
+
| `requestAirdrop` | `request_airdrop(...)` | [guide](https://www.helius.dev/docs/rpc/guides/requestairdrop), [reference](https://www.helius.dev/docs/api-reference/rpc/http/requestairdrop) |
|
|
340
342
|
|
|
341
343
|
## License
|
|
342
344
|
|