Robinhood Chain swap builder, 0.25% disclosed fee (free)
rhc_swap_buildBuild an unsigned buy or sell swap for a graduated pons v2 token on Robinhood Chain (4663): returns calldata to sign, approval, minimum output and deadline.
Instructions
Free. Use it when a wallet is about to buy or sell a graduated pons token on Robinhood Chain and needs the transaction to sign; for a token still on its curve use rhc_curve_card instead. For a GRADUATED pons v2 token on Robinhood Chain (chain 4663) and an amount, returns the UNSIGNED swap transaction to sign (to, data, value, chain id) routed by KyberSwap's aggregator, plus the approval to send first when selling, the minimum output and a deadline. …
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | No | buy (spend ETH for the token, default) or sell (sell the token for ETH) | buy |
| token | Yes | 0x address of a graduated pons v2 token on Robinhood Chain (42 characters) | |
| amount | Yes | Decimal whole units, at most 18 decimals: ETH for side buy, tokens for side sell | |
| wallet | Yes | 0x address that will sign and receive; put in the calldata as sender and recipient | |
| slippage_pct | No | Slippage in percent: default 1, at most 5, at most two decimals |