1.1.1 |
|
---|---|
1.0.1 |
|
#55 in #vpn
89KB
2K SLoC
Rust API客户端,用于lethean-api
分布式虚拟私人市场
概述
此API客户端由OpenAPI Generator项目生成。通过使用远程服务器上的openapi-spec,您可以轻松生成API客户端。
- API版本:1.1.1
- 包版本:1.1.1
- 构建包:org.openapitools.codegen.languages.RustClientCodegen。更多信息请访问https://lt.hn
安装
将包放入您的项目文件夹中,并在Cargo.toml
的[dependencies]
下添加以下内容
openapi = { path = "./generated" }
API端点文档
所有URI都是相对于https://dvpm.io
类 | 方法 | HTTP请求 | 描述 |
---|---|---|---|
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 |
模型文档说明
- BlockDto
- BlockEntity
- BlockOutputEntity
- BlockOutputsDto
- BlockOutputsEntity
- CertificatesEntity
- EcdhInfo
- EmissionDto
- EmissionEntity
- InputsEntity
- MempoolDto
- MempoolEntity
- MgsEntity
- MixinEntity
- NetworkStatsDto
- NetworkStatsEntity
- OutputEntity
- ProveTransferDto
- ProveTransferEntity
- ProveTransferOutputsEntity
- ProxySettingsEntity
- RangeSigsEntity
- RawBlockDto
- RawBlockEntity
- RawBlockMinerTx
- 原始区块矿工输入
- 原始区块矿工输入生成
- 原始区块矿工输出
- 原始交易数据传输对象
- 原始交易实体
- 原始交易实体输入
- 原始交易实体输入密钥
- 原始交易实体输出
- 原始交易实体输出目标
- 原始交易RCT签名
- RCT签名实体
- RCT签名可剪枝
- 搜索数据传输对象
- 搜索实体
- 服务实体
- 时间范围实体
- 交易区块
- 交易数据传输对象
- 交易实体
- 交易数据传输对象列表
- 交易实体列表
- 交易实体
- 版本数据传输对象
- 版本实体
- 输出目标
- VPN设置实体
要获取crate生成的文档,请使用
cargo doc --open
作者
依赖项
约4-18MB
约236K SLoC