6 releases (breaking)
0.31.0 | Aug 29, 2024 |
---|---|
0.30.2 | Aug 28, 2024 |
0.29.0 | Jul 23, 2024 |
0.28.1 | Jun 26, 2024 |
0.27.0 | Jun 24, 2024 |
#811 in Magic Beans
362 downloads per month
Used in light-test-utils
200KB
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.28.0
- Package version: 0.28.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 http://127.0.0.1
Class | Method | HTTP request | Description |
---|---|---|---|
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_balance_post | POST /getCompressedBalance | |
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_transaction_with_compression_info_post | POST /getTransactionWithCompressionInfo | |
DefaultApi | get_validity_proof_post | POST /getValidityProof |
Documentation For Models
- Account
- AccountData
- AccountList
- AccountState
- AccountWithOptionalTokenData
- CompressedProof
- CompressedProofWithContext
- Context
- GetCompressedAccountPost200Response
- GetCompressedAccountPost200ResponseError
- GetCompressedAccountPost200ResponseResult
- GetCompressedAccountPost429Response
- GetCompressedAccountPostRequest
- GetCompressedAccountPostRequestParams
- GetCompressedAccountProofPost200Response
- GetCompressedAccountProofPost200ResponseResult
- GetCompressedAccountProofPostRequest
- GetCompressedAccountProofPostRequestParams
- GetCompressedAccountsByOwnerPost200Response
- GetCompressedAccountsByOwnerPost200ResponseResult
- GetCompressedAccountsByOwnerPostRequest
- GetCompressedAccountsByOwnerPostRequestParams
- GetCompressedBalanceByOwnerPostRequest
- GetCompressedBalanceByOwnerPostRequestParams
- GetCompressedBalancePost200Response
- GetCompressedBalancePost200ResponseResult
- GetCompressedBalancePostRequest
- 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
- GetLatestNonVotingSignaturesPostRequest
- GetMultipleCompressedAccountProofsPost200Response
- GetMultipleCompressedAccountProofsPost200ResponseResult
- GetMultipleCompressedAccountProofsPostRequest
- GetMultipleCompressedAccountsPost200Response
- GetMultipleCompressedAccountsPost200ResponseResult
- GetMultipleCompressedAccountsPostRequest
- GetMultipleCompressedAccountsPostRequestParams
- GetMultipleNewAddressProofsPost200Response
- GetMultipleNewAddressProofsPost200ResponseResult
- GetMultipleNewAddressProofsPostRequest
- GetTransactionWithCompressionInfoPost200Response
- GetTransactionWithCompressionInfoPost200ResponseResult
- GetTransactionWithCompressionInfoPost200ResponseResultCompressionInfo
- GetTransactionWithCompressionInfoPostRequest
- GetTransactionWithCompressionInfoPostRequestParams
- GetValidityProofPost200Response
- GetValidityProofPost200ResponseResult
- GetValidityProofPostRequest
- GetValidityProofPostRequestParams
- MerkleContextWithNewAddressProof
- MerkleProofWithContext
- PaginatedAccountList
- PaginatedSignatureInfoList
- SignatureInfo
- SignatureInfoList
- TokenAcccount
- TokenAccountBalance
- TokenAccountList
- TokenBalance
- TokenBalanceList
- TokenData
To get access to the crate's generated documentation, use:
cargo doc --open
Author
Dependencies
~4–17MB
~248K SLoC