Wallets API

A wallet's first balance change

The first transaction that ever changed a Solana wallet's balance -- when, in which token and by how much -- optionally narrowed to one token such as native SOL. Not who sent it.

GET/api/external/wallet-analysis/wallet-first-funded/{chain}/{address}

What it returns

The first transaction that changed a wallet's balance: when (slot and time), in which token and by how much. Without token that is the first change in ANY token — often a token rather than SOL; pass token=So11111111111111111111111111111111111111111 for the first native-SOL change. It does not name who sent the funds; for the funder see wallet-funding.

Chains

  • Solana SOL

Request

Send your key in the x-dex-data-key header. Replace each <placeholder> with a real value.

curl -H "x-dex-data-key: $DEXDATA_API_KEY" \
  "https://api.dexdata.io/api/external/wallet-analysis/wallet-first-funded/SOL/<address>"
Parameters
ParameterDescription
token

query · string · optional

A token mint to narrow the answer to: the first change of the wallet's balance in that token. Omitted: the first change in any token.
chain

path · string · required

The chain the wallet address belongs to. SOL; every other chain returns 400.
address

path · string · required

The wallet address.

Response fields

A JSON response. Every field is always present; null means the value could not be established, never zero.

Response fields of A wallet's first balance change
FieldTypeDescription
addressstringThe wallet asked about, as given.
tokenstring | nullThe token filter asked for; null when any token counts.
firstChangeobject | nullThe earliest transaction that changed this wallet's balance (in token, when one was asked for); null when none is on file — a wallet never used, or one that never held that token.
firstChange.transactionHashstringThe transaction signature, exactly as spelled.
firstChange.blockNumberintegerThe slot the transaction landed in.
firstChange.timestampintegerThe block time, Unix seconds.
firstChange.tokenstringThe token whose balance changed. Native SOL is So11111111111111111111111111111111111111111; wrapped SOL is a separate token.
firstChange.amountstringThe signed change in the token's raw units, as a decimal string (it can exceed 2^53); divide by 10^decimals for whole tokens.
firstChange.decimalsintegerThe token's decimals.

Start building with DexData today

Sign in, create a key and make your first call in a minute. Free credits every month, and you only pay for calls that succeed.

Get a free API key