Scrooge

v2.0.0
exchange.scrooge/scrooge Checked 8 hours ago Published 1 day ago

Swaps, 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.

ParameterTypeDescription
query *stringA 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.

ParameterTypeDescription
token *stringThe 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.

ParameterTypeDescription
amount *stringHow much of token_in to sell, as a decimal number such as 0.5
token_in *stringWhat is sold: a symbol (ETH, USDG, SCROOGE, NVDA…) or a contract address on Robinhood Chain
token_out *stringWhat is bought: a symbol (ETH, USDG, SCROOGE, NVDA…) or a contract address on Robinhood Chain
allow_high_slippagebooleanOptional: allow slippage up to 1000 basis points (10%); leave it off unless a thin market needs it
slippage_bpsnumberOptional: 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)
walletstringOptional: 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.

ParameterTypeDescription
amount *stringHow much of token_in to sell, as a decimal number such as 0.5
token_in *stringWhat is sold: a symbol (ETH, USDG, SCROOGE, NVDA…) or a contract address on Robinhood Chain
token_out *stringWhat is bought: a symbol (ETH, USDG, SCROOGE, NVDA…) or a contract address on Robinhood Chain
wallet *stringThe address that will sign and send the transactions, and receive the output
allow_high_slippagebooleanOptional: allow slippage up to 1000 basis points (10%); leave it off unless a thin market needs it
slippage_bpsnumberOptional: 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.

ParameterTypeDescription
token *stringThe 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.

ParameterTypeDescription
tokenstringOptional: the coin staked (default SCROOGE): a symbol (ETH, USDG, SCROOGE, NVDA…) or a contract address on Robinhood Chain
walletstringOptional: 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.

ParameterTypeDescription
limitnumberOptional: 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.

ParameterTypeDescription
amount *stringHow much to stake, as a decimal number such as 0.5
wallet *stringThe address that will sign and send the transactions
tokenstringOptional: 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.

ParameterTypeDescription
amount *stringHow much to unstake, as a decimal number, or "all"
wallet *stringThe address that will sign and send the transactions
nowbooleanOptional: leave at once for the fee rather than wait
tokenstringOptional: 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.

ParameterTypeDescription
wallet *stringThe address that will sign and send the transactions
nowbooleanOptional: withdraw before the wait ends, for the fee
tokenstringOptional: 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.

ParameterTypeDescription
wallet *stringThe address that will sign and send the transactions
tokenstringOptional: 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…

ParameterTypeDescription
limitnumberOptional: how many of each (default 30)
tokenstringOptional: only this token's offers: a symbol (ETH, USDG, SCROOGE, NVDA…) or a contract address on Robinhood Chain
walletstringOptional: 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.

ParameterTypeDescription
amount *stringHow much of the token to buy, as a decimal number, or "all"
offer *stringThe offer, as list_otc names it: fixed-3 or market-0
wallet *stringThe 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.

ParameterTypeDescription
amount *stringHow much to sell, as a decimal number such as 0.5
price_total *stringThe price for all of it, in `pay`, as a decimal number such as 0.5
token *stringThe token to sell: a symbol (ETH, USDG, SCROOGE, NVDA…) or a contract address on Robinhood Chain
wallet *stringThe address that will sign and send the transactions
ends_in_hoursnumberOptional: hours until the offer ends (default never)
lock_daysnumberOptional: days what is bought stays locked for the buyer (default 0)
min_buy_pctnumberOptional: the least share of the offer one purchase must take, 0 to 100 (default 0, any amount)
only_buyerstringOptional: the only wallet that may buy
paystringWhat 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).

ParameterTypeDescription
amount *stringHow much of it, as a decimal number such as 0.5
pay_total *stringWhat it pays for all of it, in `pay`, as a decimal number such as 0.5
token *stringThe token wanted: a symbol (ETH, USDG, SCROOGE, NVDA…) or a contract address on Robinhood Chain
wallet *stringThe address that will sign and send the transactions
ends_in_hoursnumberOptional: hours until it ends (default never)
min_sell_pctnumberOptional: the least share one sale must bring, 0 to 100 (default 0)
only_sellerstringOptional: the only wallet that may sell
paystringWhat 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.

ParameterTypeDescription
amount *stringHow much to sell, as a decimal number, or "all"
offer *stringThe buy offer, as list_otc names it: bid-2
wallet *stringThe 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.

ParameterTypeDescription
offer *stringThe offer, as list_otc names it
wallet *stringThe 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.

ParameterTypeDescription
wallet *stringThe 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.

ParameterTypeDescription
amount *stringHow much USDG, as a decimal number such as 0.5
vault *stringThe vault's address or name, as list_earn_vaults gives it
wallet *stringThe 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.

ParameterTypeDescription
vault *stringThe vault's address or name
wallet *stringThe address that will sign and send the transactions
amountstringOptional: 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.

ParameterTypeDescription
amount *stringRecurring: how much each run. Split: how much in all, as a decimal number such as 0.5
token_in *stringWhat is sold each run: a symbol (ETH, USDG, SCROOGE, NVDA…) or a contract address on Robinhood Chain
token_out *stringWhat is bought: a symbol (ETH, USDG, SCROOGE, NVDA…) or a contract address on Robinhood Chain
wallet *stringThe address that will sign and send the transactions
everystringRecurring: how often
kindstringOptional: recurring (default) or split
min_out_per_runstringOptional: the least of token_out each run must pay, or the run waits, as a decimal number such as 0.5
overstringSplit: how long it is spread over
runsnumberRecurring: 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.

ParameterTypeDescription
wallet *stringThe 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.

ParameterTypeDescription
id *numberThe schedule's id
wallet *stringThe 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.

ParameterTypeDescription
buy_amount *stringThe least bought for all of it, as a decimal number such as 0.5
buy_token *stringWhat is bought: a symbol (ETH, USDG, SCROOGE, NVDA…) or a contract address on Robinhood Chain
sell_amount *stringHow much is sold, as a decimal number such as 0.5
sell_token *stringWhat is sold: a symbol (ETH, USDG, SCROOGE, NVDA…) or a contract address on Robinhood Chain
wallet *stringThe wallet that makes the order and signs it
expires_in_hoursnumberOptional: 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.

ParameterTypeDescription
extension *stringThe extension build_limit_order returned
order *objectThe order object build_limit_order returned, unchanged
signature *stringThe 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.

ParameterTypeDescription
wallet *stringThe 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.

ParameterTypeDescription
order_hash *stringThe order's hash
wallet *stringThe 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%.

ParameterTypeDescription
amount *stringHow much, as a decimal number such as 0.5
to *stringThe wallet that receives, on Robinhood Chain
wallet *stringThe wallet that pays
tokenstringWhat 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.

ParameterTypeDescription
amount *stringHow much, as a decimal number such as 0.5
to_chain *stringThe chain it goes to, by name (Base, Ethereum, Arbitrum…) or id
token *stringWhat is sent from Robinhood Chain: a symbol (ETH, USDG, SCROOGE, NVDA…) or a contract address on Robinhood Chain
wallet *stringThe address that will sign and send the transactions
slippage_bpsnumberOptional: in basis points (default 50, at most 300)
to_addressstringOptional: who receives there (default the wallet)
to_tokenstringOptional: 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.

ParameterTypeDescription
amount *stringHow much, as a decimal number such as 0.5
wallet *stringThe address that will sign and send the transactions
tokenstringWhat 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.

ParameterTypeDescription
wallet *stringThe wallet