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.

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 | getblock | GET /v1/explorer/chain/block/{id} | *ExplorerApi* | getemission | GET /v1/explorer/chain/stats/emission | ExplorerApi | getmempool | GET /v1/explorer/chain/mempool | *ExplorerApi* | getnetworkinfo | GET /v1/explorer/chain/stats | *ExplorerApi* | getoutputsblocks | GET /v1/explorer/chain/block/outputs | *ExplorerApi* | getrawblockdata | GET /v1/explorer/chain/block/raw/{id} | ExplorerApi | getrawtransactiondata | GET /v1/explorer/chain/transaction/raw/{txhash} | ExplorerApi | gettransaction | GET /v1/explorer/chain/transaction/{txhash} | ExplorerApi | gettransactions | GET /v1/explorer/chain/transactions | *ExplorerApi* | getversion | GET /v1/explorer/chain/version | ExplorerApi | provetransfer | GET /v1/explorer/validate/transfer | *ExplorerApi* | searchchain | GET /v1/explorer/chain/search/{id} |

Documentation For Models

To get access to the crate's generated documentation, use:

cargo doc --open

Author

contact@lethean.io