vike-predictfun-flows
Where a Predict.fun wallet's money came from and where it went - its USDT deposits and withdrawals on BNB Chain, newest first, each with the counterparty address and our label for it (such as cex/binance or cex/kraken), and whole-history totals since 2025-11-21 - deposited, withdrawn, net, the number of each, and the first deposit with its sender, the wallet's first funder. Use when the user asks "who funded this Predict.fun wallet" / "did this Predict.fun trader cash out" / "how much has 0x... put into Predict.fun" / "which exchange does this Predict.fun wallet use".
Latest: v1.0.0
First version.
vike-predictfun-flows
Money in and out of one Predict.fun wallet, not its trading. Its positions and P&L are vike-predictfun-trader; candidates come from vike-predictfun-leaderboard.
Call it
Use the first of these that is available:
- MCP: the
predictfun_wallet_flowstool withaddress, and the optionallimit,cursor. - CLI:
bash W=0xb33ba45fbd40429a0e04b0e4e96b1d889e87368a vike-data predictfun wallet-flows $W --limit 100 --json vike-data pf wallet-flows $W --cursor "<next_cursor>" --limit 100 --json # the next, older page - curl: the credential is
VIKE_API_KEY, elseapi_keyoranon_tokenfrom~/.vike/config.json(Windows%USERPROFILE%\.vike\config.json); with none, get a free anonymous token withcurl -s -X POST https://data.vike.io/v1/anon -H 'Content-Type: application/json' -d '{"source":"skill-curl"}'and save itstokenthere as"anon_token"(seevike-core).bash curl -s "https://data.vike.io/v1/predictfun/wallets/$W/flows?limit=100" -H "X-API-KEY: $TOKEN"
address is 0x + 40 hex digits. --limit default 100, at most 10,000. Page while next_cursor is not null; a page boundary neither repeats nor skips a transfer.
Output
{flows, totals, next_cursor, as_of_ts}:
flows, newest first:ts(epoch ms),block_number,tx_hash,log_index,direction(in= deposit,out= withdrawal),counterparty,counterparty_label(nullwhen we have none),amount_usd.totals, over the WHOLE history whatever the page:deposited_usd,withdrawn_usd,net_usd(deposited - withdrawn),deposits,withdrawals,first_deposit_ts,first_deposit_usd,first_funder,first_funder_label.as_of_ts: how far the transfers are read (epoch ms).
Reading
- First funder is the sender of the first deposit. Checked 2026-12-02 on the top 30-day earner:
first_funder_labelcex/kraken, a first deposit of $997.70, 10 deposits for $1.70 million in all, the latest ones from the same Kraken address, and nothing withdrawn. - It is the wallet's whole USDT traffic outside Predict.fun's own contracts (trading, splits, merges and redemptions are left out). A wallet that also uses an exchange, a lending pool or other apps shows that activity too, so
deposited_usdis not always money put into Predict.fun. net_usdabove zero means more came in than went out. Set it against the wallet's P&L (vike-data predictfun wallet <address>,totals.pnl) to see whether it is cashing out its winnings or adding money.- Dust under one cent and per-transaction fees are left out. USD is BSC USDT; history starts 2025-11-21.
counterpartyis a plain BNB Chain address:vike-wallet-who-iscan tell who it is;vike-follow-the-moneytraces it further.
Errors
- A malformed address is an error (exit 1; REST 400). A valid address with no flows is an empty page with zero totals, not an error.
- "... is not built yet; try again later" (REST 503): the dataset is being rebuilt; retry later, don't report "no flows".
- REST: errors are
{"detail": "..."}(Polymarket routes answer{"error": ...}), and an unknown parameter is a 400, not ignored. - Exit code 3: the anonymous token's daily limit; tell the user to run
vike-data login, do not retry.
Anti-patterns
- Don't call an exchange-funded wallet "the exchange's": a label on the counterparty says where the money came from, not who owns the wallet.
- Don't read
withdrawn_usdas profit taken: it can be a transfer to the same owner's other wallet.
Pairs well with
vike-predictfun-trader- positions, P&L and fills of the same walletvike-predictfun-leaderboard- find the wallets worth checkingvike-wallet-who-is,vike-follow-the-money- the counterparties, on BNB Chain
