11 stable releases
1.0.10 | Sep 1, 2023 |
---|---|
1.0.9 | Aug 8, 2023 |
1.0.3 | Jul 27, 2023 |
#7 in #openapitools
94 downloads per month
45KB
694 lines
Rust API client for hyperlane-cardano-rpc-rust-client
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
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.0.0
- Package version: 1.0.10
- Build package:
org.openapitools.codegen.languages.RustClientCodegen
Installation
Put the package under your project folder in a directory named hyperlane-cardano-rpc-rust-client
and add the following to Cargo.toml
under [dependencies]
:
hyperlane-cardano-rpc-rust-client = { path = "./hyperlane-cardano-rpc-rust-client" }
Documentation for API Endpoints
All URIs are relative to http://localhost
Class | Method | HTTP request | Description |
---|---|---|---|
DefaultApi | estimate_inbound_message_fee | POST /api/inbox/estimate-message-fee | Estimate the fee in ADA to deliver an inbound message |
DefaultApi | get_outbound_gas_payment | POST /api/outbox/get-message-gas-payment | Get the outbound gas payment for a message to a relayer |
DefaultApi | get_validator_storage_locations | POST /api/validator-announcement/get-storage-locations/ | Returns storage locations for the given validators addresses (0x prefixed 32 bytes, total length of 66 characters) |
DefaultApi | inbox_ism_parameters | GET /api/inbox/ism-parameters | Get the inbox ISM parameters |
DefaultApi | is_inbox_message_delivered | GET /api/inbox/is-message-delivered/{messageId} | Check if an inbox message was delivered |
DefaultApi | last_finalized_block | GET /api/indexer/lastFinalizedBlock | Get the last finalized block |
DefaultApi | merkle_tree | GET /api/indexer/merkleTree | Retrieve the MerkleTree of the latest (finalized) alive Outbox (UTXO) |
DefaultApi | messages_by_block_range | GET /api/indexer/messages/{fromBlock}/{toBlock} | Get messages from fromBlock to toBlock |
DefaultApi | submit_inbound_message | POST /api/inbox/submit-message | Submit an new inbound message |
Documentation For Models
- EstimateInboundMessageFee200Response
- EstimateInboundMessageFeeRequest
- EstimateInboundMessageFeeRequestMessage
- GetOutboundGasPayment200Response
- GetOutboundGasPaymentRequest
- GetValidatorStorageLocations200Response
- GetValidatorStorageLocations200ResponseValidatorStorageLocationsInner
- GetValidatorStorageLocationsRequest
- InboxIsmParameters200Response
- IsInboxMessageDelivered200Response
- LastFinalizedBlock200Response
- MerkleTree200Response
- MerkleTree200ResponseMerkleTree
- MessagesByBlockRange200Response
- MessagesByBlockRange200ResponseMessagesInner
- MessagesByBlockRange200ResponseMessagesInnerMessage
- SubmitInboundMessage200Response
To get access to the crate's generated documentation, use:
cargo doc --open
Author
Dependencies
~5–20MB
~231K SLoC