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:
- MCP: the
transaction_lookuptool withtx_hash(0x + 64 hex) andchain(ethereum,bsc,base,hyperevm; defaultethereum). - CLI: there is no command of its own;
callprints the tool's raw JSON:vike-data call transaction_lookup --args '{"tx_hash":"0x1ada4e165693f671ba5aba8dd93ba4e2d74759d8595a1158eb44973dcafdf6ea","chain":"ethereum"}' - 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).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'snotesays 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};labelis the entity name,null= unlabelled.tois 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 (amountin whole coins,amount_weiexact,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 withtoken_address,symbol,decimals, labelledfromandto,amount(whole tokens;nullwhen decimals are unknown),amount_rawexact,amount_usd. This is where the money moved: read it, notto.usd_basison 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-isto 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,hyperevmonly.
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: falseon 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-checkfor one call on an address the transaction touched,vike-wallet-who-isfor a full identity readvike-wallet-transactionsfor every transfer of one wallet,vike-follow-the-moneyto trace where the money went next
