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

photon-api

Solana索引器,用于通用压缩

3 个版本 (破坏性更新)

0.29.0 2024年7月23日
0.28.1 2024年6月26日
0.27.0 2024年6月24日

#21#索引器

Download history 295/week @ 2024-06-23 20/week @ 2024-06-30 21/week @ 2024-07-07 115/week @ 2024-07-21 7/week @ 2024-07-28

每月下载量 122

Apache-2.0

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

模型文档

要获取生成文档的访问权限,请使用

cargo doc --open

作者

依赖项

~4–19MB
~255K SLoC