{"type":"function","function":{"name":"surplus_swap_quote","description":"Get a best-execution swap on Robinhood Chain (routed by Rialto) as an unsigned transaction for the taker's own wallet to sign and send. Crypto tokens only. Returns any approval needed first, the minimum output after slippage, and step-by-step instructions.","parameters":{"type":"object","properties":{"sell_token":{"type":"string","description":"Address of the token to sell (0x…)."},"buy_token":{"type":"string","description":"Address of the token to buy (0x…)."},"sell_amount":{"type":"string","description":"Amount to sell in whole tokens, as a decimal string, e.g. \"0.5\"."},"taker":{"type":"string","description":"Wallet that signs and sends the swap and receives the output."},"slippage_bps":{"type":"integer","minimum":1,"maximum":500,"description":"Allowed slippage in basis points (default 50 = 0.5%)."},"settlement":{"type":"string","enum":["allowance","permit2"],"description":"\"allowance\" (default): approve the router, then send tx. \"permit2\": sign EIP-712 typed data and splice the signature into tx.data."}},"required":["sell_token","buy_token","sell_amount","taker"],"additionalProperties":false}},"endpoint":{"method":"GET","url":"https://api.surplusllm.com/api/v1/swap/quote","auth":"Authorization: Bearer sk-surplus-…"}}