A turnkey solution for a high-performance cross-chain trading
<a href="https://docs.debridge.finance/dln-the-debridge-liquidity-network-protocol/interacting-with-the-api/quick-start-guide\">Quick Start Guide
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.0
- Generator version: 7.14.0
- Build package:
org.openapitools.codegen.languages.RustClientCodegen
Put the package under your project folder in a directory named openapi and add the following to Cargo.toml under [dependencies]:
openapi = { path = "./openapi" }
All URIs are relative to http://localhost
| Class | Method | HTTP request | Description |
|---|---|---|---|
| DlnApi | dln_order_controller_v10_cancel_order | GET /v1.0/dln/order/{id}/cancel-tx | Generates a transaction that cancels the given order |
| DlnApi | dln_order_controller_v10_create_order | GET /v1.0/dln/order/create-tx | This endpoint returns the data for a transaction to place a cross-chain DLN order. |
| DlnApi | dln_order_controller_v10_ext_call_cancel_order | GET /v1.0/dln/order/{id}/extcall-cancel-tx | Generates a transaction that cancels external call in the given order |
| DlnApi | dln_order_controller_v10_get_order | GET /v1.0/dln/order/{id} | This endpoint returns the data of order. |
| DlnApi | dln_order_controller_v10_get_order_ids_by_tx | GET /v1.0/dln/tx/{hash}/order-ids | This endpoint returns the status of order. |
| DlnApi | dln_order_controller_v10_get_order_status | GET /v1.0/dln/order/{id}/status | This endpoint returns the status of order. |
| SingleChainSwapApi | single_swap_controller_v10_get_chain_estimation | GET /v1.0/chain/estimation | |
| SingleChainSwapApi | single_swap_controller_v10_get_chain_transaction | GET /v1.0/chain/transaction | |
| UtilsApi | app_controller_v10_get_supported_chain_info_response | GET /v1.0/supported-chains-info | |
| UtilsApi | app_controller_v10_get_supported_chain_response | GET /v1.0/supported-chains | |
| UtilsApi | app_controller_v10_get_tokens | GET /v1.0/token-list |
- BadRequestResponse
- ChainEstimationResponseV10
- ChainTransactionResponseV10
- CostsDetailsProperty
- DlnOrderCancelTxResponse
- DlnOrderControllerV10CreateOrder200Response
- DlnOrderCreateTxResponse
- DlnOrderEstimation
- DlnOrderQuoteResponse
- DlnOrderResponse
- DlnOrderStatusResponse
- DlnOrderidsByTxResponse
- DlnTx
- DstChainTokenOutResponseType
- FeeDetails
- FeeInfo
- InternalServerErrorResponse
- Offer
- Order
- OrderStruct
- Payload
- SingleChainEstimation
- SrcChainTokenInResponseType
- SrcChainTokenOutResponseType
- SupportedChainsInfoItemResponse
- SupportedChainsInfoResponse
- SupportedChainsResponse
- TokenListResponse
- TokenWithAmount
- TokenWithMinAmount
- Tx
- TxQuote
To get access to the crate's generated documentation, use:
cargo doc --open