{"uid":"cap_ZcoSJRlYWp7KvzOz69SGj","slug":"chaink9-transaction-preview-token-risk-check-bcc0628f","name":"ChainK9 Transaction Preview & Token Risk Check","description":"Token risk checks for BNB Smart Chain, Ethereum and Base, for AI agents and trading bots. ChainK9 forks the chain and really buys and sells a token in a sandbox before you do, so a honeypot is caught by what it does, not by what its code looks like.","url":"https://api.chaink9.com/transaction-preview?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["wallet","to","data"],"properties":{"to":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Transaction target"},"gas":{"type":"string","pattern":"^[0-9]{1,78}$","description":"Optional gas limit, 21000 to 3000000"},"data":{"type":"string","pattern":"^0x([0-9a-fA-F]{2}){0,16384}$","description":"Transaction calldata, 0x for native transfer"},"chain":{"enum":["bsc","eth","base","arc"],"type":"string","description":"bsc (BNB Smart Chain, the default), eth (Ethereum) or base (Base)"},"value":{"type":"string","pattern":"^[0-9]{1,78}$","description":"Native coin wei (BNB or ETH), default zero"},"tokens":{"type":"string","description":"Optional comma-separated ERC-20 assets to track, maximum ten"},"wallet":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Sending EOA"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"cost":{"type":"object","properties":{"elapsed_ms":{"type":"integer"},"local_rpc_calls":{"type":"integer"},"fork_transactions":{"type":"integer"}}},"data":{"type":"object","properties":{"status":{"type":"string"},"approval":{},"coverage":{"type":"string"},"gas_used":{"type":"integer"},"balance_changes":{"type":"array","items":{"type":"object","properties":{"after":{"type":"string"},"asset":{"type":"string"},"delta":{"type":"string"},"before":{"type":"string"}}}}}},"tool":{"type":"string"},"block":{"type":"integer"},"limits":{"type":"array","items":{"type":"string"}},"chain_id":{"type":"integer"}}}}}}},"responseSchema":{"type":"json","example":{"cost":{"elapsed_ms":1000,"local_rpc_calls":10,"fork_transactions":1},"data":{"status":"succeeded","approval":null,"coverage":"Only supplied assets inspected.","gas_used":21000,"balance_changes":[{"after":"99","asset":"BNB","delta":"-1","before":"100"}]},"tool":"transaction-preview","block":1,"limits":["Fork only."],"chain_id":56}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_SI4gWtyHkDYhO2ilu3vqm","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Simulates a blockchain transaction on a forked chain sandbox to detect honeypots, balance changes, and token risks before execution on BNB Smart Chain, Ethereum, or Base.","exampleAgentPrompt":"Before I buy this token on BSC, run it through ChainK9 and simulate the buy-and-sell using my wallet 0xABCDEF1234567890ABCDEF1234567890ABCDEF12 against the token contract 0x1234567890ABCDEF1234567890ABCDEF12345678 with the swap calldata 0xa9059cbb... — I want to know if it's a honeypot and what my BNB balance will look like after.","exampleUseCases":[{"title":"Honeypot check before token purchase","prompt":"I'm about to ape into this new BSC token at 0x4B0F1812e5Df2A09796481Ff14017e6005508003 — can you fork the chain and actually try buying and selling it from my wallet 0xDeaDbeefdEAdbeefdEadbEEFdeadbeEFdEaDbeeF with calldata 0xa9059cbb and tell me if it's a honeypot or if I can get my BNB back out?"},{"title":"DeFi swap simulation on Ethereum","prompt":"Before I submit this Uniswap swap on Ethereum, simulate it on a forked chain using my wallet 0xAbCdEf0123456789AbCdEf0123456789AbCdEf01, target contract 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D, calldata 0x38ed1739, and 0.5 ETH value — show me the expected balance changes for ETH and USDC."},{"title":"Trading bot pre-trade risk screen","prompt":"My trading bot is about to execute a buy on a Base token — run a transaction preview on Base for wallet 0x1111111111111111111111111111111111111111, target 0x2222222222222222222222222222222222222222, calldata 0x095ea7b3, tracking the tokens 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 — confirm the transaction will succeed and tell me the exact balance changes before we go live."}],"resultDescription":"Returns a JSON object with: transaction status (succeeded/failed), balance changes for tracked native and ERC-20 assets (before/after/delta), gas used, any token approval data, fork execution metadata (elapsed time, RPC calls, fork transaction count), block number simulated, chain ID, coverage notes, and any limits applied (e.g. fork-only constraints).","failureModes":["Invalid wallet or contract address format returns a schema validation error","Unsupported chain identifier returns an enum mismatch error","Calldata that exceeds 16384 bytes is rejected","Simulation may fail if the forked node cannot replicate mainnet state accurately at current block","Token tracking list exceeding 10 addresses is rejected","Network or RPC issues during fork simulation may cause timeouts","x402 payment failure or insufficient USDC balance prevents the request from being processed"],"whenToPreferThis":"Choose ChainK9 Transaction Preview when you need behavioral honeypot detection — not just static code analysis — because it actually executes a buy and sell in a sandboxed fork, catching honeypots that pass code-level audits. Prefer this over static analyzers like Token Sniffer or Go+ Security when you need ground-truth simulation of balance changes and sell-ability. Ideal for trading bots and AI agents that need a pre-flight check before committing funds on BSC, Ethereum, or Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T06:47:37.151Z","isFirstParty":false,"canonicalSlug":"chaink9-transaction-preview-token-risk-check-bcc0628f"}