Backtest your rules against real blockchain transactions
Backtest your rules against real blockchain transactions to verify they work correctly.
# Test all rules against a transaction (default behavior)# Uses all rule directories: rules/default, rules/custom, and rules/testing (if exists)./blocklight dry-run \ --tx 0x9e5c7835e4fcd9a289820c4e42c623c4ab80bd50896b4e5b27e3c18f79be6341 \ --network ethereum# Test a specific rule against a transaction./blocklight dry-run \ --tx 0xabc123... \ --rule rules/custom/test_rule.yaml \ --network ethereum# Test all rules in a specific directory only./blocklight dry-run \ --tx 0xabc123... \ --rules rules/custom/ \ --network ethereum
Output Shows
Which rules matched and why
References from matched rules (if the rule has references field)
Execution time
Summary statistics
Rule Directories
By default, dry-run uses all available rule directories:
rules/default - Default detection rules
rules/custom - Your custom rules (if directory exists)
rules/testing - Testing rules (if directory exists, only in dry-run)
Important: Rules in rules/testing/ are NEVER loaded in production (when running blocklight start). They are automatically included in dry-run for testing purposes.If you specify --rules or --rule, only that specific directory or file will be used instead of all directories.
Test new rules against known exploits before going live. Verify false positive rates. Use rules/testing/ for safe experimentation.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Blocklight","colors":{"primary":"#2563eb","light":"#3b82f6","dark":"#1d4ed8"},"logo":{"light":"https://mintcdn.com/arcaisec/cuF_eSNBV4O3xn7O/logo/light.svg?fit=max\u0026auto=format\u0026n=cuF_eSNBV4O3xn7O\u0026q=85\u0026s=6aa47a13e053d41224d72231aacd29fd","dark":"https://mintcdn.com/arcaisec/cuF_eSNBV4O3xn7O/logo/dark.svg?fit=max\u0026auto=format\u0026n=cuF_eSNBV4O3xn7O\u0026q=85\u0026s=94309731f2d6aa9509ced036bd7e5946"},"favicon":"/favicon.ico","navbar":{"links":[{"label":"GitHub","href":"https://github.com/blocklightsec/blocklight"}]},"footer":{"socials":{"github":"https://github.com/blocklightsec/blocklight"}},"contextual":{"options":["copy","view","chatgpt","claude"]},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"arcaisec","hasAudioNarration":false,"actualSubdomain":"arcaisec","customDomains":["docs.blocklight.co"],"gitSource":{"type":"github","owner":"blocklightsec","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae94225bd517980fce30baf:success","clientVersion":"0.0.4143","searchFilterCounts":[{"language":"default","tag":"Documentation","count":23},{"language":"default","tag":"API Reference","count":8},{"language":"default","tag":"Endpoints","count":7},{"language":"default","tag":"Rules","count":7},{"language":"default","tag":"CLI Tools","count":4},{"language":"default","tag":"Deployment","count":4},{"language":"default","tag":"Welcome","count":3},{"language":"default","tag":"Features","count":3},{"language":"default","tag":"Production","count":2},{"language":"default","tag":"Overview","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"cli/dryrun","slug":"/cli/dryrun","pageMetadata":{"title":"Dry-Run Testing","description":"Backtest your rules against real blockchain transactions","href":"/cli/dryrun"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Backtest your rules against real blockchain transactions\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Backtest your rules against real blockchain transactions to verify they work correctly.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`17`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`17`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Test all rules against a transaction (default behavior)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Uses all rule directories: rules/default, rules/custom, and rules/testing (if exists)`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`./blocklight`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` dry-run`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --tx`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 0x9e5c7835e4fcd9a289820c4e42c623c4ab80bd50896b4e5b27e3c18f79be6341`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --network`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ethereum`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Test a specific rule against a transaction`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`./blocklight`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` dry-run`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --tx`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 0xabc123...`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --rule`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` rules/custom/test_rule.yaml`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --network`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ethereum`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Test all rules in a specific directory only`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`./blocklight`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` dry-run`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --tx`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 0xabc123...`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --rules`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` rules/custom/`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --network`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ethereum`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`output-shows`,children:`Output Shows`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Which rules matched and why`}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`References`}),` from matched rules (if the rule has `,_jsx(_components.code,{children:`references`}),` field)`]}),`\n`,_jsx(_components.li,{children:`Execution time`}),`\n`,_jsx(_components.li,{children:`Summary statistics`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`rule-directories`,children:`Rule Directories`}),`\n`,_jsxs(_components.p,{children:[`By default, `,_jsx(_components.code,{children:`dry-run`}),` uses `,_jsx(_components.strong,{children:`all available rule directories`}),`:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`rules/default`}),` - Default detection rules`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`rules/custom`}),` - Your custom rules (if directory exists)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`rules/testing`}),` - Testing rules (if directory exists, only in dry-run)`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Important:`}),` Rules in `,_jsx(_components.code,{children:`rules/testing/`}),` are `,_jsx(_components.strong,{children:`NEVER`}),` loaded in production (when running `,_jsx(_components.code,{children:`blocklight start`}),`). They are automatically included in `,_jsx(_components.code,{children:`dry-run`}),` for testing purposes.`]}),`\n`,_jsxs(_components.p,{children:[`If you specify `,_jsx(_components.code,{children:`--rules`}),` or `,_jsx(_components.code,{children:`--rule`}),`, only that specific directory or file will be used instead of all directories.`]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`Test new rules against known exploits before going live. Verify false positive rates. Use `,_jsx(_components.code,{children:`rules/testing/`}),` for safe experimentation.`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Dry-Run Testing","description":"Backtest your rules against real blockchain transactions","href":"/cli/dryrun"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Output Shows","slug":"output-shows","depth":2,"children":[]},{"title":"Rule Directories","slug":"rule-directories","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"arcaisec","siteName":"Blocklight","title":"Dry-Run Testing - Blocklight","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2025-12-05T21:36:07.640Z","originalFileLocation":"cli/dryrun.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Backtest your rules against real blockchain transactions\">\u003cmeta data-mint-head name=\"application-name\" content=\"Blocklight\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/arcaisec/Q_xYcFQjr-FV3gH3/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/arcaisec/Q_xYcFQjr-FV3gH3/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/arcaisec/Q_xYcFQjr-FV3gH3/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/arcaisec/Q_xYcFQjr-FV3gH3/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/arcaisec/Q_xYcFQjr-FV3gH3/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/arcaisec/Q_xYcFQjr-FV3gH3/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/arcaisec/Q_xYcFQjr-FV3gH3/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/arcaisec/Q_xYcFQjr-FV3gH3/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/arcaisec/Q_xYcFQjr-FV3gH3/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Dry-Run Testing - Blocklight\">\u003cmeta data-mint-head property=\"og:description\" content=\"Backtest your rules against real blockchain transactions\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Blocklight\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.blocklight.co/cli/dryrun\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://arcaisec.mintlify.site/_mintlify/api/og/v2?division=CLI+Tools\u0026amp;title=Dry-Run+Testing\u0026amp;description=Backtest+your+rules+against+real+blockchain+transactions\u0026amp;theme=782349f16cd8f06c83577994\u0026amp;signature=71658de0a04fe0067e9b3f58d40f8295dc019ca1ed35e7f37e84c4cad22dda05\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Dry-Run Testing - Blocklight\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Backtest your rules against real blockchain transactions\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://arcaisec.mintlify.site/_mintlify/api/og/v2?division=CLI+Tools\u0026amp;title=Dry-Run+Testing\u0026amp;description=Backtest+your+rules+against+real+blockchain+transactions\u0026amp;theme=782349f16cd8f06c83577994\u0026amp;signature=71658de0a04fe0067e9b3f58d40f8295dc019ca1ed35e7f37e84c4cad22dda05\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/arcaisec/Q_xYcFQjr-FV3gH3/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Blocklight\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2563eb\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.blocklight.co/cli/dryrun\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/cli/dryrun.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.blocklight.co/#organization\",\"name\":\"Blocklight\",\"url\":\"https://docs.blocklight.co\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/arcaisec/cuF_eSNBV4O3xn7O/logo/light.svg?fit=max\u0026auto=format\u0026n=cuF_eSNBV4O3xn7O\u0026q=85\u0026s=6aa47a13e053d41224d72231aacd29fd\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.blocklight.co#website\",\"name\":\"Blocklight\",\"url\":\"https://docs.blocklight.co\",\"publisher\":{\"@id\":\"https://docs.blocklight.co/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.blocklight.co/cli/dryrun#webpage\",\"url\":\"https://docs.blocklight.co/cli/dryrun\",\"name\":\"Dry-Run Testing\",\"description\":\"Backtest your rules against real blockchain transactions\",\"dateModified\":\"2025-12-05T21:36:07.640Z\",\"isPartOf\":{\"@id\":\"https://docs.blocklight.co#website\"},\"breadcrumb\":{\"@id\":\"https://docs.blocklight.co/cli/dryrun#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.blocklight.co/cli/dryrun#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"CLI Tools\",\"item\":\"https://docs.blocklight.co/cli/validate\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Dry-Run Testing\",\"item\":\"https://docs.blocklight.co/cli/dryrun\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.blocklight.co/cli/dryrun#article\",\"headline\":\"Dry-Run Testing\",\"name\":\"Dry-Run Testing\",\"description\":\"Backtest your rules against real blockchain transactions\",\"url\":\"https://docs.blocklight.co/cli/dryrun\",\"mainEntityOfPage\":{\"@id\":\"https://docs.blocklight.co/cli/dryrun#webpage\"},\"dateModified\":\"2025-12-05T21:36:07.640Z\",\"publisher\":{\"@id\":\"https://docs.blocklight.co/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.blocklight.co#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Blocklight\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Blocklight\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/cli/dryrun.md","siteName":"Blocklight","nav":{"global":null,"tabs":[{"tab":"Documentation","groups":[{"group":"Welcome","pages":[{"title":"What is Blocklight","href":""},{"title":"Architecture","href":"/architecture"},{"title":"Getting Started","href":"/getting-started"}]},{"group":"Rules","pages":[{"title":"Rule Structure","href":"/rules/structure"},{"title":"Transaction Fields","href":"/rules/fields"},{"title":"Operators \u0026 Functions","href":"/rules/operators"},{"title":"Array Methods","href":"/rules/array-methods"},{"title":"Lists \u0026 Macros","href":"/rules/macros"},{"title":"Output Placeholders","href":"/rules/placeholders"},{"title":"Rule Examples","href":"/rules/examples"}]},{"group":"Deployment","pages":[{"title":"Docker Deployment","href":"/deployment/docker"},{"title":"Configuration","href":"/deployment/configuration"},{"title":"Production Deployment","icon":"server","href":"/deployment/production"},{"title":"Pipeline Integration","icon":"diagram-project","href":"/deployment/pipeline-integration"}]},{"group":"CLI Tools","pages":[{"title":"Validate Rules","description":"Check your rules for syntax errors and issues before deploying","href":"/cli/validate"},{"title":"Dry-Run Testing","href":"/cli/dryrun"},{"title":"Config Management","description":"Validate configuration files and diagnose issues","href":"/cli/config"},{"title":"Start Server","href":"/cli/start"}]},{"group":"Features","pages":[{"title":"Multi-Channel Alerts","href":"/features/notifications"},{"title":"Intelligent Caching","href":"/features/caching"},{"title":"Prometheus Monitoring","href":"/features/observability"}]},{"group":"Production","pages":[{"title":"Best Practices","href":"/production/best-practices"},{"title":"Troubleshooting","href":"/production/troubleshooting"}]}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api/overview"}]}]},"basePath":"","title":"Dry-Run Testing - Blocklight","buildId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","deploymentId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","dynamics":[],"chunks":[]}