Deposits

What a wallet holds

Changed on

Before paying from a wallet: what address holds of every coin taken here, on every network of its kind that is switched on (or only network), its gas coin there, and what a transfer of each coin costs (fee, in the gas coin, with room to spare; on Solana also the rent of a receiving token account that is not there yet, and the wallet’s own reserve). A transfer of more than amount, or without fee in the gas coin, would fail. chainSymbol is the contract’s own symbol, the one a wallet lists the coin under (EIP-747). Public chain data read for the address given, from public nodes; nothing is stored. A network whose node did not answer has ok: false. Answers are kept 20 s (fresh: true reads again after 5 s); 20 asks a minute per account.

post/api/v1/deposits/balances

Request

  • Base URL: https://spoofy.social
  • URL: https://spoofy.social/api/v1/deposits/balances
  • Auth: one of:
    • HTTP bearer
    • API key in cookie better-auth.session_token

Request body

addressstring required

The wallet: 0x… (EVM) or a Solana address.

networkstring

Only this network, e.g. robinhood.

freshboolean

Read again (when the last read is over 5 s old).

Response

The wallet’s coins and gas coin on each network.

addressstring
family'evm' | 'solana'

Changes