Skip to content

Removed prioritizationType from ultra response #661

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
May 7, 2025
4 changes: 2 additions & 2 deletions docs/api/ultra-api/order.api.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: "Request for a base64-encoded unsigned swap transaction to be used
sidebar_label: "order"
hide_title: true
hide_table_of_contents: true
api: eJzVV0tv2zgQ/iuETi0Qx2mR9OBbsmgL7zZtNo+TY6C0NLaYUCRDUmmyTv77zuhhUzbtOOgWxV5sSZzHx3l8HM6TDFxqhfFCq2SQnMNdCc6zqbaMswl38OGwByrVGWSsVE7MFD64H9wwb7lyPCVF5jWbACsdrgnFvp99u7hk/VKiSP/+XR8eIC09fL9W12owGCjt4Vr12DlMwZLq6Iok2fHZkGU6Hb/p46+r1XvciP4MfE/bDOzbClehLaAbfCw4ea+MXqtkL7HgjFYOXDKYJ+8PDuivu7+LMk3BuWkpWSuMeqlWHpQncW6MFGllt3/jSGeeuDSHgtOTfzSAVvTkBlKPisZqA9aL2qNQpvSnojbUiDpvhZolz3uJLv22ZaGOC11u1t226nOw9fpljtvKtcyigpS3U0xlfFEKY/gMTowL1lVZTMDSurEihWFhMOVnaRyIRZxwJrkKVrm1/BFDJTwU7uUYEsQh5vZlSV4Uf8FjFIfkE5Abovx7UjQF2L66wSkFFVtSWMCMjto9tzsM99NBH2ANkYU4ll7HlFywKXQQtIlfQbDIz1Jn/Lx1C9XalqLSVnjxT9Vxl9XyqoW9BFCBnH/Vitr1D13gRuGkzJAZ8P1P4XW9i461TwBfeGG09XHftJWXPPLZzMKMe22JXqZ3+Jtzl0+l/lF5DEhwnWyuWr4kHu19OGQtka5TZyPIVbZk0QVvotMa32gJUJVSVghm3ElktGATE60lYA82mUM6H2br4M6bpBKAgt8C0n0jTV8izoOEeu25vBQF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VerRNEnREM3ILbykqP5TiPjGeW4pNhSIyum7/YP9gw0oT+ybUDfs6Uo9scFgUD1MvoBnPyiavRe6SvZTNbpsk68nm0CnnB+083l112garE5eC95ixTH/8+ttXfEeHvwQhydRRqGsnEVdv5M6BJjRDKNDHxYL2uallc/P9LlqLqrqRDg+k8ue6Inam2byfMu2obihm1iLLe+4LEiuLO8/4KtFpn/a2ZJr+x1Vwg2d7iK7SZiv0aoocaUxpRcrSAVTPC2HOk71QPmuVNERmNDPxqnbIscvny7wEP0F45RMsA==
sidebar_class_name: "get api-method"
info_path: docs/api/ultra-api/quickstart
custom_edit_url: null
Expand Down Expand Up @@ -67,7 +67,7 @@ Request for a base64-encoded unsigned swap transaction to be used in `POST /ultr
<StatusCodes
id={undefined}
label={undefined}
responses={{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"inputMint":{"type":"string"},"outputMint":{"type":"string"},"inAmount":{"type":"string"},"outAmount":{"type":"string"},"otherAmountThreshold":{"type":"string"},"swapMode":{"type":"string"},"slippageBps":{"type":"number"},"priceImpactPct":{"type":"string"},"routePlan":{"type":"array","items":{"type":"object","properties":{"swapInfo":{"type":"object","properties":{"ammKey":{"type":"string"},"label":{"type":"string"},"inputMint":{"type":"string"},"outputMint":{"type":"string"},"inAmount":{"type":"string"},"outAmount":{"type":"string"},"feeAmount":{"type":"string"},"feeMint":{"type":"string"}},"required":["ammKey","label","inputMint","outputMint","inAmount","outAmount","feeAmount","feeMint"]},"percent":{"type":"number"}},"required":["swapInfo","percent"]}},"feeMint":{"type":"string"},"feeBps":{"type":"number"},"prioritizationType":{"type":"string","enum":["None","ComputeBudget","Jito"]},"prioritizationFeeLamports":{"type":"number"},"swapType":{"type":"string","enum":["aggregator","rfq","hashflow"]},"transaction":{"description":"Unsigned base-64 encoded transaction to be signed and used in `/execute`","type":["string","null"]},"gasless":{"type":"boolean"},"requestId":{"description":"Required to make a request to `/execute`","type":"string"},"totalTime":{"type":"number"},"taker":{"type":["string","null"]},"quoteId":{"type":"string"},"maker":{"type":"string"},"expireAt":{"type":"string"},"platformFee":{"type":"object","properties":{"amount":{"type":"string"},"feeBps":{"type":"number"}},"required":["amount","feeBps"]},"dynamicSlippageReport":{"type":"object","properties":{"amplificationRatio":{"type":["string","null"]},"otherAmount":{"type":["number","null"]},"simulatedIncurredSlippageBps":{"type":["number","null"]},"slippageBps":{"type":"number"},"categoryName":{"type":"string"},"heuristicMaxSlippageBps":{"type":"number"}},"required":["amplificationRatio","otherAmount","simulatedIncurredSlippageBps","slippageBps","categoryName","heuristicMaxSlippageBps"]}},"required":["inputMint","outputMint","inAmount","outAmount","otherAmountThreshold","swapMode","slippageBps","priceImpactPct","routePlan","feeBps","prioritizationType","prioritizationFeeLamports","swapType","transaction","gasless","requestId","totalTime","taker"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}}}}
responses={{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"inputMint":{"type":"string"},"outputMint":{"type":"string"},"inAmount":{"type":"string"},"outAmount":{"type":"string"},"otherAmountThreshold":{"type":"string"},"swapMode":{"type":"string"},"slippageBps":{"type":"number"},"priceImpactPct":{"type":"string"},"routePlan":{"type":"array","items":{"type":"object","properties":{"swapInfo":{"type":"object","properties":{"ammKey":{"type":"string"},"label":{"type":"string"},"inputMint":{"type":"string"},"outputMint":{"type":"string"},"inAmount":{"type":"string"},"outAmount":{"type":"string"},"feeAmount":{"type":"string"},"feeMint":{"type":"string"}},"required":["ammKey","label","inputMint","outputMint","inAmount","outAmount","feeAmount","feeMint"]},"percent":{"type":"number"}},"required":["swapInfo","percent"]}},"feeMint":{"type":"string"},"feeBps":{"type":"number"},"prioritizationFeeLamports":{"type":"number"},"swapType":{"type":"string","enum":["aggregator","rfq","hashflow"]},"transaction":{"description":"Unsigned base-64 encoded transaction to be signed and used in `/execute`","type":["string","null"]},"gasless":{"type":"boolean"},"requestId":{"description":"Required to make a request to `/execute`","type":"string"},"totalTime":{"type":"number"},"taker":{"type":["string","null"]},"quoteId":{"type":"string"},"maker":{"type":"string"},"expireAt":{"type":"string"},"platformFee":{"type":"object","properties":{"amount":{"type":"string"},"feeBps":{"type":"number"}},"required":["amount","feeBps"]},"dynamicSlippageReport":{"type":"object","properties":{"amplificationRatio":{"type":["string","null"]},"otherAmount":{"type":["number","null"]},"simulatedIncurredSlippageBps":{"type":["number","null"]},"slippageBps":{"type":"number"},"categoryName":{"type":"string"},"heuristicMaxSlippageBps":{"type":"number"}},"required":["amplificationRatio","otherAmount","simulatedIncurredSlippageBps","slippageBps","categoryName","heuristicMaxSlippageBps"]}},"required":["inputMint","outputMint","inAmount","outAmount","otherAmountThreshold","swapMode","slippageBps","priceImpactPct","routePlan","feeBps","prioritizationFeeLamports","swapType","transaction","gasless","requestId","totalTime","taker"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}}}}
>

</StatusCodes>
Expand Down
7 changes: 0 additions & 7 deletions openapi/ultra.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,6 @@ paths:
type: string
feeBps:
type: number
prioritizationType:
type: string
enum:
- None
- ComputeBudget
- Jito
prioritizationFeeLamports:
type: number
swapType:
Expand Down Expand Up @@ -175,7 +169,6 @@ paths:
- priceImpactPct
- routePlan
- feeBps
- prioritizationType
- prioritizationFeeLamports
- swapType
- transaction
Expand Down