#solana #compression #indexer #version #api-client

photon-api

Solana indexer for general compression

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

#16 in #indexer

26 downloads per month
Used in 2 crates

Apache-2.0

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

To get access to the crate's generated documentation, use:

cargo doc --open

Author

Dependencies

~5–17MB
~240K SLoC