9 releases (breaking)
0.45.0 | Sep 20, 2024 |
---|---|
0.44.0 | Sep 9, 2024 |
0.32.0 | Sep 8, 2024 |
0.31.0 | Aug 29, 2024 |
0.27.0 | Jun 24, 2024 |
#17 in #indexer
41 downloads per month
Used in 2 crates
215KB
4.5K
SLoC
Rust API client for photon-api
Solana indexer for general compression
Overview
This API client was generated by the OpenAPI Generator project. By using the openapi-spec from a remote server, you can easily generate an API client.
- API version: 0.45.0
- Package version: 0.45.0
- Generator version: 7.5.0
- Build package:
org.openapitools.codegen.languages.RustClientCodegen
Installation
Put the package under your project folder in a directory named photon-api
and add the following to Cargo.toml
under [dependencies]
:
photon-api = { path = "./photon-api" }
Documentation for API Endpoints
All URIs are relative to https://devnet.helius-rpc.com?api-key=<api_key>
Class | Method | HTTP request | Description |
---|---|---|---|
DefaultApi | get_compressed_account_balance_post | POST /getCompressedAccountBalance | |
DefaultApi | get_compressed_account_post | POST /getCompressedAccount | |
DefaultApi | get_compressed_account_proof_post | POST /getCompressedAccountProof | |
DefaultApi | get_compressed_accounts_by_owner_post | POST /getCompressedAccountsByOwner | |
DefaultApi | get_compressed_balance_by_owner_post | POST /getCompressedBalanceByOwner | |
DefaultApi | get_compressed_token_account_balance_post | POST /getCompressedTokenAccountBalance | |
DefaultApi | get_compressed_token_accounts_by_delegate_post | POST /getCompressedTokenAccountsByDelegate | |
DefaultApi | get_compressed_token_accounts_by_owner_post | POST /getCompressedTokenAccountsByOwner | |
DefaultApi | get_compressed_token_balances_by_owner_post | POST /getCompressedTokenBalancesByOwner | |
DefaultApi | get_compression_signatures_for_account_post | POST /getCompressionSignaturesForAccount | |
DefaultApi | get_compression_signatures_for_address_post | POST /getCompressionSignaturesForAddress | |
DefaultApi | get_compression_signatures_for_owner_post | POST /getCompressionSignaturesForOwner | |
DefaultApi | get_compression_signatures_for_token_owner_post | POST /getCompressionSignaturesForTokenOwner | |
DefaultApi | get_indexer_health_post | POST /getIndexerHealth | |
DefaultApi | get_indexer_slot_post | POST /getIndexerSlot | |
DefaultApi | get_latest_compression_signatures_post | POST /getLatestCompressionSignatures | |
DefaultApi | get_latest_non_voting_signatures_post | POST /getLatestNonVotingSignatures | |
DefaultApi | get_multiple_compressed_account_proofs_post | POST /getMultipleCompressedAccountProofs | |
DefaultApi | get_multiple_compressed_accounts_post | POST /getMultipleCompressedAccounts | |
DefaultApi | get_multiple_new_address_proofs_post | POST /getMultipleNewAddressProofs | |
DefaultApi | get_multiple_new_address_proofs_v2_post | POST /getMultipleNewAddressProofsV2 | |
DefaultApi | get_transaction_with_compression_info_post | POST /getTransactionWithCompressionInfo | |
DefaultApi | get_validity_proof_post | POST /getValidityProof |
Documentation For Models
- Account
- AccountData
- AccountList
- AccountState
- AccountWithOptionalTokenData
- AddressWithTree
- CompressedProof
- CompressedProofWithContext
- Context
- DataSlice
- FilterSelector
- GetCompressedAccountBalancePost200Response
- GetCompressedAccountBalancePost200ResponseResult
- GetCompressedAccountBalancePostRequest
- GetCompressedAccountPost200Response
- GetCompressedAccountPost200ResponseError
- GetCompressedAccountPost200ResponseResult
- GetCompressedAccountPost429Response
- GetCompressedAccountPostRequest
- GetCompressedAccountPostRequestParams
- GetCompressedAccountProofPost200Response
- GetCompressedAccountProofPost200ResponseResult
- GetCompressedAccountProofPostRequest
- GetCompressedAccountProofPostRequestParams
- GetCompressedAccountsByOwnerPost200Response
- GetCompressedAccountsByOwnerPost200ResponseResult
- GetCompressedAccountsByOwnerPostRequest
- GetCompressedAccountsByOwnerPostRequestParams
- GetCompressedBalanceByOwnerPostRequest
- GetCompressedBalanceByOwnerPostRequestParams
- GetCompressedTokenAccountBalancePost200Response
- GetCompressedTokenAccountBalancePost200ResponseResult
- GetCompressedTokenAccountBalancePostRequest
- GetCompressedTokenAccountsByDelegatePost200Response
- GetCompressedTokenAccountsByDelegatePost200ResponseResult
- GetCompressedTokenAccountsByDelegatePostRequest
- GetCompressedTokenAccountsByDelegatePostRequestParams
- GetCompressedTokenAccountsByOwnerPostRequest
- GetCompressedTokenAccountsByOwnerPostRequestParams
- GetCompressedTokenBalancesByOwnerPost200Response
- GetCompressedTokenBalancesByOwnerPost200ResponseResult
- GetCompressedTokenBalancesByOwnerPostRequest
- GetCompressionSignaturesForAccountPost200Response
- GetCompressionSignaturesForAccountPost200ResponseResult
- GetCompressionSignaturesForAccountPostRequest
- GetCompressionSignaturesForAddressPost200Response
- GetCompressionSignaturesForAddressPost200ResponseResult
- GetCompressionSignaturesForAddressPostRequest
- GetCompressionSignaturesForAddressPostRequestParams
- GetCompressionSignaturesForOwnerPostRequest
- GetCompressionSignaturesForOwnerPostRequestParams
- GetCompressionSignaturesForTokenOwnerPostRequest
- GetIndexerHealthPost200Response
- GetIndexerHealthPostRequest
- GetIndexerSlotPost200Response
- GetIndexerSlotPostRequest
- GetLatestCompressionSignaturesPostRequest
- GetLatestCompressionSignaturesPostRequestParams
- GetLatestNonVotingSignaturesPost200Response
- GetLatestNonVotingSignaturesPost200ResponseResult
- GetLatestNonVotingSignaturesPostRequest
- GetMultipleCompressedAccountProofsPost200Response
- GetMultipleCompressedAccountProofsPost200ResponseResult
- GetMultipleCompressedAccountProofsPostRequest
- GetMultipleCompressedAccountsPost200Response
- GetMultipleCompressedAccountsPost200ResponseResult
- GetMultipleCompressedAccountsPostRequest
- GetMultipleCompressedAccountsPostRequestParams
- GetMultipleNewAddressProofsPost200Response
- GetMultipleNewAddressProofsPost200ResponseResult
- GetMultipleNewAddressProofsPostRequest
- GetMultipleNewAddressProofsV2PostRequest
- GetTransactionWithCompressionInfoPost200Response
- GetTransactionWithCompressionInfoPost200ResponseResult
- GetTransactionWithCompressionInfoPost200ResponseResultCompressionInfo
- GetTransactionWithCompressionInfoPostRequest
- GetTransactionWithCompressionInfoPostRequestParams
- GetValidityProofPost200Response
- GetValidityProofPost200ResponseResult
- GetValidityProofPostRequest
- GetValidityProofPostRequestParams
- Memcmp
- MerkleContextWithNewAddressProof
- MerkleProofWithContext
- PaginatedAccountList
- PaginatedSignatureInfoList
- SignatureInfo
- SignatureInfoList
- SignatureInfoListWithError
- SignatureInfoWithError
- TokenAcccount
- TokenAccountBalance
- TokenAccountList
- TokenBalance
- TokenBalanceList
- TokenData
To get access to the crate's generated documentation, use:
cargo doc --open
Author
Dependencies
~5–17MB
~236K SLoC