Skip to content

fix: Add base unit fields for minAmountOut and minReceived#41

Open
kraikov wants to merge 1 commit into
mayan-finance:mainfrom
kraikov:patch-1
Open

fix: Add base unit fields for minAmountOut and minReceived#41
kraikov wants to merge 1 commit into
mayan-finance:mainfrom
kraikov:patch-1

Conversation

@kraikov

@kraikov kraikov commented Dec 7, 2025

Copy link
Copy Markdown

minAmountOutBaseUnits and minReceivedBaseUnits are missing from the quote type, while they are returned by the api response.

Example:
https://price-api.mayan.finance/v3/quote?wormhole=true&swift=true&mctp=true&shuttle=false&fastMctp=true&gasless=false&onlyDirect=false&solanaProgram=FC4eXxkyrMPTjiYUpp4EAnkmwMbQyZ6NDCh1kfLn6vsf&forwarderAddress=0x337685fdaB40D39bd02028545a4FfA7D287cC3E2&amountIn64=50000000000&fromToken=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913&fromChain=base&toToken=0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48&toChain=ethereum&slippageBps=10&sdkVersion=12_1_0

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant