GET
/
schemas
Get all supported contract schemas.
curl --request GET \
  --url https://{environment}.garden.finance/v3/schemas \
  --header 'garden-app-id: <api-key>'
{
  "status": "Ok",
  "error": "<string>",
  "result": [
    {
      "name": "evm:htlc_erc20",
      "schema": [
        {}
      ]
    }
  ]
}
Get all supported contract schemas.

Authorizations

garden-app-id
string
header
required

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

Response

200 - application/json

The ABI for EVM, Starknet contracts and IDL for Solana contracts.

status
enum<string>
Available options:
Ok,
Error
error
string | null
result
object[]