Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 9 additions & 7 deletions fern/openapi-solana-swap.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"info": {
"title": "Solana API",
"description": "API for generating Solana swap instructions across aggregated DEX liquidity.",
"version": "0.3.3"
"version": "0.3.6"
},
"servers": [
{
Expand Down Expand Up @@ -237,7 +237,7 @@
"examples": [
1000000
],
"minimum": 0
"minimum": 1
},
"disabled_sources": {
"type": "array",
Expand Down Expand Up @@ -275,7 +275,7 @@
},
"swap_fee_side": {
"type": "string",
"description": "Comma-separated fee sides for each fee entry.\nSupported values are `buy` and `sell`.\nThis field may be omitted only when every fee uses the default buy side.\nWhen provided, the number of entries must match `swap_fee_ppm`."
"description": "Comma-separated fee sides for each fee entry.\nSupported values are `buy` and `sell`.\nThis field may be omitted only when every fee uses the default `buy` side.\nWhen provided, the number of entries must match `swap_fee_ppm`."
},
"taker": {
"type": "string",
Expand Down Expand Up @@ -325,6 +325,7 @@
"amount_out",
"instructions",
"address_lookup_tables",
"route_plan",
"zid"
],
"properties": {
Expand Down Expand Up @@ -363,6 +364,7 @@
},
"SwapInstructionsRoutePlanStep": {
"type": "object",
"description": "One swap leg in the swap route plan.",
"required": [
"dex_address",
"dex_label",
Expand All @@ -384,15 +386,15 @@
},
"dex_address": {
"type": "string",
"description": "The Base58-encoded address of the DEX."
"description": "The base-58 encoded address of the DEX."
},
"dex_label": {
"type": "string",
"description": "The label for the DEX. Matches labels returned by the `enabled-sources` endpoint."
},
"dex_program_id": {
"type": "string",
"description": "The Base58-encoded program ID address of the DEX."
"description": "The base-58 encoded program ID address of the DEX."
},
"ppb": {
"type": "integer",
Expand All @@ -402,11 +404,11 @@
},
"token_in": {
"type": "string",
"description": "The Base58-encoded address of the input mint."
"description": "The base-58 encoded address of the input mint."
},
"token_out": {
"type": "string",
"description": "The Base58-encoded address of the output mint."
"description": "The base-58 encoded address of the output mint."
}
}
}
Expand Down