Selene Helius SDK
Async library for helius API & RPC
use Result;
use GetAssetsByOwnerParams;
use HeliusBuilder;
async
Usage
The package needs to be configured with your account's API key, which is available in the Helius Dashboard.
API reference documentation is available at docs.helius.dev.
Supported APIs
DAS API Status
| Endpoint | Status |
|---|---|
| getAsset | ✓ |
| getAssetBatch | ✓ |
| getAssetProof | ✓ |
| getAssetProofBatch | ✓ |
| getAssetsByOwner | ✓ |
| getAssetsByAuthority | ✓ |
| getAssetsByCreator | ✓ |
| getAssetsByGroup | ✗ |
| searchAssets | ✓ |
| getSignaturesForAsset | ✗ |
| getTokenAccounts | ✓ |
| getPriorityFeeEstimate | ✓ |
Enriched Transactions
| Endpoint | Status |
|---|---|
| transactions | ✓ |
| history | ✗ |
Webhooks API Status
| Endpoint | Status |
|---|---|
| create-webhook | ✓ |
| get-all-webhooks | ✓ |
| get-webhook | ✓ |
| edit-webhook | ✓ |
| delete-webhook | ✓ |
| appendAddressesToWebhook | ✓ |
Mint API
| Endpoint | Status |
|---|---|
| mintCompressedNft | ✗ |
| delegateCollectionAuthority | ✗ |
| revokeCollectionAuthority() | ✗ |
| getMintlist | ✗ |
Examples
See examples directory for various ways to use the library
- Create a webhook
HELIUS_API_KEY=<mykey> cargo run --example get_assets
Development
To run tests you need to export or create a .env file with the HELIUS_API_KEY
HELIUS_API_KEY=mykey cargo test
Bot
There's an example telegram bot which can create webooks and send solana activity to your telegram channel
Credits
Inspired by sync library for helius, https://github.com/bgreni/helius-rust-sdk