GET
/
schemas
Get all supported contract schemas.
curl --request GET \
  --url https://{environment}.garden.finance/v2/schemas \
  --header 'garden-app-id: <api-key>'
{
  "status": "Ok",
  "error": "<string>",
  "result": [
    {
      "name": "evm:htlc",
      "schema": {}
    }
  ]
}
Retrieve a list of all schemas across supported networks: ABI for EVM and Starknet chains, IDL for Solana-based chains.

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[]