Skip to main content
GET
Get contract schema.
Retrieve the schema with the given name.

Authorizations

garden-app-id
string
header
required

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

Path Parameters

name
required
Available options:
evm:htlc_erc20,
evm:htlc,
solana:htlc,
starknet:htlc_erc20,
solana:htlc_spltoken

Response

200 - application/json

The ABI for EVM contracts or IDL for Solana contracts.

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