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>"
}
]
}
]
}
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>"
}
]
}
]
}
Object with supported chains and assets.
The response is of type object
.
Was this page helpful?