2个稳定版本
1.2.2 | 2021年8月14日 |
---|
#1216 in Web编程
95KB
2K SLoC
Rust lethean-api API客户端
分布式虚拟专用市场
概述
此API客户端由OpenAPI Generator项目生成。通过使用远程服务器的openapi-spec,您可以轻松生成API客户端。
- API版本:1.2.1
- 包版本:1.2.1
- 构建包:org.openapitools.codegen.languages.RustClientCodegen 更多信息请访问https://lt.hn
安装
将包放入您的项目文件夹中,并在Cargo.toml
的[dependencies]
下添加以下内容:
openapi = { path = "./generated" }
API端点文档
所有URI均相对于https://dvpm.io
类 | 方法 | HTTP请求 | 描述 |
---|---|---|---|
ExplorerApi | get_activity | GET /v1/explorer/activity | |
ExplorerApi | get_block | GET /v1/explorer/chain/block/{id} | |
ExplorerApi | get_emission | GET /v1/explorer/chain/emission | |
ExplorerApi | get_mempool | GET /v1/explorer/chain/mempool | |
ExplorerApi | get_network_info | GET /v1/explorer/chain/stats | |
ExplorerApi | get_outputs_blocks | GET /v1/explorer/chain/block/outputs | |
ExplorerApi | get_raw_block_data | GET /v1/explorer/chain/block/raw/{id} | |
ExplorerApi | get_raw_transaction_data | GET /v1/explorer/chain/transaction/raw/{tx_hash} | |
ExplorerApi | get_transaction | GET /v1/explorer/chain/transaction/{tx_hash} | |
ExplorerApi | get_transactions | GET /v1/explorer/chain/transactions | |
ExplorerApi | get_version | GET /v1/explorer/chain/version | |
ExplorerApi | prove_transfer | GET /v1/explorer/validate/transfer | |
ExplorerApi | search_chain | GET /v1/explorer/chain/search/{id} | |
VpnApi | list_services | GET /v1/services/public-nodes |
模型文档
- Activity
- BlockDto
- BlockEntity
- BlockOutputEntity
- BlockOutputsDto
- BlockOutputsEntity
- CertificatesEntity
- Commit
- CommitAuthor
- CommitLink
- CommitMediaThumbnail
- CommitSummary
- EcdhInfo
- EmissionDto
- EmissionEntity
- InputsEntity
- MempoolDto
- MempoolEntity
- MgsEntity
- MixinEntity
- NetworkStatsDto
- NetworkStatsEntity
- OutputEntity
- ProveTransferDto
- ProveTransferEntity
- ProveTransferOutputsEntity
- ProxySettingsEntity
- RangeSigsEntity
- RawBlockDto
- RawBlockEntity
- RawBlockMinerTx
- RawBlockMinerVin
- RawBlockMinerVinGen
- RawBlockMinerVout
- RawTransactionDto
- 原始交易实体
- 原始交易实体Vin
- 原始交易实体VinKey
- 原始交易实体Vout
- 原始交易实体VoutTarget
- 原始交易Rct签名
- RctSig实体
- RctSig可剪枝
- 搜索Dto
- 搜索实体
- 服务实体
- 时间范围实体
- 交易区块
- 交易Dto
- 交易实体
- 交易Dto列表
- 交易实体列表
- Txn实体
- 版本Dto
- 版本实体
- Vout目标
- Vpn设置实体
要获取 crate 生成的文档访问权限,请使用
cargo doc --open
作者
依赖项
~4–19MB
~250K SLoC