> For the complete documentation index, see [llms.txt](https://docs.yad.finance/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yad.finance/~/changes/2RSiZ02fGs3gXznJHipO/api-documentation/endpoints-and-functions.md).

# Endpoints and Functions

<details>

<summary><a href="/~/changes/2RSiZ02fGs3gXznJHipO/api-documentation/endpoints-and-functions/get-v1-platforms.md">GET v1/platforms</a></summary>

Provides a list of supported blockchains.

</details>

<details>

<summary><a href="/~/changes/2RSiZ02fGs3gXznJHipO/api-documentation/endpoints-and-functions/get-v1-chainid-tokens.md">GET v1/{ChainID}/tokens</a></summary>

Provides a list of tokens for exchange on blockchains.

</details>

<details>

<summary><a href="/~/changes/2RSiZ02fGs3gXznJHipO/api-documentation/endpoints-and-functions/get-v1-chainid-gasprices.md">GET /v1/{chainID}/gasprices</a></summary>

Provides calculated gas price values in GWEI (nAVAX for Avalanche).

</details>

<details>

<summary><a href="/~/changes/2RSiZ02fGs3gXznJHipO/api-documentation/endpoints-and-functions/get-v1-chainid-price.md">GET /v1/{chainID}/price</a></summary>

Returns best exchange offer, no calldata for transaction.

</details>

<details>

<summary><a href="/~/changes/2RSiZ02fGs3gXznJHipO/api-documentation/endpoints-and-functions/get-v1-chainid-transaction-allowance.md">GET v1/{chainID}/transaction/allowance</a></summary>

Checks how many user’s tokens the exchange smart contract has access to.

</details>

<details>

<summary><a href="/~/changes/2RSiZ02fGs3gXznJHipO/api-documentation/endpoints-and-functions/get-v1-chainid-transaction-approve.md">GET v1/{chainID}/transaction/approve</a></summary>

Generates transaction input parameters to provide access to the user's tokens for the exchange smart contract.

</details>

<details>

<summary><a href="/~/changes/2RSiZ02fGs3gXznJHipO/api-documentation/endpoints-and-functions/get-v1-chainid-quote.md">GET /v1/{chainID}/quote</a></summary>

Returns the best exchange offer and input parameters for the transaction.

</details>
