Crates.io | lethean-api |
lib.rs | lethean-api |
version | 1.1.1 |
source | src |
created_at | 2021-07-28 09:58:11.70392 |
updated_at | 2021-07-28 13:45:25.716263 |
description | Lethean VPN Marketplace API |
homepage | https://lt.hn |
repository | https://gitlab.com/lthn.io/projects/sdk/clients/rust |
max_upload_size | |
id | 428269 |
size | 129,948 |
Distributed Virtual Private Marketplace
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.
Put the package under your project folder and add the following to Cargo.toml
under [dependencies]
:
openapi = { path = "./generated" }
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 |
To get access to the crate's generated documentation, use:
cargo doc --open