3 个版本 (破坏性更新)
0.29.0 | 2024年7月23日 |
---|---|
0.28.1 | 2024年6月26日 |
0.27.0 | 2024年6月24日 |
#21 在 #索引器
每月下载量 122
200KB
4.5K SLoC
Rust API客户端用于 photon-api
Solana索引器,用于通用压缩
概述
此API客户端由OpenAPI Generator项目生成。通过使用远程服务器上的openapi-spec,您可以轻松生成API客户端。
- API版本:0.28.0
- 包版本:0.28.0
- 生成器版本:7.5.0
- 构建包:
org.openapitools.codegen.languages.RustClientCodegen
安装
将包放在项目文件夹下的photon-api
目录中,并在[dependencies]
下添加以下内容:
photon-api = { path = "./photon-api" }
API端点文档
所有URI都是相对于http://127.0.0.1
类 | 方法 | HTTP请求 | 描述 |
---|---|---|---|
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 |
模型文档
- 账户
- 账户数据
- 账户列表
- 账户状态
- 账户带可选代币数据
- 压缩证明
- 带上下文的压缩证明
- 上下文
- 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
要获取生成文档的访问权限,请使用
cargo doc --open
作者
依赖项
~4–19MB
~255K SLoC