Evaluate Solidity expressions in a transaction’s execution trace, inspecting state variables, mappings, dynamic arrays, and function results in Debugger.
Evaluate Expression is a tool in Debugger that allows you to evaluate expressions in the execution trace. You can assess complex expressions in smart contracts, including dynamic arrays, mappings, state variables, functions, and both global and local variables. Learn more about how Evaluate works.To access the Evaluate feature, click on any transaction, then go to the Debugger, and click on the Evaluate button.The Evaluate feature currently supports Solidity contracts. Choose any expression you want to evaluate, paste it into the box and hit the Evaluate button:This works for both simple and complex expressions:Learn more about other Debugger features and searching the call trace.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Tenderly","description":"Tenderly developer documentation — Virtual Environments, Node RPC, Simulation API, Debugger, Monitor, Alerts, Web3 Actions, and more.","colors":{"primary":"#7857FF","light":"#9B83FF","dark":"#7857FF"},"logo":{"light":"https://mintcdn.com/tenderly/OpA99rKrR1G10AGk/logo/tenderly-logo-light-background.svg?fit=max\u0026auto=format\u0026n=OpA99rKrR1G10AGk\u0026q=85\u0026s=8655a53ac5f0fdc1af7c82f4e2e270ef","dark":"https://mintcdn.com/tenderly/OpA99rKrR1G10AGk/logo/tenderly-logo-dark-background.svg?fit=max\u0026auto=format\u0026n=OpA99rKrR1G10AGk\u0026q=85\u0026s=17e892ea6a8bbd3f67e2055373d36609","href":"/introduction"},"favicon":"https://mintcdn.com/tenderly/nRyi0uSIGTr6AMxX/favicon.ico?fit=max\u0026auto=format\u0026n=nRyi0uSIGTr6AMxX\u0026q=85\u0026s=6a58780606747ae9bd8a65444d16422d","api":{"playground":{"display":"interactive","proxy":false},"examples":{"defaults":"required","languages":["curl","javascript","python","go"]}},"appearance":{"default":"dark"},"navbar":{"links":[{"href":"https://blog.tenderly.co","label":"Blog"},{"href":"mailto:support@tenderly.co","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://dashboard.tenderly.co"}},"footer":{"socials":{"x":"https://x.com/TenderlyApp","github":"https://github.com/Tenderly","linkedin":"https://www.linkedin.com/company/tenderly-co"}},"search":{"prompt":"Search the Tenderly docs..."},"styling":{"codeblocks":{"theme":{"light":"catppuccin-latte","dark":"catppuccin-mocha"}},"latex":true},"contextual":{"options":["copy","view","assistant","claude","chatgpt","perplexity","cursor","vscode","mcp",{"title":"Add to Claude Code","description":"Connect the Tenderly MCP server to Claude Code","icon":"terminal","href":"https://docs.tenderly.co/ai-tools/quickstart"}],"display":"header"},"navigation":{"languages":[{"language":"en","href":"introduction"},{"language":"ru","href":"ru/introduction"},{"language":"zh","href":"zh/introduction"},{"language":"hi","href":"hi/introduction"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"tenderly","hasAudioNarration":false,"actualSubdomain":"tenderly","customDomains":["docs.tenderly.co"],"gitSource":{"type":"github","owner":"tenderly","repo":"tenderly-mintlify","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ad8a23c182ff03fed6c7814","collectionId":"783aa2e3-7a6e-40cf-8aa6-2bb1545d62fa","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ad8a23c182ff03fed6c7814"},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"}},"buildId":"6ad8a23c182ff03fed6c7814","clientVersion":"0.0.3918","searchFilterCounts":[{"language":"en","tag":"Documentation","count":171},{"language":"hi","tag":"Documentation","count":163},{"language":"ru","tag":"Documentation","count":163},{"language":"zh","tag":"Documentation","count":163},{"language":"en","tag":"Simulator","count":73},{"language":"hi","tag":"Simulator","count":73},{"language":"ru","tag":"Simulator","count":73},{"language":"zh","tag":"Simulator","count":73},{"language":"default","tag":"API Reference","count":52},{"language":"en","tag":"Virtual Environments","count":41},{"language":"hi","tag":"Virtual Environments","count":41},{"language":"ru","tag":"Virtual Environments","count":41},{"language":"zh","tag":"Virtual Environments","count":41},{"language":"en","tag":"Monitor","count":30},{"language":"hi","tag":"Monitor","count":30},{"language":"ru","tag":"Monitor","count":30},{"language":"zh","tag":"Monitor","count":30},{"language":"en","tag":"Console","count":27},{"language":"en","tag":"How-to guides","count":27},{"language":"hi","tag":"Console","count":27},{"language":"hi","tag":"How-to guides","count":27},{"language":"ru","tag":"Console","count":27},{"language":"ru","tag":"How-to guides","count":27},{"language":"zh","tag":"Console","count":27},{"language":"zh","tag":"How-to guides","count":27},{"language":"en","tag":"Troubleshooting","count":22},{"language":"hi","tag":"Troubleshooting","count":22},{"language":"ru","tag":"Troubleshooting","count":22},{"language":"zh","tag":"Troubleshooting","count":22},{"language":"en","tag":"Web3 Actions","count":21},{"language":"en","tag":"Node RPC","count":21},{"language":"hi","tag":"Web3 Actions","count":21},{"language":"ru","tag":"Web3 Actions","count":21},{"language":"zh","tag":"Web3 Actions","count":21},{"language":"hi","tag":"Node RPC","count":20},{"language":"ru","tag":"Node RPC","count":20},{"language":"zh","tag":"Node RPC","count":20},{"language":"en","tag":"Simulation API","count":15},{"language":"hi","tag":"Simulation API","count":15},{"language":"ru","tag":"Simulation API","count":15},{"language":"zh","tag":"Simulation API","count":15},{"language":"default","tag":"Actions","count":10},{"language":"default","tag":"Simulator","count":9},{"language":"default","tag":"Virtual Environments","count":9},{"language":"default","tag":"Contracts","count":7},{"language":"default","tag":"Alerts","count":6},{"language":"default","tag":"Projects","count":5},{"language":"default","tag":"Wallets","count":3},{"language":"default","tag":"Delivery Channels","count":2},{"language":"default","tag":"Other","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":true,"enableContextualStarterQuestions":true,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"email":"support@tenderly.co","showHelpButton":true}},"hasChatPermissions":true,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","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":"editor-v7-file-tree","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":"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":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","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":"per-site-search-delta","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":"editor-branches-v2-autocommit","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-branches-v2","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":"editor-private-page-search","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":"teamspace","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":"editor-nav-generations","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":"vite-origin","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":"byok-sep-25","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":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"client-snapshot-docs-config","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}],"privacy":{"consentBanner":{"enabled":true}},"isAtlas":false,"googleFontsInlined":false},"customCss":[{"filePath":"custom.css","content":"html.dark .shiki,html.dark .shiki span{color:var(--shiki-dark)!important;background-color:var(--shiki-dark-bg)!important;font-style:var(--shiki-dark-font-style)!important;font-weight:var(--shiki-dark-font-weight)!important;text-decoration:var(--shiki-dark-text-decoration)!important}html.dark .card .primary-text,html.dark .card .prose>div>h2,html.dark .card .prose>div>h3{color:#9b83ff}.card .prose>div>h2,.card .prose>div>h3{color:#7857ff}.card:has(.prose>div>h2) [data-component-part=card-content-container]{padding:1rem 1.25rem}html.dark .card:hover{border-color:#9b83ff!important;box-shadow:0 0 0 1px rgba(155,131,255,.25)}html:not(.dark) .card:hover{border-color:#7857ff!important;box-shadow:0 0 0 1px rgba(120,87,255,.18)}"}],"page":{"pagePath":"debugger/evaluate-expression","slug":"/debugger/evaluate-expression","pageMetadata":{"title":"Evaluate Expressions with Advanced Debugger","description":"Evaluate Solidity expressions in a transaction's execution trace, inspecting state variables, mappings, dynamic arrays, and function results in Debugger.","href":"/debugger/evaluate-expression"},"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: \"Evaluate Solidity expressions in a transaction’s execution trace, inspecting state variables, mappings, dynamic arrays, and function results in Debugger.\"\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={a:`a`,p:`p`,strong:`strong`,..._provideComponents(),...props.components},{OptimizedImage}=_components;if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Evaluate Expression is a tool in `,_jsx(_components.a,{href:`/debugger/overview`,children:`Debugger`}),` that allows you to evaluate expressions in the execution trace. You can assess complex expressions in smart contracts, including dynamic arrays, mappings, state variables, functions, and both global and local variables. Learn more about `,_jsx(_components.a,{href:`https://blog.tenderly.co/how-use-evaluate-expression-speed-debugging`,children:`how Evaluate works`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`To access the Evaluate feature, click on any transaction, then go to the `,_jsx(_components.strong,{children:`Debugger`}),`, and click on the `,_jsx(_components.strong,{children:`Evaluate`}),` button.`]}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/tenderly/Aq90dolhrsdO4Ket/images/Screenshot%202022-04-14%20at%2012.33.34.webp?fit=max\u0026auto=format\u0026n=Aq90dolhrsdO4Ket\u0026q=85\u0026s=8350d0aff6363add67134d497958e485`,alt:``,\"data-og-width\":`1600`,width:`1600`,\"data-og-height\":`1000`,height:`1000`,\"data-path\":`images/Screenshot 2022-04-14 at 12.33.34.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/tenderly/Aq90dolhrsdO4Ket/images/Screenshot%202022-04-14%20at%2012.33.34.webp?w=280\u0026fit=max\u0026auto=format\u0026n=Aq90dolhrsdO4Ket\u0026q=85\u0026s=aa88c2ea022feb46d853467b335941ce 280w, https://mintcdn.com/tenderly/Aq90dolhrsdO4Ket/images/Screenshot%202022-04-14%20at%2012.33.34.webp?w=560\u0026fit=max\u0026auto=format\u0026n=Aq90dolhrsdO4Ket\u0026q=85\u0026s=53b82ece8a028e2eb2445ba5ca1b03bc 560w, https://mintcdn.com/tenderly/Aq90dolhrsdO4Ket/images/Screenshot%202022-04-14%20at%2012.33.34.webp?w=840\u0026fit=max\u0026auto=format\u0026n=Aq90dolhrsdO4Ket\u0026q=85\u0026s=d8e95824b7f798a17286e6b687c3ff2e 840w, https://mintcdn.com/tenderly/Aq90dolhrsdO4Ket/images/Screenshot%202022-04-14%20at%2012.33.34.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=Aq90dolhrsdO4Ket\u0026q=85\u0026s=7f2a18d1e343be06b0cef0f38905c8d7 1100w, https://mintcdn.com/tenderly/Aq90dolhrsdO4Ket/images/Screenshot%202022-04-14%20at%2012.33.34.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=Aq90dolhrsdO4Ket\u0026q=85\u0026s=1b7707913b4b094e812b527b1102c840 1650w, https://mintcdn.com/tenderly/Aq90dolhrsdO4Ket/images/Screenshot%202022-04-14%20at%2012.33.34.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=Aq90dolhrsdO4Ket\u0026q=85\u0026s=eed0182751877939f3d216c77f2ae7e8 2500w`}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/tenderly/Aq90dolhrsdO4Ket/images/Screenshot%202022-04-14%20at%2012.34.54.webp?fit=max\u0026auto=format\u0026n=Aq90dolhrsdO4Ket\u0026q=85\u0026s=36a5da87c2445a3467b89b7beadfdd46`,alt:``,\"data-og-width\":`1600`,width:`1600`,\"data-og-height\":`1000`,height:`1000`,\"data-path\":`images/Screenshot 2022-04-14 at 12.34.54.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/tenderly/Aq90dolhrsdO4Ket/images/Screenshot%202022-04-14%20at%2012.34.54.webp?w=280\u0026fit=max\u0026auto=format\u0026n=Aq90dolhrsdO4Ket\u0026q=85\u0026s=44f91559ed81edaaac6db0b1b0772474 280w, https://mintcdn.com/tenderly/Aq90dolhrsdO4Ket/images/Screenshot%202022-04-14%20at%2012.34.54.webp?w=560\u0026fit=max\u0026auto=format\u0026n=Aq90dolhrsdO4Ket\u0026q=85\u0026s=689b0927e1ade78657a5e055ceffbe73 560w, https://mintcdn.com/tenderly/Aq90dolhrsdO4Ket/images/Screenshot%202022-04-14%20at%2012.34.54.webp?w=840\u0026fit=max\u0026auto=format\u0026n=Aq90dolhrsdO4Ket\u0026q=85\u0026s=273a29b68e13d5fba651f3fdb66ad3f3 840w, https://mintcdn.com/tenderly/Aq90dolhrsdO4Ket/images/Screenshot%202022-04-14%20at%2012.34.54.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=Aq90dolhrsdO4Ket\u0026q=85\u0026s=e5c90049e1962cb8d1e313742bee62d8 1100w, https://mintcdn.com/tenderly/Aq90dolhrsdO4Ket/images/Screenshot%202022-04-14%20at%2012.34.54.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=Aq90dolhrsdO4Ket\u0026q=85\u0026s=a99f395b4cf616b06f94db592fde6c3e 1650w, https://mintcdn.com/tenderly/Aq90dolhrsdO4Ket/images/Screenshot%202022-04-14%20at%2012.34.54.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=Aq90dolhrsdO4Ket\u0026q=85\u0026s=551647abd138579a11db3c90e5416e58 2500w`}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/tenderly/Aq90dolhrsdO4Ket/images/Screenshot%202022-04-14%20at%2012.36.18.webp?fit=max\u0026auto=format\u0026n=Aq90dolhrsdO4Ket\u0026q=85\u0026s=631902bcc7be4417e7f3b3cd39c15add`,alt:``,\"data-og-width\":`1600`,width:`1600`,\"data-og-height\":`1000`,height:`1000`,\"data-path\":`images/Screenshot 2022-04-14 at 12.36.18.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/tenderly/Aq90dolhrsdO4Ket/images/Screenshot%202022-04-14%20at%2012.36.18.webp?w=280\u0026fit=max\u0026auto=format\u0026n=Aq90dolhrsdO4Ket\u0026q=85\u0026s=14d7a8f0d89710b9bd7f410c0bcb3408 280w, https://mintcdn.com/tenderly/Aq90dolhrsdO4Ket/images/Screenshot%202022-04-14%20at%2012.36.18.webp?w=560\u0026fit=max\u0026auto=format\u0026n=Aq90dolhrsdO4Ket\u0026q=85\u0026s=4441fe9ee633553ed84bc17bb04296d6 560w, https://mintcdn.com/tenderly/Aq90dolhrsdO4Ket/images/Screenshot%202022-04-14%20at%2012.36.18.webp?w=840\u0026fit=max\u0026auto=format\u0026n=Aq90dolhrsdO4Ket\u0026q=85\u0026s=913545d3e84f8c9dd9a965c195fe134b 840w, https://mintcdn.com/tenderly/Aq90dolhrsdO4Ket/images/Screenshot%202022-04-14%20at%2012.36.18.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=Aq90dolhrsdO4Ket\u0026q=85\u0026s=d8c17c9de1cac919be127368f4e7580f 1100w, https://mintcdn.com/tenderly/Aq90dolhrsdO4Ket/images/Screenshot%202022-04-14%20at%2012.36.18.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=Aq90dolhrsdO4Ket\u0026q=85\u0026s=954adc1a33e7fc27767c70704ba508a0 1650w, https://mintcdn.com/tenderly/Aq90dolhrsdO4Ket/images/Screenshot%202022-04-14%20at%2012.36.18.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=Aq90dolhrsdO4Ket\u0026q=85\u0026s=87492e852de8e629e24f2467365ec156 2500w`}),`\n`,_jsxs(_components.p,{children:[`The Evaluate feature currently supports Solidity contracts. Choose any expression you want to evaluate, paste it into the box and hit the `,_jsx(_components.strong,{children:`Evaluate`}),` button:`]}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/tenderly/Aq90dolhrsdO4Ket/images/Screenshot%202022-04-14%20at%2012.44.01.webp?fit=max\u0026auto=format\u0026n=Aq90dolhrsdO4Ket\u0026q=85\u0026s=ff596b8b7c63c7e2758542c2101a12ff`,alt:``,\"data-og-width\":`1600`,width:`1600`,\"data-og-height\":`1000`,height:`1000`,\"data-path\":`images/Screenshot 2022-04-14 at 12.44.01.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/tenderly/Aq90dolhrsdO4Ket/images/Screenshot%202022-04-14%20at%2012.44.01.webp?w=280\u0026fit=max\u0026auto=format\u0026n=Aq90dolhrsdO4Ket\u0026q=85\u0026s=567fc22ab82a0c9317e8a8ef068f0fb0 280w, https://mintcdn.com/tenderly/Aq90dolhrsdO4Ket/images/Screenshot%202022-04-14%20at%2012.44.01.webp?w=560\u0026fit=max\u0026auto=format\u0026n=Aq90dolhrsdO4Ket\u0026q=85\u0026s=60dae376a10dffbb0e1da5a2e6bd23ce 560w, https://mintcdn.com/tenderly/Aq90dolhrsdO4Ket/images/Screenshot%202022-04-14%20at%2012.44.01.webp?w=840\u0026fit=max\u0026auto=format\u0026n=Aq90dolhrsdO4Ket\u0026q=85\u0026s=56627373b56538b53bf13e4d978c4773 840w, https://mintcdn.com/tenderly/Aq90dolhrsdO4Ket/images/Screenshot%202022-04-14%20at%2012.44.01.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=Aq90dolhrsdO4Ket\u0026q=85\u0026s=8375bc65288716b7351e90b1ac5dbba2 1100w, https://mintcdn.com/tenderly/Aq90dolhrsdO4Ket/images/Screenshot%202022-04-14%20at%2012.44.01.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=Aq90dolhrsdO4Ket\u0026q=85\u0026s=6446d5f98d9e0bc3af31e4cfa6e3a17c 1650w, https://mintcdn.com/tenderly/Aq90dolhrsdO4Ket/images/Screenshot%202022-04-14%20at%2012.44.01.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=Aq90dolhrsdO4Ket\u0026q=85\u0026s=d43da54e995f5eb0d7f4555c81051a93 2500w`}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/tenderly/Aq90dolhrsdO4Ket/images/Screenshot%202022-04-14%20at%2012.44.36.webp?fit=max\u0026auto=format\u0026n=Aq90dolhrsdO4Ket\u0026q=85\u0026s=a979261e1039ea820b80551ed06e94e2`,alt:``,\"data-og-width\":`1600`,width:`1600`,\"data-og-height\":`1000`,height:`1000`,\"data-path\":`images/Screenshot 2022-04-14 at 12.44.36.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/tenderly/Aq90dolhrsdO4Ket/images/Screenshot%202022-04-14%20at%2012.44.36.webp?w=280\u0026fit=max\u0026auto=format\u0026n=Aq90dolhrsdO4Ket\u0026q=85\u0026s=a980f0c8f03cd8b7f874f72fe930b719 280w, https://mintcdn.com/tenderly/Aq90dolhrsdO4Ket/images/Screenshot%202022-04-14%20at%2012.44.36.webp?w=560\u0026fit=max\u0026auto=format\u0026n=Aq90dolhrsdO4Ket\u0026q=85\u0026s=bf98ccade72ba7e3c44f632a867d2455 560w, https://mintcdn.com/tenderly/Aq90dolhrsdO4Ket/images/Screenshot%202022-04-14%20at%2012.44.36.webp?w=840\u0026fit=max\u0026auto=format\u0026n=Aq90dolhrsdO4Ket\u0026q=85\u0026s=4f06a43d21648dd4e0768735f6eca9e6 840w, https://mintcdn.com/tenderly/Aq90dolhrsdO4Ket/images/Screenshot%202022-04-14%20at%2012.44.36.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=Aq90dolhrsdO4Ket\u0026q=85\u0026s=48af3a75b231c6eac49626b9c6fc4d69 1100w, https://mintcdn.com/tenderly/Aq90dolhrsdO4Ket/images/Screenshot%202022-04-14%20at%2012.44.36.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=Aq90dolhrsdO4Ket\u0026q=85\u0026s=648430f637e335e76881b1c9f7b6351c 1650w, https://mintcdn.com/tenderly/Aq90dolhrsdO4Ket/images/Screenshot%202022-04-14%20at%2012.44.36.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=Aq90dolhrsdO4Ket\u0026q=85\u0026s=782ed4490e1014c8e179c61c38157036 2500w`}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/tenderly/Aq90dolhrsdO4Ket/images/Screenshot%202022-04-14%20at%2012.44.57.webp?fit=max\u0026auto=format\u0026n=Aq90dolhrsdO4Ket\u0026q=85\u0026s=92a0684aa047a8b2abca866253d1a383`,alt:``,\"data-og-width\":`800`,width:`800`,\"data-og-height\":`632`,height:`632`,\"data-path\":`images/Screenshot 2022-04-14 at 12.44.57.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/tenderly/Aq90dolhrsdO4Ket/images/Screenshot%202022-04-14%20at%2012.44.57.webp?w=280\u0026fit=max\u0026auto=format\u0026n=Aq90dolhrsdO4Ket\u0026q=85\u0026s=b805ae272d044fb64859a5f38a800c36 280w, https://mintcdn.com/tenderly/Aq90dolhrsdO4Ket/images/Screenshot%202022-04-14%20at%2012.44.57.webp?w=560\u0026fit=max\u0026auto=format\u0026n=Aq90dolhrsdO4Ket\u0026q=85\u0026s=34532972b7113613f52a2ef9f2e202a4 560w, https://mintcdn.com/tenderly/Aq90dolhrsdO4Ket/images/Screenshot%202022-04-14%20at%2012.44.57.webp?w=840\u0026fit=max\u0026auto=format\u0026n=Aq90dolhrsdO4Ket\u0026q=85\u0026s=30aa5734817961ea2e5b8d29bd704f39 840w, https://mintcdn.com/tenderly/Aq90dolhrsdO4Ket/images/Screenshot%202022-04-14%20at%2012.44.57.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=Aq90dolhrsdO4Ket\u0026q=85\u0026s=7db29cfcb3775cb4303948185a61c425 1100w, https://mintcdn.com/tenderly/Aq90dolhrsdO4Ket/images/Screenshot%202022-04-14%20at%2012.44.57.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=Aq90dolhrsdO4Ket\u0026q=85\u0026s=7cd78e18886b5fa4264fad8950301f37 1650w, https://mintcdn.com/tenderly/Aq90dolhrsdO4Ket/images/Screenshot%202022-04-14%20at%2012.44.57.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=Aq90dolhrsdO4Ket\u0026q=85\u0026s=4bc6ca2c901c0473d526a83f224b14f5 2500w`}),`\n`,_jsx(_components.p,{children:`This works for both simple and complex expressions:`}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/tenderly/Aq90dolhrsdO4Ket/images/Screenshot%202022-04-14%20at%2012.45.55.webp?fit=max\u0026auto=format\u0026n=Aq90dolhrsdO4Ket\u0026q=85\u0026s=17a81a19fd1468ef0656eb5b250c74e3`,alt:``,\"data-og-width\":`800`,width:`800`,\"data-og-height\":`632`,height:`632`,\"data-path\":`images/Screenshot 2022-04-14 at 12.45.55.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/tenderly/Aq90dolhrsdO4Ket/images/Screenshot%202022-04-14%20at%2012.45.55.webp?w=280\u0026fit=max\u0026auto=format\u0026n=Aq90dolhrsdO4Ket\u0026q=85\u0026s=535efb8e81e4667359e53b40b9bd190b 280w, https://mintcdn.com/tenderly/Aq90dolhrsdO4Ket/images/Screenshot%202022-04-14%20at%2012.45.55.webp?w=560\u0026fit=max\u0026auto=format\u0026n=Aq90dolhrsdO4Ket\u0026q=85\u0026s=77d60893b1003081f094fc22f35ca6c4 560w, https://mintcdn.com/tenderly/Aq90dolhrsdO4Ket/images/Screenshot%202022-04-14%20at%2012.45.55.webp?w=840\u0026fit=max\u0026auto=format\u0026n=Aq90dolhrsdO4Ket\u0026q=85\u0026s=9ad199d701ba19c5b83920a3c68c0f9d 840w, https://mintcdn.com/tenderly/Aq90dolhrsdO4Ket/images/Screenshot%202022-04-14%20at%2012.45.55.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=Aq90dolhrsdO4Ket\u0026q=85\u0026s=58494cd8008b5eba648bbff754fa059a 1100w, https://mintcdn.com/tenderly/Aq90dolhrsdO4Ket/images/Screenshot%202022-04-14%20at%2012.45.55.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=Aq90dolhrsdO4Ket\u0026q=85\u0026s=7a496ca95e21c2a2c2e60ba5a31535c0 1650w, https://mintcdn.com/tenderly/Aq90dolhrsdO4Ket/images/Screenshot%202022-04-14%20at%2012.45.55.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=Aq90dolhrsdO4Ket\u0026q=85\u0026s=81e5079310aa45783b7959d8ad8041b0 2500w`}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/tenderly/Aq90dolhrsdO4Ket/images/Screenshot%202022-04-14%20at%2012.47.27.webp?fit=max\u0026auto=format\u0026n=Aq90dolhrsdO4Ket\u0026q=85\u0026s=cb6cb3c988bd236c17e9ce99f9a14f34`,alt:``,\"data-og-width\":`800`,width:`800`,\"data-og-height\":`632`,height:`632`,\"data-path\":`images/Screenshot 2022-04-14 at 12.47.27.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/tenderly/Aq90dolhrsdO4Ket/images/Screenshot%202022-04-14%20at%2012.47.27.webp?w=280\u0026fit=max\u0026auto=format\u0026n=Aq90dolhrsdO4Ket\u0026q=85\u0026s=bed597c9e195b5b7f2dfd2e76818c2a4 280w, https://mintcdn.com/tenderly/Aq90dolhrsdO4Ket/images/Screenshot%202022-04-14%20at%2012.47.27.webp?w=560\u0026fit=max\u0026auto=format\u0026n=Aq90dolhrsdO4Ket\u0026q=85\u0026s=8e3fcd05acb8bfcbfe30ea4fafcff08d 560w, https://mintcdn.com/tenderly/Aq90dolhrsdO4Ket/images/Screenshot%202022-04-14%20at%2012.47.27.webp?w=840\u0026fit=max\u0026auto=format\u0026n=Aq90dolhrsdO4Ket\u0026q=85\u0026s=57b2ceaa80960689066bbfebe33e84c8 840w, https://mintcdn.com/tenderly/Aq90dolhrsdO4Ket/images/Screenshot%202022-04-14%20at%2012.47.27.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=Aq90dolhrsdO4Ket\u0026q=85\u0026s=cb3d762281471831e5a27e6a850852a2 1100w, https://mintcdn.com/tenderly/Aq90dolhrsdO4Ket/images/Screenshot%202022-04-14%20at%2012.47.27.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=Aq90dolhrsdO4Ket\u0026q=85\u0026s=b60033e2c12c90f87709880c3210578f 1650w, https://mintcdn.com/tenderly/Aq90dolhrsdO4Ket/images/Screenshot%202022-04-14%20at%2012.47.27.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=Aq90dolhrsdO4Ket\u0026q=85\u0026s=6f1c32498865349881ff538aa2020806 2500w`}),`\n`,_jsxs(_components.p,{children:[`Learn more about other `,_jsx(_components.a,{href:`/debugger/overview#stack-traces`,children:`Debugger features`}),` and `,_jsx(_components.a,{href:`/developer-explorer/inspect-transaction/overview#search-the-call-trace`,children:`searching the call trace`}),`.`]})]})}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":{"codeStyling":{"theme":{"light":"catppuccin-latte","dark":"catppuccin-mocha"}},"config":{},"pageMetadata":{"title":"Evaluate Expressions with Advanced Debugger","description":"Evaluate Solidity expressions in a transaction's execution trace, inspecting state variables, mappings, dynamic arrays, and function results in Debugger.","href":"/debugger/evaluate-expression"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/tenderly/bdc6ff9b2874c3ef/node-rpc/rpc-explorer.js","/_mintlify/custom/tenderly/184f3e34ea3ab109/platform/supported-networks.js","/_mintlify/custom/tenderly/896485a8a0369426/seo-schema.js","/_mintlify/custom/tenderly/072d16806bddf995/matomo.js"],"subdomain":"tenderly","siteName":"Tenderly","title":"Evaluate Expressions with Advanced Debugger - Tenderly","contextualStarterQuestions":[{"_id":"6a6a0428b86208ad1a84c4e1","deploymentId":"6a01e29b70901983f3805261","questionText":"How does Evaluate speed debugging?","status":"active","generatedBy":"contextual","path":"debugger/evaluate-expression","createdAt":"2026-07-29T13:46:16.867Z","updatedAt":"2026-07-29T13:46:16.867Z","__v":0},{"_id":"6a6a0428b86208ad1a84c4df","deploymentId":"6a01e29b70901983f3805261","questionText":"How do I access Evaluate?","status":"active","generatedBy":"contextual","path":"debugger/evaluate-expression","createdAt":"2026-07-29T13:46:16.867Z","updatedAt":"2026-07-29T13:46:16.867Z","__v":0},{"_id":"6a6a0428b86208ad1a84c4e0","deploymentId":"6a01e29b70901983f3805261","questionText":"What can I evaluate in contracts?","status":"active","generatedBy":"contextual","path":"debugger/evaluate-expression","createdAt":"2026-07-29T13:46:16.867Z","updatedAt":"2026-07-29T13:46:16.867Z","__v":0}],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/debugger/evaluate-expression","matchLevel":0},"ru":{"href":"/ru/debugger/evaluate-expression","matchLevel":1},"zh":{"href":"/zh/debugger/evaluate-expression","matchLevel":1},"hi":{"href":"/hi/debugger/evaluate-expression","matchLevel":1}}},"lastModified":"2026-07-11T15:54:00.666Z","originalFileLocation":"debugger/evaluate-expression.mdx","locale":"en"},"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=\"dark\"}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=\"Evaluate Solidity expressions in a transaction\u0026#x27;s execution trace, inspecting state variables, mappings, dynamic arrays, and function results in Debugger.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Tenderly\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/tenderly/eQa6_1msdloETVQa/_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/tenderly/eQa6_1msdloETVQa/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/tenderly/eQa6_1msdloETVQa/_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/tenderly/eQa6_1msdloETVQa/_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/tenderly/eQa6_1msdloETVQa/_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/tenderly/eQa6_1msdloETVQa/_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/tenderly/eQa6_1msdloETVQa/_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/tenderly/eQa6_1msdloETVQa/_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/tenderly/eQa6_1msdloETVQa/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Evaluate Expressions with Advanced Debugger - Tenderly\">\u003cmeta data-mint-head property=\"og:description\" content=\"Evaluate Solidity expressions in a transaction\u0026#x27;s execution trace, inspecting state variables, mappings, dynamic arrays, and function results in Debugger.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Tenderly\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.tenderly.co/debugger/evaluate-expression\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://tenderly.mintlify.app/_mintlify/api/og/v2?division=Debugger\u0026amp;title=Evaluate+Expressions+with+Advanced+Debugger\u0026amp;description=Evaluate+Solidity+expressions+in+a+transaction%27s+execution+trace%2C+inspecting+state+variables%2C+mappings%2C+dynamic+arrays%2C+and+function+results+in+Debugger.\u0026amp;theme=0ab121c12e499690d4555714\u0026amp;signature=e92ff5dd8ff6b01477c53b4ed95f5f5c8d03e542d4b5ada7d38b2ddfb60bc54c\">\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=\"Evaluate Expressions with Advanced Debugger - Tenderly\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Evaluate Solidity expressions in a transaction\u0026#x27;s execution trace, inspecting state variables, mappings, dynamic arrays, and function results in Debugger.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://tenderly.mintlify.app/_mintlify/api/og/v2?division=Debugger\u0026amp;title=Evaluate+Expressions+with+Advanced+Debugger\u0026amp;description=Evaluate+Solidity+expressions+in+a+transaction%27s+execution+trace%2C+inspecting+state+variables%2C+mappings%2C+dynamic+arrays%2C+and+function+results+in+Debugger.\u0026amp;theme=0ab121c12e499690d4555714\u0026amp;signature=e92ff5dd8ff6b01477c53b4ed95f5f5c8d03e542d4b5ada7d38b2ddfb60bc54c\">\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/tenderly/eQa6_1msdloETVQa/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Tenderly\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#7857FF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.tenderly.co/debugger/evaluate-expression\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/debugger/evaluate-expression.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.tenderly.co/debugger/evaluate-expression\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ru\" href=\"https://docs.tenderly.co/ru/debugger/evaluate-expression\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://docs.tenderly.co/zh/debugger/evaluate-expression\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"hi\" href=\"https://docs.tenderly.co/hi/debugger/evaluate-expression\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.tenderly.co/debugger/evaluate-expression\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.tenderly.co/#organization\",\"name\":\"Tenderly\",\"url\":\"https://docs.tenderly.co\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/tenderly/OpA99rKrR1G10AGk/logo/tenderly-logo-light-background.svg?fit=max\u0026auto=format\u0026n=OpA99rKrR1G10AGk\u0026q=85\u0026s=8655a53ac5f0fdc1af7c82f4e2e270ef\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.tenderly.co#website\",\"name\":\"Tenderly\",\"url\":\"https://docs.tenderly.co\",\"publisher\":{\"@id\":\"https://docs.tenderly.co/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.tenderly.co/debugger/evaluate-expression#webpage\",\"url\":\"https://docs.tenderly.co/debugger/evaluate-expression\",\"name\":\"Evaluate Expressions with Advanced Debugger\",\"description\":\"Evaluate Solidity expressions in a transaction's execution trace, inspecting state variables, mappings, dynamic arrays, and function results in Debugger.\",\"dateModified\":\"2026-07-11T15:54:00.666Z\",\"isPartOf\":{\"@id\":\"https://docs.tenderly.co#website\"},\"breadcrumb\":{\"@id\":\"https://docs.tenderly.co/debugger/evaluate-expression#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.tenderly.co/debugger/evaluate-expression#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Console\",\"item\":\"https://docs.tenderly.co/developer-explorer/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Debugger\",\"item\":\"https://docs.tenderly.co/debugger/overview\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Evaluate Expressions with Advanced Debugger\",\"item\":\"https://docs.tenderly.co/debugger/evaluate-expression\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.tenderly.co/debugger/evaluate-expression#article\",\"headline\":\"Evaluate Expressions with Advanced Debugger\",\"name\":\"Evaluate Expressions with Advanced Debugger\",\"description\":\"Evaluate Solidity expressions in a transaction's execution trace, inspecting state variables, mappings, dynamic arrays, and function results in Debugger.\",\"url\":\"https://docs.tenderly.co/debugger/evaluate-expression\",\"mainEntityOfPage\":{\"@id\":\"https://docs.tenderly.co/debugger/evaluate-expression#webpage\"},\"dateModified\":\"2026-07-11T15:54:00.666Z\",\"publisher\":{\"@id\":\"https://docs.tenderly.co/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.tenderly.co#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Tenderly\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Tenderly","nav":{"global":null,"languages":[{"language":"en","tabs":[{"tab":"Documentation","groups":[{"group":"Getting Started","public":true,"pages":[{"title":"Tenderly Docs: Simulate, Debug, and Monitor Onchain","sidebarTitle":"What is Tenderly?","href":"/introduction"},{"title":"What you get","href":"/what-you-get"}]},{"group":"Simulator","public":true,"pages":[{"group":"Virtual Environments","public":true,"pages":[{"title":"Virtual Environments","href":"/virtual-environments/overview"},{"group":"Get started","public":true,"pages":[{"title":"Virtual Environment quickstart","href":"/virtual-environments/quickstart"},{"title":"Multichain quickstart","href":"/virtual-environments/multichain/quickstart"}]},{"group":"How-to guides","public":true,"pages":[{"group":"Setup \u0026 connections","public":true,"pages":[{"title":"Adding Virtual Environments to Wallets","href":"/virtual-environments/interact/add-to-wallet"},{"title":"Connect to a WebSocket on Virtual Environments","href":"/virtual-environments/interact/websockets"},{"title":"Virtual Environment Integration Guides","href":"/virtual-environments/integrations"},{"group":"Libraries","public":true,"pages":[{"title":"Ethers.js","href":"/virtual-environments/libraries/ethers"},{"title":"Viem","href":"/virtual-environments/libraries/viem"}]},{"group":"Wallet UIs","public":true,"pages":[{"title":"Wagmi","href":"/virtual-environments/dapp-ui/wagmi"},{"title":"Reown AppKit","href":"/virtual-environments/dapp-ui/reown"},{"title":"ConnectKit","href":"/virtual-environments/dapp-ui/connectkit"},{"title":"Dynamic","href":"/virtual-environments/dapp-ui/dynamic"},{"title":"RainbowKit","href":"/virtual-environments/dapp-ui/rainbowkit"}]}]},{"group":"Network \u0026 state","public":true,"pages":[{"title":"Fork a Virtual Environment","href":"/virtual-environments/develop/fork-testnet"},{"title":"Revert Virtual Environment state","href":"/virtual-environments/develop/revert-state"},{"title":"Working with timestamps on Virtual Environments","href":"/virtual-environments/develop/timestamps"},{"title":"Backtest a token position by replaying historical blocks","href":"/virtual-environments/network-mirror-backtest"}]},{"group":"Transactions \u0026 debugging","public":true,"pages":[{"title":"Sending Transactions to Virtual Environments","href":"/virtual-environments/interact/send-transactions"},{"title":"Simulate Transactions in Virtual Environments","href":"/virtual-environments/interact/simulate-transactions"},{"title":"Debugging Transactions","href":"/virtual-environments/develop/debug-transactions"}]},{"group":"Smart contracts","public":true,"pages":[{"title":"Deploy and verify contracts","href":"/virtual-environments/develop/deploy-contracts"},{"title":"Verify proxy contracts with Foundry","href":"/virtual-environments/develop/verify-proxy-contracts"},{"title":"Bytecode deployment cheatcode","href":"/virtual-environments/develop/bytecode-deployment"},{"title":"Foundry Cheatcode Tutorial","href":"/virtual-environments/develop/solidity-cheatcodes"},{"title":"Index a Virtual Environment with The Graph","href":"/virtual-environments/develop/thegraph"}]},{"group":"CI/CD \u0026 staging","public":true,"pages":[{"title":"Hardhat and Github Actions","href":"/virtual-environments/ci-cd/github-actions-hardhat"},{"title":"Foundry and Github Actions","href":"/virtual-environments/ci-cd/github-actions-foundry"},{"title":"Staging Contracts","href":"/virtual-environments/ci-cd/stage-contracts"},{"title":"Connect Dapp UI to Virtual Environment","href":"/virtual-environments/ci-cd/stage-dapps"},{"title":"Create Virtual Environments via API","href":"/virtual-environments/develop/create-virtual-environment-via-api"}]}]},{"group":"Concepts","public":true,"pages":[{"title":"Virtual Environment Explorer","href":"/virtual-environments/explorer"},{"title":"Unlimited Faucet","href":"/virtual-environments/unlimited-faucet"},{"title":"State Sync","href":"/virtual-environments/state-sync"},{"title":"Network Mirror Mode","href":"/virtual-environments/network-mirror-mode"},{"title":"Named RPC URLs","href":"/virtual-environments/named-rpc-urls"},{"group":"Multichain","public":true,"pages":[{"title":"Multichain Virtual Environments","href":"/virtual-environments/multichain/overview"},{"title":"Bridges","href":"/virtual-environments/multichain/bridges"}]}]},{"group":"Reference","public":true,"pages":[{"title":"Virtual Environment dashboard reference","sidebarTitle":"Dashboard reference","href":"/virtual-environments/dashboard"},{"title":"Custom RPC Methods","href":"/virtual-environments/admin-rpc"},{"title":"Solidity Cheatcodes","href":"/virtual-environments/precompiles"},{"title":"REST API","href":"/virtual-environments/rest-api"}]}]},{"group":"Simulator UI Builder","public":true,"pages":[{"group":"Simulator UI","public":true,"pages":[{"title":"Simulator UI","sidebarTitle":"Overview","href":"/simulator-ui/overview"},{"title":"Simulation with State Overrides","href":"/simulator-ui/state-overrides"},{"title":"Share a Simulator draft link","href":"/simulator-ui/draft-links"},{"title":"Share a simulation with a public link","sidebarTitle":"Share a simulation","href":"/simulator-ui/share-simulation"}]},{"group":"Simulation Bundles","public":true,"pages":[{"title":"Simulation Bundles","sidebarTitle":"Overview","href":"/simulator-ui/simulation-bundles"},{"title":"Simulate a Token Mint, Approve, and TransferFrom Bundle","href":"/simulations/guides/mint-approve-transfer-bundle"}]},{"title":"Simulation Parameters","href":"/simulator-ui/parameters"},{"title":"Editing Contract Source","href":"/simulator-ui/editing-contract-source"}]},{"group":"Simulation API","public":true,"pages":[{"title":"Simulations Overview","href":"/simulations/overview"},{"title":"Simulations Quickstart","href":"/simulations/quickstart"},{"group":"Features","public":true,"pages":[{"title":"Single Simulations","href":"/simulations/single-simulations"},{"title":"Bundled Simulations","href":"/simulations/bundled-simulations"}]},{"group":"Use Cases","public":true,"pages":[{"title":"Transaction Preview","href":"/simulations/transaction-preview"},{"title":"Asset and Balance Changes","href":"/simulations/asset-balance-changes"},{"title":"Simulation API With State Overrides","href":"/simulations/state-overrides"},{"title":"Gas Estimation","href":"/simulations/gas-estimation"}]},{"title":"Simulation Modes","href":"/simulations/simulation-modes"},{"title":"Tenderly TX Preview Snap","href":"/platform/tx-preview-snap"},{"group":"Guides","public":true,"pages":[{"title":"Dry-Run User Transactions","href":"/simulations/guides/dry-run-user-transactions"},{"title":"MetaMask Snap Transaction Preview","href":"/simulations/guides/metamask-snap"},{"title":"Rabby Wallet Transaction Preview","href":"/simulations/guides/rabby-wallet"},{"title":"Simulate Safe{Wallet} transactions in your Tenderly project","sidebarTitle":"Safe{Wallet} simulations","href":"/simulations/guides/safe-wallet"},{"title":"Using Simulation RPC in Dapp UI","href":"/simulations/guides/simulation-rpc-dapp-ui"}]}]},{"group":"Simulation Mode","public":true,"pages":[{"title":"Simulation Mode","href":"/simulator-ui/simulation-mode"}]},{"group":"Tenderly SDK","public":true,"pages":[{"title":"Intro to Tenderly SDK","href":"/platform/sdk/introduction"},{"title":"Basic Concepts \u0026 FAQs","href":"/platform/sdk/concepts"},{"title":"Simulating Transactions","href":"/platform/sdk/simulating-transactions"},{"title":"Managing Contracts","href":"/platform/sdk/managing-contracts"},{"title":"Managing Wallets","href":"/platform/sdk/managing-wallets"},{"title":"Practical Examples","href":"/platform/sdk/examples"},{"group":"Tutorials","public":true,"pages":[{"title":"Simulate Transactions via SDK","href":"/platform/sdk/tutorials/simulate-transactions"},{"title":"Simulation Bundles with SDK","href":"/platform/sdk/tutorials/simulation-bundles"}]}]}]},{"group":"Console","public":true,"pages":[{"group":"Explorer","public":true,"pages":[{"title":"Developer Explorer","href":"/developer-explorer/overview"},{"title":"Project Home dashboard","sidebarTitle":"Project Home","href":"/developer-explorer/project-home"},{"title":"Transaction Listing","href":"/developer-explorer/transaction-listing"},{"group":"Inspect Transaction","public":true,"pages":[{"title":"Inspect transaction call traces and state changes","sidebarTitle":"Transactions","href":"/developer-explorer/inspect-transaction/overview"},{"title":"Fund Flow","href":"/developer-explorer/inspect-transaction/fund-flow"}]},{"title":"Smart Contracts","href":"/developer-explorer/contracts"},{"title":"Add and track wallets in a Tenderly project","sidebarTitle":"Wallets","href":"/developer-explorer/wallets"},{"title":"Simulation Mode in the Explorer","href":"/developer-explorer/simulation-mode"}]},{"group":"DeFi Modules","public":true,"pages":[{"title":"DeFi Modules: protocol-native UI surfaces","sidebarTitle":"DeFi Modules","href":"/defi-modules/overview"},{"title":"Aave V3","href":"/defi-modules/aave"},{"title":"Uniswap V3","href":"/defi-modules/uniswap"},{"title":"Morpho","href":"/defi-modules/morpho"},{"title":"Chainlink and Chronicle price feeds","sidebarTitle":"Oracle price feeds","href":"/defi-modules/oracle-price-feeds"}]},{"group":"Debugger","public":true,"pages":[{"title":"How to Use Tenderly Debugger","href":"/debugger/overview"},{"title":"Execution Overview","href":"/debugger/execution-overview"},{"title":"Commenting \u0026 Prioritizing Traces","href":"/debugger/commenting"},{"title":"Gas Profiler","description":"Break down gas consumption per function with an interactive flame chart, spot the most expensive calls, and optimize gas usage in Debugger.","href":"/debugger/gas-profiler"},{"title":"Evaluate Expressions with Advanced Debugger","href":"/debugger/evaluate-expression"},{"title":"War Room Aid Kit","description":"Use Tenderly's Call Trace, Expression Evaluation, and annotation system to diagnose hacks and critical incidents faster with your team.","href":"/debugger/war-room-aid-kit"},{"title":"Dev Toolkit Browser Extension","href":"/debugger/dev-toolkit"},{"group":"Guides","public":true,"pages":[{"title":"Investigating a Failed Transaction","href":"/debugger/guides/failed-transaction"},{"title":"Investigating a Hack (Cover Protocol)","href":"/debugger/guides/hack-investigation"}]}]},{"group":"Contract Verification","public":true,"pages":[{"title":"Smart Contract Verification","href":"/contract-verification/overview"},{"title":"Verify Contracts via Dashboard","href":"/contract-verification/dashboard"},{"title":"Smart Contract Verification Using Foundry","href":"/contract-verification/foundry"},{"title":"Smart Contract Verification Using Hardhat","href":"/contract-verification/hardhat"},{"title":"Verifying Proxy Contracts","href":"/contract-verification/hardhat-proxy"}]}]},{"group":"Monitor","public":true,"pages":[{"group":"Alerts","public":true,"pages":[{"title":"Intro to Alerts","href":"/monitoring/alerts/introduction"},{"title":"Alert Types, Targets, and Parameters","href":"/monitoring/alerts/types"},{"title":"Using Alerts API","href":"/monitoring/alerts/api"},{"group":"Destinations","public":true,"pages":[{"title":"Alert Destinations","href":"/monitoring/alerts/destinations/overview"},{"title":"Project-Scoped","href":"/monitoring/alerts/destinations/project-scoped"},{"title":"Account-Scoped","href":"/monitoring/alerts/destinations/account-scoped"},{"title":"Setting Up Alerts as Triggers for Web3Actions","href":"/monitoring/alerts/destinations/web3-action"}]},{"group":"Tutorials","public":true,"pages":[{"title":"Alerting Quickstart Guide","href":"/monitoring/alerts/tutorials/quickstart"},{"title":"How to Use Webhooks for Alerting","href":"/monitoring/alerts/tutorials/webhooks"}]}]},{"group":"Web3 Actions","public":true,"pages":[{"title":"Intro to Web3 Actions","href":"/monitoring/web3-actions/introduction"},{"title":"Usage Rate Limits","href":"/monitoring/web3-actions/usage-rate-limits"},{"group":"Tutorials","public":true,"pages":[{"title":"Deploy Web3 Actions via Dashboard","href":"/monitoring/web3-actions/tutorials/deploy-via-dashboard"},{"title":"Deploy Web3 Action via CLI","href":"/monitoring/web3-actions/tutorials/deploy-via-cli"},{"title":"How to Handle On-Chain Events","href":"/monitoring/web3-actions/tutorials/on-chain-events"},{"title":"How to Access Node RPC from Web3 Actions","href":"/monitoring/web3-actions/tutorials/node-rpc-access"},{"title":"How to Build a Custom Oracle","href":"/monitoring/web3-actions/tutorials/custom-oracle"},{"title":"Discord Alerts for New Uniswap Pools","href":"/monitoring/web3-actions/tutorials/discord-uniswap-pools"},{"title":"Monitor UniswapV3 Pool Creation","href":"/monitoring/web3-actions/tutorials/monitor-uniswap-v3-pools"},{"title":"Lido Validator Exit Notifications","href":"/monitoring/web3-actions/tutorials/validators-exits"},{"title":"Modular Monitoring with Web3Actions","href":"/monitoring/web3-actions/tutorials/modular-actions"}]},{"group":"References","public":true,"pages":[{"title":"Node RPC Access","href":"/monitoring/web3-actions/references/node-rpc-access"},{"title":"Action Functions, Events, and Triggers","href":"/monitoring/web3-actions/references/functions-events-triggers"},{"title":"Context: Gateway, Storage, Secrets","href":"/monitoring/web3-actions/references/context"},{"title":"Action Execution","href":"/monitoring/web3-actions/references/execution"},{"title":"Project Structure","href":"/monitoring/web3-actions/references/project-structure"},{"title":"CLI Cheatsheet","href":"/monitoring/web3-actions/references/cli-cheatsheet"},{"title":"Local Development and Testing","href":"/monitoring/web3-actions/references/local-development"},{"title":"Web3 Action failure notifications","sidebarTitle":"Notifications","href":"/monitoring/web3-actions/references/notifications"},{"title":"Manage Web3 Actions Lifecycle","href":"/monitoring/web3-actions/references/lifecycle"},{"title":"Error Reporting","href":"/monitoring/web3-actions/references/error-reporting"}]}]}]},{"group":"Node RPC","public":true,"pages":[{"title":"Node RPC","href":"/node-rpc/overview"},{"title":"Monitor Node RPC Usage, Errors, and Rate Limits","href":"/node-rpc/usage-and-errors"},{"group":"Simulations \u0026 Gas Estimation","public":true,"pages":[{"title":"Simulate Transactions with JSON-RPC Methods","href":"/node-rpc/guides/simulate-json-rpc"},{"title":"Simulate Bundles","href":"/node-rpc/guides/simulate-bundle-json-rpc"},{"title":"Simulate Blocks with eth_simulateV1","href":"/node-rpc/guides/eth-simulatev1"},{"title":"Trace Transactions","href":"/node-rpc/guides/trace-json-rpc"}]},{"group":"Integrations","public":true,"pages":[{"title":"Integration Guides","href":"/node-rpc/integrations"},{"group":"Libraries","public":true,"pages":[{"title":"Connect Ethers.js v6 and v5 to Tenderly Node RPC","href":"/node-rpc/libraries/ethers"},{"title":"Connect viem clients to Tenderly Node RPC endpoints","href":"/node-rpc/libraries/viem"},{"title":"Connect Go apps to Tenderly Node RPC with go-ethereum","href":"/node-rpc/libraries/go"},{"title":"Connect Web3.py Python apps to Tenderly Node RPC","href":"/node-rpc/libraries/web3-py"}]},{"group":"Frameworks","public":true,"pages":[{"title":"Deploy smart contracts with Foundry via Tenderly Node RPC","href":"/node-rpc/frameworks/foundry"},{"title":"Deploy and test Hardhat projects with Tenderly Node RPC","href":"/node-rpc/frameworks/hardhat"}]},{"group":"Wallet UIs","public":true,"pages":[{"title":"Configure wagmi transports with Tenderly Node RPC","href":"/node-rpc/dapp-ui/wagmi"},{"title":"Set up Reown AppKit with Tenderly Node RPC transports","href":"/node-rpc/dapp-ui/reown"},{"title":"Connect ConnectKit wallet components to Tenderly Node RPC","href":"/node-rpc/dapp-ui/connectkit"},{"title":"Use Tenderly Node RPC with Dynamic Web3 authentication","href":"/node-rpc/dapp-ui/dynamic"},{"title":"Configure RainbowKit with Tenderly Node RPC transports","href":"/node-rpc/dapp-ui/rainbowkit"}]},{"group":"Indexers","public":true,"pages":[{"title":"Run Graph Node on Tenderly Node RPC","href":"/node-rpc/indexers/graph-node"}]}]},{"group":"Reference","public":true,"pages":[{"title":"JSON-RPC Reference","href":"/node-rpc/rpc-reference"}]},{"title":"Node RPC Pricing","href":"/node-rpc/pricing"}]},{"group":"AI Tools","public":true,"pages":[{"title":"Tenderly MCP Server for Claude and AI assistants","href":"/ai-tools/overview"},{"title":"Tenderly MCP Server quickstart for Claude clients","href":"/ai-tools/quickstart"},{"title":"Tenderly MCP Server tools reference","href":"/ai-tools/tools"},{"title":"Tenderly MCP Server examples with Claude","href":"/ai-tools/examples"}]},{"group":"Account \u0026 Settings","public":true,"pages":[{"group":"Account Management","public":true,"pages":[{"title":"Account Management","href":"/platform/account/overview"},{"title":"Manage Security Email Notifications","sidebarTitle":"Email Notifications","href":"/platform/account/email-notifications"},{"group":"Projects","public":true,"pages":[{"title":"Create a Tenderly Project","href":"/platform/account/projects/overview"},{"title":"Restrict Project Access to Invited Members","href":"/platform/account/projects/restricted-projects"},{"title":"Project Settings","href":"/platform/account/projects/settings"},{"title":"Project Slug and Account Slug","href":"/platform/account/projects/slug"},{"title":"Generate and Manage API Access Tokens","href":"/platform/account/projects/api-tokens"}]},{"group":"Organizations","public":true,"pages":[{"title":"Organizations and Team Members","href":"/platform/account/organizations/overview"},{"title":"Add Member","href":"/platform/account/organizations/members"},{"title":"Activity Logs","href":"/platform/account/organizations/activity-logs"}]}]},{"group":"Billing \u0026 Usage","public":true,"pages":[{"title":"Manage Your Plan, Seats, and Billing","href":"/platform/account/billing/overview"},{"title":"Track Usage and Tenderly Units (TUs)","href":"/platform/account/billing/usage"},{"title":"Usage Limits, Rate Limits, and Write Limits: Which One Did I Hit?","href":"/platform/account/billing/limits"},{"title":"Plan Features, Limits, and Restricted Access","href":"/platform/account/billing/plan-restrictions"}]}]}]},{"tab":"Supported Networks","pages":[{"title":"Supported Networks","href":"/platform/supported-networks"}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/projects/list-projects"}]},{"tab":"Troubleshooting","pages":[{"title":"Troubleshooting","href":"/troubleshooting/overview"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog/overview"}]}]},{"language":"ru","pages":[{"title":"ru","href":"/ru/debugger/evaluate-expression"}]},{"language":"zh","pages":[{"title":"zh","href":"/zh/debugger/evaluate-expression"}]},{"language":"hi","pages":[{"title":"hi","href":"/hi/debugger/evaluate-expression"}]}]},"title":"Evaluate Expressions with Advanced Debugger - Tenderly","buildId":"dpl_22zLaHtK6fmmSqApXTTP5tC7UBZn","deploymentId":"dpl_22zLaHtK6fmmSqApXTTP5tC7UBZn","dynamics":["a74be98ba7"],"chunks":["zoom-image-lightbox-BxIiCHya.js","PlusIcon-Br4qdG7I.js","lightbox-handle-r17bVUz3.js"]}