GET
/
chains
Get all the supported chains and assets.
curl --request GET \
  --url https://{environment}.garden.finance/v2/chains \
  --header 'garden-app-id: <api-key>'
{
  "status": "Ok",
  "error": "<string>",
  "result": [
    {
      "chain": "arbitrum",
      "icon": "<string>",
      "confirmation_target": 123,
      "source_timelock": "<string>",
      "destination_timelock": "<string>",
      "supported_htlc_schemas": [
        "evm:htlc"
      ],
      "supported_token_schemas": [
        "evm:erc20"
      ],
      "assets": [
        {
          "id": "arbitrum:ibtc",
          "chain": "arbitrum",
          "icon": "<string>",
          "htlc": {
            "address": "<string>",
            "schema": "evm:htlc"
          },
          "token": {
            "address": "<string>",
            "schema": "evm:htlc"
          },
          "decimals": 8,
          "min_amount": "<string>",
          "max_amount": "<string>"
        }
      ]
    }
  ]
}
Retrieve a list of all supported blockchain networks.

Authorizations

garden-app-id
string
header
required

If you do not yet have an app ID, please follow these steps.

Response

200 - application/json

Object with supported chains and assets.

The response is of type object.