Tell what happened in one transaction from its hash - whether it went through, who sent it and to which contract, how much of the chain's coin and of each token moved between whom with USD values, the fee paid, and the label of every address involved - on Ethereum, BSC, Base and HyperEVM. Use when the user pastes a transaction hash or asks "what happened in this transaction" / "did my transaction go through" / "who received the tokens in 0x..." / "what did this swap move" / "which exchange di...
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of vike-transaction-lookup?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/vike-io-vike-transaction-lookup)
---
name: vike-transaction-lookup
description: Tell what happened in one transaction from its hash - whether it went through, who sent it and to which contract, how much of the chain's coin and of each token moved between whom with USD values, the fee paid, and the label of every address involved - on Ethereum, BSC, Base and HyperEVM. Use when the user pastes a transaction hash or asks "what happened in this transaction" / "did my transaction go through" / "who received the tokens in 0x..." / "what did this swap move" / "which exchange did this transfer go to".
allowed-tools: Bash(vike-data:*)
---
# vike-transaction-lookup
One transaction, read from the chain at request time, with our labels on every address. 1 request per call. A hash looks the same on every EVM chain: ask the chain it was sent on.
## Example questions
- "What happened in tx 0x1ada4e16...f6ea?"
- "Did my transaction 0x... on Base go through, and what did it cost?"
- "Who got the tokens in this transfer, and is the receiver an exchange?"
## Call it
Use the first of these that is available:
1. **MCP:** the `transaction_lookup` tool with `tx_hash` (0x + 64 hex) and `chain` (`ethereum`, `bsc`, `base`, `hyperevm`; default `ethereum`).
2. **CLI:** there is no command of its own; `call` prints the tool's raw JSON:
```bash
vike-data call transaction_lookup --args '{"tx_hash":"0x1ada4e165693f671ba5aba8dd93ba4e2d74759d8595a1158eb44973dcafdf6ea","chain":"ethereum"}'
```
3. **curl:** the credential is `VIKE_API_KEY`, else `api_key` or `anon_token` from `~/.vike/config.json` (Windows `%USERPROFILE%\.vike\config.json`); with none, get a free anonymous token with `curl -s -X POST https://data.vike.io/v1/anon -H 'Content-Type: application/json' -d '{"source":"skill-curl"}'` and save its `token` there as `"anon_token"` (see `vike-core`).
```bash
curl -s "https://data.vike.io/v1/onchain/transactions/$TX?chain=base" -H "X-API-KEY: $TOKEN"
```
## Reading the answer
- `found`: `false` = no transaction with this hash on THAT chain (the answer's `note` says so). Try the other three chains before saying it does not exist.
- `status`: `success`, `failed` (it reverted: nothing moved, only the fee was paid), `pending` (not in a block yet), `unknown` (Ethereum before October 2017, no status recorded).
- `from` / `to`: each `{address, label, wallet_type, label_confidence}`; `label` is the entity name, `null` = unlabelled. `to` is the address the sender called: for a swap or a token send it is the router or the token contract, not the receiver.
- `value`: the chain's coin sent at the top level (`amount` in whole coins, `amount_wei` exact, `symbol`, `amount_usd`).
- `fee`: `gas_used`, `gas_price_wei`, `amount` (whole coins), `amount_wei`, `symbol`.
- `token_transfers[]`: every ERC-20 transfer in log order (`log_index`), each with `token_address`, `symbol`, `decimals`, labelled `from` and `to`, `amount` (whole tokens; `null` when decimals are unknown), `amount_raw` exact, `amount_usd`. This is where the money moved: read it, not `to`.
- `usd_basis` on each USD figure: `transfer_time` (the price at the transaction's minute), `latest_daily_price` (only for a transaction of the last 24 hours not priced yet), `null` (no price).
- Labels are the chain's consensus entity with a confidence, not a certainty (`vike-wallet-who-is` to dig further).
## Answer template
> `<hash>` on `<chain>`, `<status>` at `<time>` (block `<block>`). `<from label or address>` called `<to label or address>`, fee `<fee.amount> <symbol>`. Moved: `<amount> <symbol>` (`$<amount_usd>`) from `<from>` to `<to>`; ... `<Nothing moved: it failed.>`
## Limits
- NFT transfers and coin moved by a contract call (internal transfers) are not listed: a contract paying out ETH/BNB/HYPE shows only its token transfers.
- One hash per call; no search by address or time here (that is `vike-data wallet transactions`, `vike-wallet-transactions`).
- Chains: `ethereum`, `bsc`, `base`, `hyperevm` only.
## Errors
- `{"error":"tx_hash must be 0x followed by 64 hex characters"}`, exit 1: the hash is cut or has a typo (an address is 40 hex, a hash 64). Ask for the full hash.
- `found: false` on every chain: a hash from another network (Arbitrum, Polygon, Solana), or a typo. Say which chains were checked.
- Exit code 3: the anonymous token's limit; tell the user to run `vike-data login` (400 a day), do not retry.
## See also
- `vike-wallet-check` for one call on an address the transaction touched, `vike-wallet-who-is` for a full identity read
- `vike-wallet-transactions` for every transfer of one wallet, `vike-follow-the-money` to trace where the money went next