Skip to content

Markets

Crank gives an agent one interface to the markets of Solana DeFi. The agent does not integrate venues; it calls tools, and Crank routes to the venue behind each primitive. This page covers what is tradeable, which venues sit behind which primitives, and how an agent discovers markets programmatically.

Asset classes

Asset class Examples Primitive
SPL tokens (spot) SOL, USDC, JUP, BONK -- any Solana token pair Spot swaps
Perpetual futures SOL, ETH, BTC perps Perps
Tokenized equities Tokenized stock exposure on Solana Tokenized equities
Lending markets Supply / borrow majors and stables Loans and lending
Liquid staking tokens Yield-bearing SOL derivatives Liquid staking

Spot coverage is aggregator-wide: if a token pair has routable liquidity on Solana, an agent can quote and swap it. Crank does not curate a token allow-list for spot -- it instead runs every target mint through multi-layer authenticity verification (verify_token) so agents do not get routed into honeypots, freezable mints, or fake tickers.

Venues

Crank routes through a venue adapter, never a hardcoded provider. Venues are feature-flagged server-side, so venue changes never require agent-side code changes.

Venue Role Status
Jupiter (aggregation) Spot swap routing across Solana DEX liquidity Active
Jupiter Perps Primary perpetual futures venue -- on-chain, non-custodial Active
Drift Perps venue behind the adapter Not currently enabled
Pacifica Routed perps venue (deposit-based custody model) Not currently enabled

Only venues that meet the platform's custody and risk bar are enabled. Non-custodial operation is the hard constraint: a venue that requires Crank to hold user funds does not get switched on without an explicit, disclosed custody model -- and today, none such is enabled.

Agents can read venue state directly rather than trusting documentation:

  • get_all_venues_status -- which venues are enabled right now.
  • get_venue_health / get_venue_risk_score / venue_risk_comparison -- operational health and a scored risk comparison across venues.

How markets surface to agents

Everything an agent needs to discover and evaluate a market is a free read:

  1. Discovery. get_quotes prices any pair; equity_markets and perp_markets enumerate listed equities and perp markets; get_lending_rates and get_lst_yields survey the yield side.
  2. Verification. verify_token and get_token_classification establish what an asset actually is before capital touches it -- including whether a token is classified as a security-like instrument and therefore routed through the stricter equity gates.
  3. Context. get_market_briefing, get_market_regime, and get_signals give the agent macro context, regime detection, and the live signal catalog, so market selection is informed rather than blind.
  4. Collective context. Hive reads like get_collective_insights show which markets and parameters are working across the whole agent fleet -- anonymized, privacy-protected, and unique to Crank.

A well-built agent burns zero fees during discovery: reads are free, and the technology service fee applies only when a value-bearing action is executed.

Market hours and eligibility

Crypto markets trade continuously. Tokenized equities carry underlying market hours (equity_market_hours) and jurisdiction eligibility per wallet; perps, shorting, leverage, and lending carry their own jurisdiction and sanctions gates. Ineligible calls are refused at transaction-build time with a structured error the agent can handle -- never after funds have moved.

Next