Scrooge
v2.0.0Swaps, limit orders, OTC, staking, vaults and bridging on Robinhood Chain.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
find_token Find a token
Tokens on Robinhood Chain by symbol, name or address, with their addresses and decimals. Verified tokens are the majors and Robinhood's Stock Tokens; a warning marks a copycat using a verified token's symbol.
| Parameter | Type | Description |
|---|---|---|
query * | string | A symbol, a name or an address |
get_token_info Token market data
A token's price in USD, market cap, liquidity, 24h volume and change, and its page on Scrooge.
| Parameter | Type | Description |
|---|---|---|
token * | string | The token: a symbol (ETH, USDG, SCROOGE, NVDA…) or a contract address on Robinhood Chain |
get_swap_quote Quote a swap
The best price for a swap on Robinhood Chain right now, after Scrooge's fee: what arrives, the least it may pay (minAmountOut), the fee in basis points and the venue. Pass the wallet to have its $SCROOGE discount counted.
| Parameter | Type | Description |
|---|---|---|
amount * | string | How much of token_in to sell, as a decimal number such as 0.5 |
token_in * | string | What is sold: a symbol (ETH, USDG, SCROOGE, NVDA…) or a contract address on Robinhood Chain |
token_out * | string | What is bought: a symbol (ETH, USDG, SCROOGE, NVDA…) or a contract address on Robinhood Chain |
allow_high_slippage | boolean | Optional: allow slippage up to 1000 basis points (10%); leave it off unless a thin market needs it |
slippage_bps | number | Optional: the most the price may move before the swap reverts, in basis points (default 50 = 0.5%, at most 300 = 3% unless allow_high_slippage) |
wallet | string | Optional: the wallet that will swap |
build_swap Build a swap to sign
The transactions that make a swap from `wallet`, for that wallet to sign and send in order: an approval of exactly the amount sold when ScroogeRouter needs one, then the swap, which pays the output to the same wallet. The swap is simulated from the wallet where it can be. Nothing is signed or sent by this tool. Send within a couple of minutes, or build again.
| Parameter | Type | Description |
|---|---|---|
amount * | string | How much of token_in to sell, as a decimal number such as 0.5 |
token_in * | string | What is sold: a symbol (ETH, USDG, SCROOGE, NVDA…) or a contract address on Robinhood Chain |
token_out * | string | What is bought: a symbol (ETH, USDG, SCROOGE, NVDA…) or a contract address on Robinhood Chain |
wallet * | string | The address that will sign and send the transactions, and receive the output |
allow_high_slippage | boolean | Optional: allow slippage up to 1000 basis points (10%); leave it off unless a thin market needs it |
slippage_bps | number | Optional: the most the price may move before the swap reverts, in basis points (default 50 = 0.5%, at most 300 = 3% unless allow_high_slippage) |
get_rug_scan Rug scan (paid, x402)
A token's rug scan, as on scrooge.exchange/rugcheck: a verdict, each finding graded serious, to know or clear (the dev's launch history, the dev wallet, launch-block and first-minute buyers, the top 10 wallets' share, the liquidity), the largest holders, snipers and the dev's other launches. Paid per call with x402 in USDG on Robinhood Chain: call it without payment for the terms, then again with the signed payment in _meta["x402/payment"]. A scan that fails is not charged.
| Parameter | Type | Description |
|---|---|---|
token * | string | The token to scan: a symbol (ETH, USDG, SCROOGE, NVDA…) or a contract address on Robinhood Chain |
get_platform_stats Scrooge's statistics
Volume, swaps, traders and fees through Scrooge since launch and in the last 24 hours, and $SCROOGE bought and burned from fees.
get_staking Staking: terms and a position
A coin's staking on Scrooge: $SCROOGE's own (no token, or SCROOGE), which pays a share of Scrooge's revenue in ETH, or a coin's staking pool, which pays a share of its creator fees. The APR, what is staked, what it pays a day, the unstaking wait and the fee for leaving at once, and with a wallet that wallet's stake, what it has unstaking and when that is ready, and what it has earned.
| Parameter | Type | Description |
|---|---|---|
token | string | Optional: the coin staked (default SCROOGE): a symbol (ETH, USDG, SCROOGE, NVDA…) or a contract address on Robinhood Chain |
wallet | string | Optional: a wallet whose position to read |
list_staking_pools Every staking pool
Every coin's staking pool on Scrooge, those paying the most a day first: the coin, its APR, what is staked, what it pays a day and in what, stakers' share of the creator fees, the unstaking wait and the fee for leaving at once.
| Parameter | Type | Description |
|---|---|---|
limit | number | Optional: how many (default 20, at most 50) |
build_stake Build a stake
The transactions that stake `amount` of a coin from `wallet`: an approval of exactly that amount where needed, then the stake. A pool's stake is held to its terms now and any its owner has proposed, so terms changed in the moment before it lands cannot catch it.
| Parameter | Type | Description |
|---|---|---|
amount * | string | How much to stake, as a decimal number such as 0.5 |
wallet * | string | The address that will sign and send the transactions |
token | string | Optional: the coin to stake (default SCROOGE): a symbol (ETH, USDG, SCROOGE, NVDA…) or a contract address on Robinhood Chain |
build_unstake Build an unstake
Unstaking `amount` (or "all") of what `wallet` has staked: by default it starts the wait (3 days for $SCROOGE, each pool's own), after which build_withdraw sends the coins back; with now: true it leaves at once for the leave-now fee, taken from what is unstaked.
| Parameter | Type | Description |
|---|---|---|
amount * | string | How much to unstake, as a decimal number, or "all" |
wallet * | string | The address that will sign and send the transactions |
now | boolean | Optional: leave at once for the fee rather than wait |
token | string | Optional: the coin staked (default SCROOGE): a symbol (ETH, USDG, SCROOGE, NVDA…) or a contract address on Robinhood Chain |
build_withdraw Build a withdrawal of unstaked coins
Sends back what `wallet` has unstaking once its wait is over; before then, refused unless now: true, which withdraws it at once for a fee that shrinks as the wait runs down.
| Parameter | Type | Description |
|---|---|---|
wallet * | string | The address that will sign and send the transactions |
now | boolean | Optional: withdraw before the wait ends, for the fee |
token | string | Optional: the coin staked (default SCROOGE): a symbol (ETH, USDG, SCROOGE, NVDA…) or a contract address on Robinhood Chain |
build_claim_rewards Build a claim of staking rewards
Claims what `wallet` has earned staking a coin: ETH for $SCROOGE, what the pool pays in for a coin's pool.
| Parameter | Type | Description |
|---|---|---|
wallet * | string | The address that will sign and send the transactions |
token | string | Optional: the coin staked (default SCROOGE): a symbol (ETH, USDG, SCROOGE, NVDA…) or a contract address on Robinhood Chain |
list_otc The OTC book
Open OTC offers on Scrooge, off the pools: sell offers at a fixed price or at the market's price with a spread (fixed-N, market-N), and buy offers holding ETH or USDG for sellers (bid-N), each with what is left, its price a token, its least fill, any lock after buying and when it ends. With a wallet, also that wallet's locked purchases and whether they can be claimed. Offers named for one buyer show only to that wallet. The book is the one kept for every visitor, up to two minutes old: an offer listed, bought or ended since may not show yet, and the tools that build on an offer or a lock read…
| Parameter | Type | Description |
|---|---|---|
limit | number | Optional: how many of each (default 30) |
token | string | Optional: only this token's offers: a symbol (ETH, USDG, SCROOGE, NVDA…) or a contract address on Robinhood Chain |
wallet | string | Optional: the wallet looking, for offers named to it and its locks |
build_otc_buy Build an OTC purchase
Buys `amount` (or "all") of the token from a sell offer (fixed-N or market-N, as list_otc names it). A market offer is bought at a venue's price signed now, its spread on it and never under its floor, so send within a minute. ETH is paid with the transaction; USDG is approved for exactly the cost.
| Parameter | Type | Description |
|---|---|---|
amount * | string | How much of the token to buy, as a decimal number, or "all" |
offer * | string | The offer, as list_otc names it: fixed-3 or market-0 |
wallet * | string | The address that will sign and send the transactions |
build_otc_sell_offer Build an OTC sell offer
Offers `amount` of a token on ScroogeOTC for `price_total` in ETH or USDG, bought whole or in part. Optional: one wallet only may buy (only_buyer), the least share a purchase must take (min_buy_pct), a lock on what is bought (lock_days) and an end (ends_in_hours). The token stays in the wallet until bought; the approval is for exactly `amount`. Scrooge takes 0.5% of what the buyer pays.
| Parameter | Type | Description |
|---|---|---|
amount * | string | How much to sell, as a decimal number such as 0.5 |
price_total * | string | The price for all of it, in `pay`, as a decimal number such as 0.5 |
token * | string | The token to sell: a symbol (ETH, USDG, SCROOGE, NVDA…) or a contract address on Robinhood Chain |
wallet * | string | The address that will sign and send the transactions |
ends_in_hours | number | Optional: hours until the offer ends (default never) |
lock_days | number | Optional: days what is bought stays locked for the buyer (default 0) |
min_buy_pct | number | Optional: the least share of the offer one purchase must take, 0 to 100 (default 0, any amount) |
only_buyer | string | Optional: the only wallet that may buy |
pay | string | What the buyer pays in (default ETH) |
build_otc_buy_offer Build an OTC buy offer
Posts a buy offer on ScroogeOTCBids: `amount` of a token wanted for `pay_total` in ETH or USDG, which the contract holds until holders sell into it, whole or in part. Optional: one wallet only may sell (only_seller), the least share a sale must bring (min_sell_pct) and an end (ends_in_hours).
| Parameter | Type | Description |
|---|---|---|
amount * | string | How much of it, as a decimal number such as 0.5 |
pay_total * | string | What it pays for all of it, in `pay`, as a decimal number such as 0.5 |
token * | string | The token wanted: a symbol (ETH, USDG, SCROOGE, NVDA…) or a contract address on Robinhood Chain |
wallet * | string | The address that will sign and send the transactions |
ends_in_hours | number | Optional: hours until it ends (default never) |
min_sell_pct | number | Optional: the least share one sale must bring, 0 to 100 (default 0) |
only_seller | string | Optional: the only wallet that may sell |
pay | string | What it pays in (default ETH) |
build_otc_sell_to_bid Build a sale into a buy offer
Sells `amount` (or "all") of the token into a buy offer (bid-N), paid its share of what the offer holds, less Scrooge's 0.5%. The approval is for exactly what is sold.
| Parameter | Type | Description |
|---|---|---|
amount * | string | How much to sell, as a decimal number, or "all" |
offer * | string | The buy offer, as list_otc names it: bid-2 |
wallet * | string | The address that will sign and send the transactions |
build_otc_cancel Build an OTC cancel
Cancels the wallet's own offer (fixed-N, market-N or bid-N), taking back what is left: the token of a sell offer, the money of a buy offer.
| Parameter | Type | Description |
|---|---|---|
offer * | string | The offer, as list_otc names it |
wallet * | string | The wallet that made the offer |
build_otc_claim Build a claim of locked OTC purchases
Releases every OTC purchase of the wallet's whose lock has ended, from both desks.
| Parameter | Type | Description |
|---|---|---|
wallet * | string | The address that will sign and send the transactions |
list_earn_vaults Earn vaults
The Morpho vaults Scrooge offers for USDG on Robinhood Chain, with what each pays a year after its own fees, what is in it and what it can pay out now. No Scrooge fee.
build_vault_deposit Build a vault deposit
Deposits `amount` USDG from `wallet` into one of the vaults list_earn_vaults names, after an approval of exactly that amount where needed.
| Parameter | Type | Description |
|---|---|---|
amount * | string | How much USDG, as a decimal number such as 0.5 |
vault * | string | The vault's address or name, as list_earn_vaults gives it |
wallet * | string | The address that will sign and send the transactions |
build_vault_withdraw Build a vault withdrawal
Withdraws `amount` USDG (or all of it, the default) from a vault back to `wallet`. All of it redeems every share, leaving no dust behind.
| Parameter | Type | Description |
|---|---|---|
vault * | string | The vault's address or name |
wallet * | string | The address that will sign and send the transactions |
amount | string | Optional: how much USDG, or "all" (default all) |
build_recurring_buy Build a recurring buy or split order
A schedule Scrooge's keeper carries out through ScroogeRouter, the wallet signing nothing more. Recurring (the default): `amount` of token_in into token_out `every` hour, 4 hours, day, week, 2 weeks or 30 days, `runs` times, the first now. Split (kind: "split"): `amount` in all, cut into equal pieces `over` 15 min, 1 hour, 4 hours, 12 hours or 24 hours. ETH is wrapped to WETH first. Each run is worth at least $10, and while in beta at most $2,500 a schedule. Optional min_out_per_run makes each run a limit.
| Parameter | Type | Description |
|---|---|---|
amount * | string | Recurring: how much each run. Split: how much in all, as a decimal number such as 0.5 |
token_in * | string | What is sold each run: a symbol (ETH, USDG, SCROOGE, NVDA…) or a contract address on Robinhood Chain |
token_out * | string | What is bought: a symbol (ETH, USDG, SCROOGE, NVDA…) or a contract address on Robinhood Chain |
wallet * | string | The address that will sign and send the transactions |
every | string | Recurring: how often |
kind | string | Optional: recurring (default) or split |
min_out_per_run | string | Optional: the least of token_out each run must pay, or the run waits, as a decimal number such as 0.5 |
over | string | Split: how long it is spread over |
runs | number | Recurring: how many runs |
list_recurring_buys A wallet's recurring buys
The wallet's recurring buys and split orders: each one's id, state, tokens, amount a run, runs done and left, cadence and next run.
| Parameter | Type | Description |
|---|---|---|
wallet * | string | The wallet whose schedules to read |
build_cancel_recurring_buy Build a cancel of a recurring buy
Stops one of the wallet's schedules (by its id from list_recurring_buys): no more runs.
| Parameter | Type | Description |
|---|---|---|
id * | number | The schedule's id |
wallet * | string | The address that will sign and send the transactions |
build_limit_order Build a limit order
A limit order on 1inch's book: sell `sell_amount` of sell_token for at least `buy_amount` of buy_token, until it expires (default 7 days). Returns any transactions first needed (an ETH wrap, an approval for 1inch's protocol covering the wallet's open orders and this one) and the order's EIP-712 typedData: send the transactions, sign typedData with the wallet, then call place_limit_order. 1inch takes its fee from a fill; Scrooge takes none.
| Parameter | Type | Description |
|---|---|---|
buy_amount * | string | The least bought for all of it, as a decimal number such as 0.5 |
buy_token * | string | What is bought: a symbol (ETH, USDG, SCROOGE, NVDA…) or a contract address on Robinhood Chain |
sell_amount * | string | How much is sold, as a decimal number such as 0.5 |
sell_token * | string | What is sold: a symbol (ETH, USDG, SCROOGE, NVDA…) or a contract address on Robinhood Chain |
wallet * | string | The wallet that makes the order and signs it |
expires_in_hours | number | Optional: hours until it expires (default 168, a week) |
place_limit_order Place a signed limit order
Posts an order build_limit_order made, once the wallet has signed its typedData, to 1inch's book. The signature is checked against the order's maker before it is sent.
| Parameter | Type | Description |
|---|---|---|
extension * | string | The extension build_limit_order returned |
order * | object | The order object build_limit_order returned, unchanged |
signature * | string | The wallet's EIP-712 signature of typedData |
list_limit_orders A wallet's limit orders
The wallet's open limit orders on 1inch's book, with what is left of each and when it expires.
| Parameter | Type | Description |
|---|---|---|
wallet * | string | The order maker |
build_cancel_limit_order Build a limit order cancel
Cancels one of the wallet's open limit orders on 1inch's protocol, by its hash from list_limit_orders.
| Parameter | Type | Description |
|---|---|---|
order_hash * | string | The order's hash |
wallet * | string | The order maker |
build_private_send Build a private send
Sends ETH or USDG to another wallet on Robinhood Chain through NEAR Intents' 1Click with its confidential handling: the wallet pays a one-time deposit address, and 1Click's solvers pay the recipient from their own funds, with no transaction joining the two wallets. Scrooge's fee is 0.40%.
| Parameter | Type | Description |
|---|---|---|
amount * | string | How much, as a decimal number such as 0.5 |
to * | string | The wallet that receives, on Robinhood Chain |
wallet * | string | The wallet that pays |
token | string | What is sent (default ETH) |
build_bridge Build a swap to another chain
Swaps a token on Robinhood Chain to another EVM chain (Ethereum, Base, Arbitrum and more) through LI.FI, in one transaction: the bridge and the swaps on either side. to_token is its address there, or "native" for the chain's own coin. Paid to the same wallet unless to_address says otherwise.
| Parameter | Type | Description |
|---|---|---|
amount * | string | How much, as a decimal number such as 0.5 |
to_chain * | string | The chain it goes to, by name (Base, Ethereum, Arbitrum…) or id |
token * | string | What is sent from Robinhood Chain: a symbol (ETH, USDG, SCROOGE, NVDA…) or a contract address on Robinhood Chain |
wallet * | string | The address that will sign and send the transactions |
slippage_bps | number | Optional: in basis points (default 50, at most 300) |
to_address | string | Optional: who receives there (default the wallet) |
to_token | string | Optional: the token's address there, or "native" (default native) |
build_perps_deposit Build a perps deposit
Deposits ETH or USDG from Robinhood Chain into the wallet's own Hyperliquid account, where it arrives as USDC in seconds to minutes, through Relay, for perpetual futures on crypto and stocks at scrooge.exchange/perps.
| Parameter | Type | Description |
|---|---|---|
amount * | string | How much, as a decimal number such as 0.5 |
wallet * | string | The address that will sign and send the transactions |
token | string | What is deposited (default ETH) |
get_perps_account A perps account
A wallet's Hyperliquid account: its value, what can be withdrawn, and every open position with its size, entry, value, unrealized PnL, leverage and liquidation price.
| Parameter | Type | Description |
|---|---|---|
wallet * | string | The wallet |