1.1.1 |
|
---|---|
1.0.1 |
|
#54 in #vpn
89KB
2K
SLoC
Rust API client for lethean-api
Distributed Virtual Private Marketplace
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: 1.1.1
- Package version: 1.1.1
- Build package: org.openapitools.codegen.languages.RustClientCodegen For more information, please visit https://lt.hn
Installation
Put the package under your project folder and add the following to Cargo.toml
under [dependencies]
:
openapi = { path = "./generated" }
Documentation for API Endpoints
All URIs are relative to https://dvpm.io
Class | Method | HTTP request | Description |
---|---|---|---|
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 |
Documentation For Models
- 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
- RawBlockMinerVin
- RawBlockMinerVinGen
- RawBlockMinerVout
- RawTransactionDto
- RawTransactionEntity
- RawTransactionEntityVin
- RawTransactionEntityVinKey
- RawTransactionEntityVout
- RawTransactionEntityVoutTarget
- RawTransactionRctSignature
- RctSigEntity
- RctSigPrunable
- SearchDto
- SearchEntity
- ServiceEntity
- TimeRangeEntity
- TransactionBlock
- TransactionDto
- TransactionEntity
- TransactionsDto
- TransactionsEntity
- TxnEntity
- VersionDto
- VersionEntity
- VoutTarget
- VpnSettingsEntity
To get access to the crate's generated documentation, use:
cargo doc --open
Author
Dependencies
~4–19MB
~226K SLoC