Skip to main content

List Protocols

List all available protocol adapters.
cURL

Response


Get Protocol Capabilities

Retrieve capabilities for a specific protocol.
cURL

Path Parameters

string
required
Protocol name: system-program, spl-token, jupiter, marinade, solend, metaplex, orca, raydium, escrow

Response

string
required
Protocol name
string
required
Protocol adapter version
array
required
Array of supported operations
array
required
Array of on-chain program IDs

Get Protocol Version

Get protocol adapter version.
cURL

Protocol Health

Check health of all protocol adapters.
cURL

Get Specific Protocol Health

cURL

Response


Compatibility Check

Check if a protocol supports a specific intent.
cURL

Migrate Intent

Migrate an intent from one protocol version to another.
cURL

DeFi Operations

Get Quote

Get a swap quote from a DEX protocol.
cURL

Request Body

string
required
DEX protocol: jupiter, orca, raydium
string
required
Input token mint address
string
required
Output token mint address
string
required
Input amount (in token base units)
string
required
Wallet public key
number
Slippage tolerance in basis points (default: 50)

Swap

Execute a token swap.
cURL
This is a convenience endpoint. For full transaction control, use POST /api/v1/transactions with type: "swap".

Stake

Stake SOL with a staking protocol.
cURL

Request Body

string
required
Staking protocol: marinade, solend
string
required
Wallet public key
string
required
Amount to stake in lamports
string
Specific validator address (optional)

Unstake

Unstake SOL from a staking protocol.
cURL

Lend - Supply

Supply tokens to a lending protocol.
cURL

Request Body

string
required
Lending protocol: solend
string
required
Wallet public key
string
required
Token mint address to supply
string
required
Amount to supply (in token base units)

Lend - Borrow

Borrow tokens from a lending protocol.
cURL

Escrow Operations

Create Escrow

Create a new escrow account.
cURL

Request Body

string
required
Unique numeric escrow identifier
string
required
Recipient wallet address
string
required
Creator wallet address
string
required
Arbiter wallet address for dispute resolution
string
required
Fee recipient wallet address
string
required
Escrow amount in lamports
number
required
Escrow deadline (Unix timestamp)
string
Escrow terms description

Accept Escrow

Accept an existing escrow.
cURL

Path Parameters

string
required
Escrow numeric ID

Release Escrow

Release funds to counterparty.
cURL

Refund Escrow

Refund funds to creator.
cURL

Dispute Escrow

Raise a dispute.
cURL

Resolve Dispute

Arbiter resolves a dispute.
cURL

Supported Protocols

Protocol: system-programCapabilities:
  • transfer_sol - Transfer SOL between accounts
  • create_account - Create new accounts
Program ID: 11111111111111111111111111111111