Expand description
Wire-format types for the Fynd RPC HTTP API.
This crate contains only the serialisation types shared between the Fynd RPC server
(fynd-rpc) and its clients (fynd-client). It has no server-side infrastructure
dependencies (no actix-web, no server logic).
For documentation and API reference see https://docs.fynd.xyz/.
§Features
openapi— derivesutoipa::ToSchemaon all types for OpenAPI spec generation.core— enablesIntoconversions between wire DTOs andfynd-coredomain types.
Structs§
- Block
Info - Block information at which a quote was computed.
- Bytes
- A byte sequence that serializes as
"0x{lowercase hex}"in JSON. - Client
FeeParams - Client fee configuration for the Tycho Router.
- Encoding
Options - Options to customize the encoding behavior.
- Error
Response - Error response body.
- FeeBreakdown
- Breakdown of fees applied to the swap output by the on-chain FeeCalculator.
- Health
Status - Health check response.
- Instance
Info - Static metadata about this Fynd instance, returned by
GET /v1/info. - Order
- A single swap order to be solved.
- Order
Quote - Quote for a single
Order. - Permit
Details - Details for a permit2 single-token permit.
- Permit
Single - A single permit for permit2 token transfer authorization.
- Price
Guard Config - Per-request overrides for price guard validation.
- Quote
- Complete solution for a
QuoteRequest. - Quote
Options - Options to customize the solving behavior.
- Quote
Request - Request to solve one or more swap orders.
- Route
- A route consisting of one or more sequential swaps.
- Swap
- A single swap within a route.
- Transaction
- An encoded EVM transaction ready to be submitted on-chain.
Enums§
- Order
Side - Specifies the side of an order: sell (exact input) or buy (exact output).
- Quote
Status - Status of an order quote.
- User
Transfer Type - Token transfer method for moving funds into Tycho execution.
Type Aliases§
- Address
- An EVM address — 20 bytes, same wire format as
Bytes.