EasyPath API (0.5.0)
Private cross-chain swap between Solana and Robinhood chain for approved customers.
Machine-readable form of docs/API_CONTRACT.md (v0.5; v0.4 plus the indicative /price). Where the two differ, the contract document wins until this file is updated.
Amounts are atoms (base units) as canonical unsigned decimal strings, never JSON numbers.
USD fields are decimal strings for display only; nothing is settled from them.
Every response is
{ "data": … }or{ "error": { "code", "message" } }.Every lookup is scoped to the API key's customer; another customer's intent is
NOT_FOUND.An HTTP timeout on
/quotedoes not mean no intent was created; an unused intent expires at its deadline.Every request carrying a key counts against that key's token bucket; past it the answer is
429 RATE_LIMITEDwithRetry-Afterin seconds.
Served by the API tile (tiles/api) of the easypath runtime. Not implemented yet: /submit for Robinhood-chain deposits.