# Rust API client for photon-api Solana indexer for general compression ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [openapi-spec](https://openapis.org) 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=* Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- *DefaultApi* | [**get_compressed_account_balance_post**](docs/DefaultApi.md#get_compressed_account_balance_post) | **POST** /getCompressedAccountBalance | *DefaultApi* | [**get_compressed_account_post**](docs/DefaultApi.md#get_compressed_account_post) | **POST** /getCompressedAccount | *DefaultApi* | [**get_compressed_account_proof_post**](docs/DefaultApi.md#get_compressed_account_proof_post) | **POST** /getCompressedAccountProof | *DefaultApi* | [**get_compressed_accounts_by_owner_post**](docs/DefaultApi.md#get_compressed_accounts_by_owner_post) | **POST** /getCompressedAccountsByOwner | *DefaultApi* | [**get_compressed_balance_by_owner_post**](docs/DefaultApi.md#get_compressed_balance_by_owner_post) | **POST** /getCompressedBalanceByOwner | *DefaultApi* | [**get_compressed_token_account_balance_post**](docs/DefaultApi.md#get_compressed_token_account_balance_post) | **POST** /getCompressedTokenAccountBalance | *DefaultApi* | [**get_compressed_token_accounts_by_delegate_post**](docs/DefaultApi.md#get_compressed_token_accounts_by_delegate_post) | **POST** /getCompressedTokenAccountsByDelegate | *DefaultApi* | [**get_compressed_token_accounts_by_owner_post**](docs/DefaultApi.md#get_compressed_token_accounts_by_owner_post) | **POST** /getCompressedTokenAccountsByOwner | *DefaultApi* | [**get_compressed_token_balances_by_owner_post**](docs/DefaultApi.md#get_compressed_token_balances_by_owner_post) | **POST** /getCompressedTokenBalancesByOwner | *DefaultApi* | [**get_compression_signatures_for_account_post**](docs/DefaultApi.md#get_compression_signatures_for_account_post) | **POST** /getCompressionSignaturesForAccount | *DefaultApi* | [**get_compression_signatures_for_address_post**](docs/DefaultApi.md#get_compression_signatures_for_address_post) | **POST** /getCompressionSignaturesForAddress | *DefaultApi* | [**get_compression_signatures_for_owner_post**](docs/DefaultApi.md#get_compression_signatures_for_owner_post) | **POST** /getCompressionSignaturesForOwner | *DefaultApi* | [**get_compression_signatures_for_token_owner_post**](docs/DefaultApi.md#get_compression_signatures_for_token_owner_post) | **POST** /getCompressionSignaturesForTokenOwner | *DefaultApi* | [**get_indexer_health_post**](docs/DefaultApi.md#get_indexer_health_post) | **POST** /getIndexerHealth | *DefaultApi* | [**get_indexer_slot_post**](docs/DefaultApi.md#get_indexer_slot_post) | **POST** /getIndexerSlot | *DefaultApi* | [**get_latest_compression_signatures_post**](docs/DefaultApi.md#get_latest_compression_signatures_post) | **POST** /getLatestCompressionSignatures | *DefaultApi* | [**get_latest_non_voting_signatures_post**](docs/DefaultApi.md#get_latest_non_voting_signatures_post) | **POST** /getLatestNonVotingSignatures | *DefaultApi* | [**get_multiple_compressed_account_proofs_post**](docs/DefaultApi.md#get_multiple_compressed_account_proofs_post) | **POST** /getMultipleCompressedAccountProofs | *DefaultApi* | [**get_multiple_compressed_accounts_post**](docs/DefaultApi.md#get_multiple_compressed_accounts_post) | **POST** /getMultipleCompressedAccounts | *DefaultApi* | [**get_multiple_new_address_proofs_post**](docs/DefaultApi.md#get_multiple_new_address_proofs_post) | **POST** /getMultipleNewAddressProofs | *DefaultApi* | [**get_multiple_new_address_proofs_v2_post**](docs/DefaultApi.md#get_multiple_new_address_proofs_v2_post) | **POST** /getMultipleNewAddressProofsV2 | *DefaultApi* | [**get_transaction_with_compression_info_post**](docs/DefaultApi.md#get_transaction_with_compression_info_post) | **POST** /getTransactionWithCompressionInfo | *DefaultApi* | [**get_validity_proof_post**](docs/DefaultApi.md#get_validity_proof_post) | **POST** /getValidityProof | ## Documentation For Models - [Account](docs/Account.md) - [AccountData](docs/AccountData.md) - [AccountList](docs/AccountList.md) - [AccountState](docs/AccountState.md) - [AccountWithOptionalTokenData](docs/AccountWithOptionalTokenData.md) - [AddressWithTree](docs/AddressWithTree.md) - [CompressedProof](docs/CompressedProof.md) - [CompressedProofWithContext](docs/CompressedProofWithContext.md) - [Context](docs/Context.md) - [DataSlice](docs/DataSlice.md) - [FilterSelector](docs/FilterSelector.md) - [GetCompressedAccountBalancePost200Response](docs/GetCompressedAccountBalancePost200Response.md) - [GetCompressedAccountBalancePost200ResponseResult](docs/GetCompressedAccountBalancePost200ResponseResult.md) - [GetCompressedAccountBalancePostRequest](docs/GetCompressedAccountBalancePostRequest.md) - [GetCompressedAccountPost200Response](docs/GetCompressedAccountPost200Response.md) - [GetCompressedAccountPost200ResponseError](docs/GetCompressedAccountPost200ResponseError.md) - [GetCompressedAccountPost200ResponseResult](docs/GetCompressedAccountPost200ResponseResult.md) - [GetCompressedAccountPost429Response](docs/GetCompressedAccountPost429Response.md) - [GetCompressedAccountPostRequest](docs/GetCompressedAccountPostRequest.md) - [GetCompressedAccountPostRequestParams](docs/GetCompressedAccountPostRequestParams.md) - [GetCompressedAccountProofPost200Response](docs/GetCompressedAccountProofPost200Response.md) - [GetCompressedAccountProofPost200ResponseResult](docs/GetCompressedAccountProofPost200ResponseResult.md) - [GetCompressedAccountProofPostRequest](docs/GetCompressedAccountProofPostRequest.md) - [GetCompressedAccountProofPostRequestParams](docs/GetCompressedAccountProofPostRequestParams.md) - [GetCompressedAccountsByOwnerPost200Response](docs/GetCompressedAccountsByOwnerPost200Response.md) - [GetCompressedAccountsByOwnerPost200ResponseResult](docs/GetCompressedAccountsByOwnerPost200ResponseResult.md) - [GetCompressedAccountsByOwnerPostRequest](docs/GetCompressedAccountsByOwnerPostRequest.md) - [GetCompressedAccountsByOwnerPostRequestParams](docs/GetCompressedAccountsByOwnerPostRequestParams.md) - [GetCompressedBalanceByOwnerPostRequest](docs/GetCompressedBalanceByOwnerPostRequest.md) - [GetCompressedBalanceByOwnerPostRequestParams](docs/GetCompressedBalanceByOwnerPostRequestParams.md) - [GetCompressedTokenAccountBalancePost200Response](docs/GetCompressedTokenAccountBalancePost200Response.md) - [GetCompressedTokenAccountBalancePost200ResponseResult](docs/GetCompressedTokenAccountBalancePost200ResponseResult.md) - [GetCompressedTokenAccountBalancePostRequest](docs/GetCompressedTokenAccountBalancePostRequest.md) - [GetCompressedTokenAccountsByDelegatePost200Response](docs/GetCompressedTokenAccountsByDelegatePost200Response.md) - [GetCompressedTokenAccountsByDelegatePost200ResponseResult](docs/GetCompressedTokenAccountsByDelegatePost200ResponseResult.md) - [GetCompressedTokenAccountsByDelegatePostRequest](docs/GetCompressedTokenAccountsByDelegatePostRequest.md) - [GetCompressedTokenAccountsByDelegatePostRequestParams](docs/GetCompressedTokenAccountsByDelegatePostRequestParams.md) - [GetCompressedTokenAccountsByOwnerPostRequest](docs/GetCompressedTokenAccountsByOwnerPostRequest.md) - [GetCompressedTokenAccountsByOwnerPostRequestParams](docs/GetCompressedTokenAccountsByOwnerPostRequestParams.md) - [GetCompressedTokenBalancesByOwnerPost200Response](docs/GetCompressedTokenBalancesByOwnerPost200Response.md) - [GetCompressedTokenBalancesByOwnerPost200ResponseResult](docs/GetCompressedTokenBalancesByOwnerPost200ResponseResult.md) - [GetCompressedTokenBalancesByOwnerPostRequest](docs/GetCompressedTokenBalancesByOwnerPostRequest.md) - [GetCompressionSignaturesForAccountPost200Response](docs/GetCompressionSignaturesForAccountPost200Response.md) - [GetCompressionSignaturesForAccountPost200ResponseResult](docs/GetCompressionSignaturesForAccountPost200ResponseResult.md) - [GetCompressionSignaturesForAccountPostRequest](docs/GetCompressionSignaturesForAccountPostRequest.md) - [GetCompressionSignaturesForAddressPost200Response](docs/GetCompressionSignaturesForAddressPost200Response.md) - [GetCompressionSignaturesForAddressPost200ResponseResult](docs/GetCompressionSignaturesForAddressPost200ResponseResult.md) - [GetCompressionSignaturesForAddressPostRequest](docs/GetCompressionSignaturesForAddressPostRequest.md) - [GetCompressionSignaturesForAddressPostRequestParams](docs/GetCompressionSignaturesForAddressPostRequestParams.md) - [GetCompressionSignaturesForOwnerPostRequest](docs/GetCompressionSignaturesForOwnerPostRequest.md) - [GetCompressionSignaturesForOwnerPostRequestParams](docs/GetCompressionSignaturesForOwnerPostRequestParams.md) - [GetCompressionSignaturesForTokenOwnerPostRequest](docs/GetCompressionSignaturesForTokenOwnerPostRequest.md) - [GetIndexerHealthPost200Response](docs/GetIndexerHealthPost200Response.md) - [GetIndexerHealthPostRequest](docs/GetIndexerHealthPostRequest.md) - [GetIndexerSlotPost200Response](docs/GetIndexerSlotPost200Response.md) - [GetIndexerSlotPostRequest](docs/GetIndexerSlotPostRequest.md) - [GetLatestCompressionSignaturesPostRequest](docs/GetLatestCompressionSignaturesPostRequest.md) - [GetLatestCompressionSignaturesPostRequestParams](docs/GetLatestCompressionSignaturesPostRequestParams.md) - [GetLatestNonVotingSignaturesPost200Response](docs/GetLatestNonVotingSignaturesPost200Response.md) - [GetLatestNonVotingSignaturesPost200ResponseResult](docs/GetLatestNonVotingSignaturesPost200ResponseResult.md) - [GetLatestNonVotingSignaturesPostRequest](docs/GetLatestNonVotingSignaturesPostRequest.md) - [GetMultipleCompressedAccountProofsPost200Response](docs/GetMultipleCompressedAccountProofsPost200Response.md) - [GetMultipleCompressedAccountProofsPost200ResponseResult](docs/GetMultipleCompressedAccountProofsPost200ResponseResult.md) - [GetMultipleCompressedAccountProofsPostRequest](docs/GetMultipleCompressedAccountProofsPostRequest.md) - [GetMultipleCompressedAccountsPost200Response](docs/GetMultipleCompressedAccountsPost200Response.md) - [GetMultipleCompressedAccountsPost200ResponseResult](docs/GetMultipleCompressedAccountsPost200ResponseResult.md) - [GetMultipleCompressedAccountsPostRequest](docs/GetMultipleCompressedAccountsPostRequest.md) - [GetMultipleCompressedAccountsPostRequestParams](docs/GetMultipleCompressedAccountsPostRequestParams.md) - [GetMultipleNewAddressProofsPost200Response](docs/GetMultipleNewAddressProofsPost200Response.md) - [GetMultipleNewAddressProofsPost200ResponseResult](docs/GetMultipleNewAddressProofsPost200ResponseResult.md) - [GetMultipleNewAddressProofsPostRequest](docs/GetMultipleNewAddressProofsPostRequest.md) - [GetMultipleNewAddressProofsV2PostRequest](docs/GetMultipleNewAddressProofsV2PostRequest.md) - [GetTransactionWithCompressionInfoPost200Response](docs/GetTransactionWithCompressionInfoPost200Response.md) - [GetTransactionWithCompressionInfoPost200ResponseResult](docs/GetTransactionWithCompressionInfoPost200ResponseResult.md) - [GetTransactionWithCompressionInfoPost200ResponseResultCompressionInfo](docs/GetTransactionWithCompressionInfoPost200ResponseResultCompressionInfo.md) - [GetTransactionWithCompressionInfoPostRequest](docs/GetTransactionWithCompressionInfoPostRequest.md) - [GetTransactionWithCompressionInfoPostRequestParams](docs/GetTransactionWithCompressionInfoPostRequestParams.md) - [GetValidityProofPost200Response](docs/GetValidityProofPost200Response.md) - [GetValidityProofPost200ResponseResult](docs/GetValidityProofPost200ResponseResult.md) - [GetValidityProofPostRequest](docs/GetValidityProofPostRequest.md) - [GetValidityProofPostRequestParams](docs/GetValidityProofPostRequestParams.md) - [Memcmp](docs/Memcmp.md) - [MerkleContextWithNewAddressProof](docs/MerkleContextWithNewAddressProof.md) - [MerkleProofWithContext](docs/MerkleProofWithContext.md) - [PaginatedAccountList](docs/PaginatedAccountList.md) - [PaginatedSignatureInfoList](docs/PaginatedSignatureInfoList.md) - [SignatureInfo](docs/SignatureInfo.md) - [SignatureInfoList](docs/SignatureInfoList.md) - [SignatureInfoListWithError](docs/SignatureInfoListWithError.md) - [SignatureInfoWithError](docs/SignatureInfoWithError.md) - [TokenAcccount](docs/TokenAcccount.md) - [TokenAccountBalance](docs/TokenAccountBalance.md) - [TokenAccountList](docs/TokenAccountList.md) - [TokenBalance](docs/TokenBalance.md) - [TokenBalanceList](docs/TokenBalanceList.md) - [TokenData](docs/TokenData.md) To get access to the crate's generated documentation, use: ``` cargo doc --open ``` ## Author