1 unstable release

0.0.1 Dec 5, 2023
0.0.0-reserved Dec 5, 2023

#55 in #indexer

MIT license

15KB
243 lines

Rust API client for chainthru-client

Ethereum Indexer

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: 0.0.1
  • Package version: 0.0.1
  • Build package: org.openapitools.codegen.languages.RustClientCodegen

Installation

Put the package under your project folder in a directory named chainthru-client and add the following to Cargo.toml under [dependencies]:

chainthru-client = { path = "./chainthru-client" }

Documentation for API Endpoints

All URIs are relative to http://localhost

Class Method HTTP request Description
BlockApi get_blocks_count GET /api/v1/blocks/count Get the Count of Blocks
LogApi get_logs_count GET /api/v1/logs/count Get the Count of Logs
TransactionApi get_transactions_count GET /api/v1/transactions/count Get the Count of Transactions

Documentation For Models

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

cargo doc --open

Author

lachezarkolevgg@gmail.com

Dependencies

~4–15MB
~225K SLoC