# Initiating a trade

## Setting up the trade

To initiate the trade, select the token and the amount you wish to lock-in, then click on 'Setup trade'.

Our systems will securely lock your funds within the contract and generate a URL that corresponds to this specific trade.

Also, don't forget, you can choose the [swap type](/relay/how-to/initiating-a-trade/public-and-reserved-transactions.md).

{% hint style="warning" %}
Please note that your funds will always remain withdrawable.
{% endhint %}

## Accepting the offer

To accept the offer, initiate by opening the provided URL from the seller in your web browser.&#x20;

Upon doing so, you will be presented with an interface that comprehensively displays all pertinent trade details. Assuming the presented terms align with your preferences and requirements, you will have the opportunity to accept the offer, facilitating a seamless transaction.&#x20;

Conversely, if the terms prove unsatisfactory, you have the option to reject the offer and proceed to initiate another trade using Relay.

{% hint style="info" %}
In the event of a rejected offer, the seller's funds will be automatically returned to their respective wallet.
{% endhint %}


---

# 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://relay-2.gitbook.io/relay/how-to/initiating-a-trade.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.
