Skip to content

Commit

Permalink
GITBOOK-341: Got rid of the quote endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeychr authored and gitbook-bot committed Jul 10, 2024
1 parent 0d3d52d commit 4433f6e
Show file tree
Hide file tree
Showing 11 changed files with 101 additions and 197 deletions.
3 changes: 1 addition & 2 deletions docs/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,7 @@
* [Creating Calldata for Solana](dln-the-debridge-liquidity-network-protocol/interacting-with-smart-contracts/creating-calldata-for-solana.md)
* [Interacting with the API](dln-the-debridge-liquidity-network-protocol/interacting-with-the-api/README.md)
* [Authentication](dln-the-debridge-liquidity-network-protocol/interacting-with-the-api/authentication.md)
* [Quick Start Guide](dln-the-debridge-liquidity-network-protocol/interacting-with-the-api/quick-start-guide.md)
* [Getting a Quote](dln-the-debridge-liquidity-network-protocol/interacting-with-the-api/getting-a-quote.md)
* [The lifecycle](dln-the-debridge-liquidity-network-protocol/interacting-with-the-api/the-lifecycle.md)
* [Requesting Order Creation Transaction](dln-the-debridge-liquidity-network-protocol/interacting-with-the-api/requesting-order-creation-transaction.md)
* [Submitting an Order Creation Transaction](dln-the-debridge-liquidity-network-protocol/interacting-with-the-api/submitting-an-order-creation-transaction.md)
* [Tracking a Status of the Order](dln-the-debridge-liquidity-network-protocol/interacting-with-the-api/tracking-a-status-of-the-order.md)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,27 +1,25 @@
# Fees and Supported Chains

## Fees and supported chains

deBridge charges a small fee when an order is created through `DlnSource` smart contracts. The fee is what users pay for confidence and decentralization. It consists of two parts:

* A flat fee is paid in the native gas token of the chain where the order is created
* A variable fee of 4bps is paid in the input token

| Chain (Chain id) | Chain Id | Flat Fee |
| ---------------- | --------- | ---------- |
| Arbitrum | 42161 | 0.001 ETH |
| Avalanche | 43114 | 0.05 AVAX |
| BNB Chain | 56 | 0.005 BNB |
| Ethereum | 1 | 0.001 ETH |
| Polygon | 137 | 0.5 MATIC |
| Solana | 7565164 | 0.015 SOL |
| Linea | 59144 | 0.001 ETH |
| Base | 8453 | 0.001 ETH |
| Optimism | 10 | 0.001 ETH |
| Neon | 245022934 | 0.75 NEON |
| Gnosis | 100 | 1 xDAI |
| Lightlink | 1890 | 0.0005 ETH |
| Metis | 1088 | 0.02 METIS |
| Chain (Chain id) | Chain Id | Internal Chain Id | Flat Fee |
| ---------------- | --------- | ----------------- | ---------- |
| Arbitrum | 42161 | 42161 | 0.001 ETH |
| Avalanche | 43114 | 43114 | 0.05 AVAX |
| BNB Chain | 56 | 56 | 0.005 BNB |
| Ethereum | 1 | 1 | 0.001 ETH |
| Polygon | 137 | 137 | 0.5 MATIC |
| Solana | 7565164 | 7565164 | 0.015 SOL |
| Linea | 59144 | 59144 | 0.001 ETH |
| Base | 8453 | 8453 | 0.001 ETH |
| Optimism | 10 | 10 | 0.001 ETH |
| Neon | 245022934 | 100000001 | 0.75 NEON |
| Gnosis | 100 | 100000002 | 1 xDAI |
| Lightlink | 1890 | 100000003 | 0.0005 ETH |
| Metis | 1088 | 100000004 | 0.02 METIS |

The fee is fully refunded in case the limit order is canceled.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,18 @@
---
description: >-
This document contains an overview of the deBridge Liquidity Network API
endpoints, giving readers an expedited understanding of how to get quotes,
place, track and manage limit orders.
---

# Interacting with the API

The DLN API provides developers an effortless way to interact with the DLN protocol and trade across chains in seconds with deep liquidity, limit orders, and protection against slippage and MEV. The API takes the burden off of building complex and sometimes painful interactions with blockchain RPCs and smart contracts by providing a complete set of RESTful endpoints, sufficient to quote, create, and manage trades during their whole lifecycle.

{% hint style="info" %}
The **DLN API** resides at the domain name `dln.debridge.finance`

The DLN API Swagger could be found at [https://dln.debridge.finance/v1.0](https://dln.debridge.finance/v1.0)

Additionally, a JSON representation of the API can be found here: [dln.debridge.finance/v1.0-json](https://dln.debridge.finance/v1.0-json)
{% endhint %}
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
# Authentication

{% hint style="warning" %}
Currently, the DLN API is open to everyone and doesn't require authentication. However, to make sure we keep delivering a high-quality service, we're going to introduce a requirement for commercial integrations to authenticate requests with dedicated API keys later in Q4 2024. After a short grace period, we'll limit requests made without such keys.
Currently, the DLN API is open to everyone and doesn't require authentication. To make sure we keep delivering a high-quality service, we're going to introduce a requirement for commercial integrations to authenticate requests with dedicated API keys later in Q4 2024. After a short grace period, we'll limit requests made without such keys.

Please fill in the [Authentication Request form](https://forms.gle/doWLQpr8oemphoaf9) so we can provide you with a dedicated API key and assistance as soon as the authentication requirement would get shipped.

[https://forms.gle/doWLQpr8oemphoaf9](https://forms.gle/doWLQpr8oemphoaf9)
{% endhint %}
[<mark style="background-color:green;">https://forms.gle/doWLQpr8oemphoaf9</mark>](https://forms.gle/doWLQpr8oemphoaf9)

This file was deleted.

This file was deleted.

Loading

0 comments on commit 4433f6e

Please sign in to comment.