July 15, 2025
API
v2.0.1

New endpoints

  • Add /schemas/{name} endpoint for fetching specific contract schemas
  • Add /schemas endpoint for browsing available contract interfaces

Enhanced schema types

  • Add support for different HTLC contract types across chains:
    • evm:htlc, evm:htlc_erc20
    • solana:htlc, solana:htlc_spltoken
    • starknet:htlc, starknet:htlc_erc20
  • Add support for blockchain-specific token standards:
    • evm:erc20, solana:spltoken, starknet:erc20
  • Add supported_htlc_schemas and supported_token_schemas fields to chain information
  • Update htlc and token fields to be objects that include schema names
July 11, 2025
API
v2.0.0

API architecture overhaul

  • Migrate from microservice-based endpoints to unified API at https://{environment}.garden.finance/v2
  • Replace Bearer JWT authentication with garden-app-id header authentication

New endpoints

  • Add /policy endpoint for client-side route validation and reduced API dependencies
  • Add /liquidity endpoint for real-time liquidity information

Consolidated API structure

  • Unify quote functionality under /quote endpoint
  • Streamline order operations with /orders and /orders/{order} endpoints
  • Simplify chain and asset queries with /chains and /assets endpoints
  • Add /health endpoint for service monitoring
  • Integrate /fees and /volume endpoints for swap metrics

Developer experience improvements

  • Enhance OpenAPI specification with detailed descriptions and examples
  • Improve schema definitions for better SDK generation
  • Standardize error response formats across all endpoints
July 10, 2025
SDK
v2.2.0
  • Add Solana support
  • Add retry logic for transactions dropped in mempool
  • Fix getBalance utility in Phantom provider
July 4, 2025
SDK
v2.1.14
  • Upgrade Starknet dependencies
  • Update Arbitrum Sepolia address
July 2, 2025
SDK
v2.1.12
  • Add Botanix support
May 30, 2025
SDK
v2.1.11
  • Add Corn support
May 27, 2025
SDK
v2.1.10
  • Initialise quote using API
May 21, 2025
SDK
v2.1.9
  • Automatically handle network switching in wallets
May 21, 2025
SDK
v2.1.8
  • Add support for Phantom, Xverse, and Keplr wallets
  • Fix build issues
  • Exit script execution if build fails
May 13, 2025
SDK
v2.1.7
  • Update script file
  • Add Unichain support
May 9, 2025
SDK
v2.1.6
  • Remove unnecessary API calls in react-hooks
May 8, 2025
SDK
v2.1.5
  • Support for affiliate fees
  • Add helper function getQuoteFromAssets
May 8, 2025
SDK
v2.1.4
  • Add Starknet support
  • Add support for network switching in Node environment (previously supported in browser)