# Trading Features

expand.network’s API offers a wide range of endpoint capabilities. The integration of the below mentioned advanced trading features through our API empowers traders with greater control and customization but also contributes to the overall efficiency and security of transactions.&#x20;

These features play a crucial role to meet the diverse needs for trading, as these provide a competitive edge in the dynamic and ever evolving ecosystem of digital asset trading.\
\
Please see the attached document for information about error messages you may encounter when trading: <https://docs.google.com/document/d/1SuBJwPOmvJtUUf-9QJiBcTr0l2zbWlusMTUOGfC8S50/edit?usp=sharing>

<table data-full-width="false"><thead><tr><th width="193">Feature</th><th width="238">Specifics</th><th>Description</th></tr></thead><tbody><tr><td><ol><li>Transaction Decoder</li></ol></td><td><a href="/pages/TLCcWiDJG2KlWerMMw5c#decodetransaction"><mark style="color:blue;"><strong><code>/decodetransaction</code></strong></mark></a></td><td>A "decoded transaction" details key aspects of a blockchain transaction, including recipient and sender addresses, amount, gas limit, data payload, chain ID, signature components(v, r, s), transaction hash, type, asset changes, and function call specifics.</td></tr><tr><td><ol start="2"><li>Gas Fee Parameter</li></ol></td><td><ul><li><a href="/pages/lnCPd0fNrcJvO25y1PcX#addliquidity"><mark style="color:blue;"><strong>Low</strong></mark></a>,</li><li><a href="/pages/CbN6wja4QIPgCmBFbpuu#addliquidity"><mark style="color:blue;"><strong>Medium</strong></mark></a>, or</li><li><a href="/pages/CbN6wja4QIPgCmBFbpuu#swap"><mark style="color:blue;"><strong>High</strong></mark></a></li></ul></td><td>This feature empowers users with the ability to customize gas fees according to their preferences, selecting from low, medium, or high settings.</td></tr><tr><td><ol start="3"><li>Slippage</li></ol></td><td><a href="/pages/CbN6wja4QIPgCmBFbpuu#swap"><mark style="color:blue;"><strong><code>slippage:</code></strong></mark></a><a href="/pages/CbN6wja4QIPgCmBFbpuu#swap"><mark style="color:blue;"><strong><code>10</code></strong></mark></a></td><td>This feature allows users to specify the slippage percentage for their transaction. <br><code>0 &#x3C;= </code><strong><code>slippage value</code></strong><code> &#x3C;= 10</code></td></tr><tr><td><ol start="4"><li>Price Discovery with Dex &#x26; Aggregators</li></ol></td><td><ul><li><a href="/pages/g2SlO6hKWd7AT32XSHjT#swapaggregator"><mark style="color:blue;"><strong>Swap Aggregator</strong></mark></a></li><li><a href="/pages/g2SlO6hKWd7AT32XSHjT#quoteaggregator"><mark style="color:blue;"><strong>Quote Aggregator</strong></mark></a></li></ul></td><td>This feature allow users to compare prepared aggregated swaps and quotes across multiple decentralized exchanges (DEXs).</td></tr><tr><td><ol start="5"><li>Liquidity Provisioning</li></ol></td><td><ul><li><a href="/pages/CbN6wja4QIPgCmBFbpuu#addliquidity"><mark style="color:blue;"><strong>Add Liquidity</strong></mark></a></li><li><a href="/pages/CbN6wja4QIPgCmBFbpuu#removeliquidity"><mark style="color:blue;"><strong>Remove Liquidity</strong></mark></a></li></ul></td><td>These features allow users to contribute their assets to a liquidity pool, enabling them to earn LP tokens, and/or withdraw their share of assets from a liquidity pool, thereby reclaiming their contributed funds.</td></tr><tr><td><ol start="6"><li>Trade Reconciliation</li></ol></td><td><ul><li><a href="/pages/TLCcWiDJG2KlWerMMw5c#getgasfees"><mark style="color:blue;"><strong>Aggregated Gas Fees</strong></mark></a></li><li><a href="/pages/TLCcWiDJG2KlWerMMw5c#genericsmartcontractmethod"><mark style="color:blue;"><strong>Smart Contract Method query</strong></mark></a></li><li><a href="/pages/lhUdPCWOH7QpraE4kRkw#historical-transactions"><mark style="color:blue;"><strong>Historical Transaction Data</strong></mark></a></li><li><a href="/pages/fUMcyZz8u9rK01MQHdJF#getowner"><mark style="color:blue;"><strong>Non-Fungible Token Owners</strong></mark></a></li><li><a href="/pages/lhUdPCWOH7QpraE4kRkw#historical-logs"><mark style="color:blue;"><strong>Historical Logs</strong></mark></a></li></ul></td><td>Access and aggregate transaction and gas fee data within specific block ranges for trades, including querying smart contracts, reconciling token transfers and ownership, verifying NFT ownership, and obtaining historical logs for addresses or NFT collections, for efficient and comprehensive reconciliation.</td></tr><tr><td><ol start="7"><li>Bloxroute </li></ol></td><td><a href="/pages/TLCcWiDJG2KlWerMMw5c#sendtransaction"><mark style="color:blue;"><strong><code>bdnTransaction: true/false</code></strong></mark></a></td><td><p>This feature allows users to send transactions using the "bdn transaction". </p><p>By utilising the bloxroute RPC, it speeds up the transaction process.</p></td></tr><tr><td><ol start="8"><li>MEV Protection</li></ol></td><td><a href="/pages/TLCcWiDJG2KlWerMMw5c#sendtransaction"><mark style="color:blue;"><strong><code>mevProtection: true/false</code></strong></mark></a></td><td>This parameter will enable users to perform MEV protected transactions on Ethereum mainnet, be it swapping, token transferring, liquidity provisioning and will be achieved using Flashbots. </td></tr><tr><td><ol start="9"><li>Batch Fee </li></ol></td><td><a href="/pages/mgjzQVXT51XNcRDdFGnC#createfeetransaction"><mark style="color:blue;"><strong><code>/createfeetransaction</code></strong></mark></a></td><td>This feature enables users to create a fee transaction for any prepared transaction processed through Expand.</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.expand.network/use-cases/trading-features.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
