Simulate a Solana transaction to analyze its effects and risks before
broadcasting it to the network. Returns detailed instruction parsing, asset
transfers, balance changes, state predictions, and account risk scoring.
Why Use This API?
Pre-Broadcast Validation: Validate a transaction’s execution without
committing it to the blockchain.
Debugging: Identify issues such as program errors or insufficient
balances.
Cost Estimation: Assess fees and compute units before broadcasting.
Risk Assessment: Identify whether any accounts involved in the
transaction are malicious or suspicious.
How to Use
1
Prepare a Transaction
Use @solana/web3.js or any other SDK to construct a base64-encoded or base58-encoded Solana transaction.
2
Submit to the Endpoint
Send a POST request with header Content-Type: application/json and this JSON body, where tx is the encoded transaction and encoding_type is base64 or base58:
Review instruction_groups, asset_transfers, lamport_changes, expected_state_changes, transaction_risk, transaction_summary, and error to understand effects and risks.
Cluster support:devnet, testnet, mainnet-beta
Key Features
Instruction Parsing: Automatic parsing for all programs with public IDLs.
For programs without public IDLs, we reverse-engineer the instruction format
(marked with "reverse_engineered": true).
Nested Transaction Decoding: Squads v4 embedded transaction messages and
Squads v3 addInstruction operations are automatically decoded and parsed.
State Change Predictions: Predicted account and token updates based on
simulation.
Asset Movement Analysis: Detects token and SOL transfers with source,
destination, mint, and amount.
Account Risk Scoring: Risk assessment of all involved addresses,
including malicious address proximity analysis.
Exploit Risk Detection: Identifies potential exploit behaviors such as
address poisoning attacks.
Response Breakdown
Field
Description
instruction_groups
Hierarchical view of all instructions with parsed data, program IDs, and stack depth.
asset_transfers
Detected asset movements (SOL and token transfers) with source, destination, mint, and amount.
lamport_changes
Balance changes by address showing pre and post-execution balances.
expected_state_changes
Predicted account-level state updates with formatted details and metadata for UI rendering.
transaction_risk
Risk analysis containing accounts_risk_score (per-address risk with summary statistics) and exploit_risks_detected.
returned_data
Data returned by programs during execution.
logs
Complete transaction execution logs from the Solana runtime.
transaction_summary
Compute units consumed, fee breakdown (compute fee, prioritization fee, tips), programs invoked, and transaction version.
error
Failure reason if simulation failed. Other fields may be incomplete when present.
Fee Confidence
The transaction_summary includes a fee confidence indicator:
Level
Meaning
High
Derived from explicit compute budget instructions
Medium
Estimated from recent prioritization fees for the locked accounts
Low
No data available; fallback logic used
Risk analysis is currently performed on the main transaction level. Embedded
transactions and instructions in nested instruction data are not currently
included in risk scoring.
We continuously add support for new program parsers. If there is a specific
program you’d like included, contact us
with the request.
Authorizations
AuthorizationBearer
X-API-KEY
string
header
required
Authorization method required to allow user to access the api endpoints.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Range Docs","description":"Range is the platform for companies operating across stablecoins and fiat.","colors":{"primary":"#22543E","light":"#569074","dark":"#22543E"},"logo":{"light":"https://mintcdn.com/scanworksorg-e98555c2/rU8x70kXjfl1xcdO/logo/light.svg?fit=max\u0026auto=format\u0026n=rU8x70kXjfl1xcdO\u0026q=85\u0026s=88897c7ff375b09dadab7e38f41fa952","dark":"https://mintcdn.com/scanworksorg-e98555c2/EP-AojxYOrKvbHuL/logo/dark.svg?fit=max\u0026auto=format\u0026n=EP-AojxYOrKvbHuL\u0026q=85\u0026s=f336d2935afa97f3cb743c91d5b48f86"},"favicon":"https://mintcdn.com/scanworksorg-e98555c2/rU8x70kXjfl1xcdO/favicon.svg?fit=max\u0026auto=format\u0026n=rU8x70kXjfl1xcdO\u0026q=85\u0026s=cc1f854c76c5989d2f8834b58ebcd53c","background":{"color":{"light":"#ffffff","dark":"#121212"}},"navbar":{"links":[{"href":"https://www.range.org/get-in-touch","label":"Contact"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.range.org/keys"}},"footer":{"socials":{"x":"https://x.com/range_org","github":"https://github.com/rangesecurity","linkedin":"https://www.linkedin.com/company/range-org","website":"https://www.range.org/"}},"integrations":{"clarity":{"projectId":"v2dq4neohy"},"ga4":{"measurementId":"G-FEZ2WGXW9F"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"metadata":{"timestamp":true},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"scanworksorg-e98555c2","hasAudioNarration":false,"actualSubdomain":"scanworksorg-e98555c2","customDomains":["docs.range.org"],"gitSource":{"type":"github","owner":"rangesecurity","repo":"docs-mintlify","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6b0413725d82e313e7583800","clientVersion":"0.0.4271","searchFilterCounts":[{"language":"default","tag":"API Reference","count":233},{"language":"default","tag":"Platform API","count":184},{"language":"default","tag":"Data API","count":74},{"language":"default","tag":"Risk API","count":34},{"language":"default","tag":"Account Connections","count":30},{"language":"default","tag":"Transfers \u0026 Transactions","count":26},{"language":"default","tag":"Network, Protocols \u0026 Tokens","count":22},{"language":"default","tag":"Addresses \u0026 Entities","count":19},{"language":"default","tag":"Overview","count":16},{"language":"default","tag":"Accounts","count":16}]},"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":"site-roles","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":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".prose{--tw-prose-headings: #002616;--tw-prose-body: #3e6854;--tw-prose-invert-headings: #f4fcf9;--tw-prose-invert-body: #b7b7b7}.dark .prose{--tw-prose-headings: #569074}a[href=\"https://app.range.org/keys\"]{padding:10px 15px}a[href=\"https://app.range.org/keys\"] span.bg-primary-dark{background-color:#fafafa;border:1px solid transparent;border-radius:0.375rem;box-shadow:inset 0 0 0 1px #ffffff,\n 0 0 0 1px #0000000a,\n 0 5px 5px 0 #0000000a,\n 0 1px 3px 0 #0000000a}a[href=\"https://app.range.org/keys\"]:hover span.bg-primary-dark{background-color:#ffffff}a[href=\"https://app.range.org/keys\"] .text-white,a[href=\"https://app.range.org/keys\"] svg{color:#002616}.dark a[href=\"https://app.range.org/keys\"] span.bg-primary-dark{background-color:rgba(38, 38, 38, 0.3)}.dark a[href=\"https://app.range.org/keys\"]:hover span.bg-primary-dark{background-color:rgba(38, 38, 38, 0.5)}.dark a[href=\"https://app.range.org/keys\"] .text-white,.dark a[href=\"https://app.range.org/keys\"] svg{color:#f4fcf9}a[href=\"https://app.range.org/keys\"]:focus{outline:none}a[href=\"https://app.range.org/keys\"]:focus-visible span.bg-primary-dark{box-shadow:inset 0 0 0 1px #ffffff,\n 0 0 0 1px #0000000a,\n 0 0 0 3px rgba(34, 84, 62, 0.5)}.dark a[href=\"https://app.range.org/keys\"]:focus-visible span.bg-primary-dark{box-shadow:0 0 0 1px rgba(255, 255, 255, 0.1),\n 0 0 0 3px rgba(86, 144, 116, 0.6)}"}]}
{"page":{"pagePath":"risk-api/simulator/simulate-solana-transaction","slug":"/risk-api/simulator/simulate-solana-transaction","pageMetadata":{"title":"Simulate a Solana Transaction","openapi":"post /v1/simulate/solana/transaction","description":"Simulate a Solana transaction to get the address balance changes, state updates, and associated risk analysis.\n","href":"/risk-api/simulator/simulate-solana-transaction"},"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: \"Simulate a Solana transaction to get the address balance changes, state updates, and associated risk analysis.\"\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`,code:`code`,hr:`hr`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Note,Step,Steps,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Simulate a Solana transaction to analyze its effects and risks before\nbroadcasting it to the network. Returns detailed instruction parsing, asset\ntransfers, balance changes, state predictions, and account risk scoring.`}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`why-use-this-api`,children:`Why Use This API?`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Pre-Broadcast Validation`}),`: Validate a transaction’s execution without\ncommitting it to the blockchain.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Debugging`}),`: Identify issues such as program errors or insufficient\nbalances.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Cost Estimation`}),`: Assess fees and compute units before broadcasting.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Risk Assessment`}),`: Identify whether any accounts involved in the\ntransaction are malicious or suspicious.`]}),`\n`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`how-to-use`,children:`How to Use`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Prepare a Transaction`,children:_jsxs(_components.p,{children:[`Use `,_jsx(_components.code,{children:`@solana/web3.js`}),` or any other SDK to construct a base64-encoded or base58-encoded Solana transaction.`]})}),_jsxs(Step,{title:`Submit to the Endpoint`,children:[_jsxs(_components.p,{children:[`Send a POST request with header `,_jsx(_components.code,{children:`Content-Type: application/json`}),` and this JSON body, where `,_jsx(_components.code,{children:`tx`}),` is the encoded transaction and `,_jsx(_components.code,{children:`encoding_type`}),` is `,_jsx(_components.code,{children:`base64`}),` or `,_jsx(_components.code,{children:`base58`}),`:`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`json`,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:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tx\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\u003cENCODED_TRANSACTION>\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"encoding_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"base64\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]}),_jsx(Step,{title:`Analyze the Response`,children:_jsxs(_components.p,{children:[`Review `,_jsx(_components.code,{children:`instruction_groups`}),`, `,_jsx(_components.code,{children:`asset_transfers`}),`, `,_jsx(_components.code,{children:`lamport_changes`}),`, `,_jsx(_components.code,{children:`expected_state_changes`}),`, `,_jsx(_components.code,{children:`transaction_risk`}),`, `,_jsx(_components.code,{children:`transaction_summary`}),`, and `,_jsx(_components.code,{children:`error`}),` to understand effects and risks.`]})})]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Cluster support:`}),` `,_jsx(_components.code,{children:`devnet`}),`, `,_jsx(_components.code,{children:`testnet`}),`, `,_jsx(_components.code,{children:`mainnet-beta`})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`key-features`,children:`Key Features`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Instruction Parsing`}),`: Automatic parsing for all programs with public IDLs.\nFor programs without public IDLs, we reverse-engineer the instruction format\n(marked with `,_jsx(_components.code,{children:`\"reverse_engineered\": true`}),`).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Nested Transaction Decoding`}),`: Squads v4 embedded transaction messages and\nSquads v3 `,_jsx(_components.code,{children:`addInstruction`}),` operations are automatically decoded and parsed.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`State Change Predictions`}),`: Predicted account and token updates based on\nsimulation.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Asset Movement Analysis`}),`: Detects token and SOL transfers with source,\ndestination, mint, and amount.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Account Risk Scoring`}),`: Risk assessment of all involved addresses,\nincluding malicious address proximity analysis.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Exploit Risk Detection`}),`: Identifies potential exploit behaviors such as\naddress poisoning attacks.`]}),`\n`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`response-breakdown`,children:`Response Breakdown`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`instruction_groups`})}),_jsx(_components.td,{children:`Hierarchical view of all instructions with parsed data, program IDs, and stack depth.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`asset_transfers`})}),_jsx(_components.td,{children:`Detected asset movements (SOL and token transfers) with source, destination, mint, and amount.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`lamport_changes`})}),_jsx(_components.td,{children:`Balance changes by address showing pre and post-execution balances.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`expected_state_changes`})}),_jsx(_components.td,{children:`Predicted account-level state updates with formatted details and metadata for UI rendering.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`transaction_risk`})}),_jsxs(_components.td,{children:[`Risk analysis containing `,_jsx(_components.code,{children:`accounts_risk_score`}),` (per-address risk with summary statistics) and `,_jsx(_components.code,{children:`exploit_risks_detected`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`returned_data`})}),_jsx(_components.td,{children:`Data returned by programs during execution.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`logs`})}),_jsx(_components.td,{children:`Complete transaction execution logs from the Solana runtime.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`transaction_summary`})}),_jsx(_components.td,{children:`Compute units consumed, fee breakdown (compute fee, prioritization fee, tips), programs invoked, and transaction version.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error`})}),_jsx(_components.td,{children:`Failure reason if simulation failed. Other fields may be incomplete when present.`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`fee-confidence`,children:`Fee Confidence`}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`transaction_summary`}),` includes a fee confidence indicator:`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Level`}),_jsx(_components.th,{children:`Meaning`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`High`})}),_jsx(_components.td,{children:`Derived from explicit compute budget instructions`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Medium`})}),_jsx(_components.td,{children:`Estimated from recent prioritization fees for the locked accounts`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Low`})}),_jsx(_components.td,{children:`No data available; fallback logic used`})]})]})]}),`\n`,_jsx(Note,{children:_jsx(_components.p,{children:`Risk analysis is currently performed on the main transaction level. Embedded\ntransactions and instructions in nested instruction data are not currently\nincluded in risk scoring.`})}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`We continuously add support for new program parsers. If there is a specific\nprogram you’d like included, `,_jsx(_components.a,{href:`https://www.range.org/get-in-touch`,children:`contact us`}),`\nwith the request.`]})})]})}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":"Simulate a Solana Transaction","openapi":"post /v1/simulate/solana/transaction","description":"Simulate a Solana transaction to get the address balance changes, state updates, and associated risk analysis.\n","href":"/risk-api/simulator/simulate-solana-transaction"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Why Use This API?","slug":"why-use-this-api","depth":2,"children":[]},{"title":"How to Use","slug":"how-to-use","depth":2,"children":[]},{"title":"Key Features","slug":"key-features","depth":2,"children":[]},{"title":"Response Breakdown","slug":"response-breakdown","depth":2,"children":[{"title":"Fee Confidence","slug":"fee-confidence","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/scanworksorg-e98555c2/8c2b1958f7aa5871/snippets/custom-badge.js"],"openApiReferenceData":{"operation":{"description":"Simulate a Solana transaction to get the address balance changes, state updates, and associated risk analysis.\n","operationId":"simulateSolanaTx","parameters":[],"requestBody":"af2ee35e-c9da-4734-b07c-b423e8d1f432","responses":{"200":"29df3e55-c894-4877-95c0-798570f2a9bb","400":"a6dbd39a-91e3-41f0-a300-68c48895200f"},"summary":"Simulate Solana transaction","tags":["Simulator"],"method":"post","type":"path","servers":["b9f806b4-8285-48b0-961c-156a8803ae65"],"security":["f7aef293-fed3-41d3-830f-f526128417ef","7b8db6f1-f44d-4cb2-9605-d7f9207bbcf8"],"path":"/v1/simulate/solana/transaction","baseUrlOptions":["https://api.range.org"],"title":"Simulate Solana transaction","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"tx":{"type":"string","minLength":1,"description":"Encoded raw transaction (base64 or base58)","example":"AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAMFEJeb5qTc67efsgZI7ONZ7zVxpO4dt1RQdJUXALHbMrqWD8daOMRtjpRGL/NJrFK4+dloWCuEb9yNAU0iiTXfswbd9uHXZaGT2cvhRs7reawctIXtX1s3kTqM9YV+/wCpHONZ7VoBLgT6FCucdRocXofP0KAWG5yF/9MbeM382PbG+nrzvtutOj1l82qryXQxsbvkwtL24OR8pgIDRS9dYQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwIDAQMACQQA5AtUAgAAAAIEAQQDAAoNAOQLVAIAAAAGAgIBAAEF","isRequired":true,"uniqueKey":"tx","typeLabel":"string"},"encoding_type":{"enum":["base64","base58"],"type":"string","description":"Encoding type of the transaction","example":"base64","isRequired":true,"uniqueKey":"encoding_type","typeLabel":"enum\u003cstring>"}},"required":["tx","encoding_type"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"tx":"AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAMFEJeb5qTc67efsgZI7ONZ7zVxpO4dt1RQdJUXALHbMrqWD8daOMRtjpRGL/NJrFK4+dloWCuEb9yNAU0iiTXfswbd9uHXZaGT2cvhRs7reawctIXtX1s3kTqM9YV+/wCpHONZ7VoBLgT6FCucdRocXofP0KAWG5yF/9MbeM382PbG+nrzvtutOj1l82qryXQxsbvkwtL24OR8pgIDRS9dYQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwIDAQMACQQA5AtUAgAAAAIEAQQDAAoNAOQLVAIAAAAGAgIBAAEF","encoding_type":"base64"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"29df3e55-c894-4877-95c0-798570f2a9bb":{"description":"Simulation result","content":{"application/json":{"schema":{"type":"object","properties":{"transactions":{"type":"array","items":{"type":"object","description":"Decoded simulation for one transaction","properties":{"instruction_groups":{"type":"array","items":{"type":"object","uniqueKey":"transactions.items.[INDEX].instruction_groups.items.[INDEX]","typeLabel":"object"},"uniqueKey":"transactions.items.[INDEX].instruction_groups","typeLabel":"object[]"},"asset_transfers":{"type":"array","items":{"type":"object","uniqueKey":"transactions.items.[INDEX].asset_transfers.items.[INDEX]","typeLabel":"object"},"uniqueKey":"transactions.items.[INDEX].asset_transfers","typeLabel":"object[]"},"lamport_changes":{"type":"array","items":{"type":"object","uniqueKey":"transactions.items.[INDEX].lamport_changes.items.[INDEX]","typeLabel":"object"},"uniqueKey":"transactions.items.[INDEX].lamport_changes","typeLabel":"object[]"},"expected_state_changes":{"type":"object","uniqueKey":"transactions.items.[INDEX].expected_state_changes","typeLabel":"object"},"transaction_risk":{"type":"object","properties":{"accounts_risk_score":{"type":"object","uniqueKey":"transactions.items.[INDEX].transaction_risk.accounts_risk_score","typeLabel":"object"},"exploit_risks_detected":{"type":"array","items":{"type":"object","uniqueKey":"transactions.items.[INDEX].transaction_risk.exploit_risks_detected.items.[INDEX]","typeLabel":"object"},"uniqueKey":"transactions.items.[INDEX].transaction_risk.exploit_risks_detected","typeLabel":"object[]"}},"uniqueKey":"transactions.items.[INDEX].transaction_risk","typeLabel":"object"},"returned_data":{"oneOf":[{},{"type":"null","uniqueKey":"transactions.items.[INDEX].returned_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"transactions.items.[INDEX].returned_data","typeLabel":"null"},"logs":{"type":"array","items":{"type":"string","uniqueKey":"transactions.items.[INDEX].logs.items.[INDEX]","typeLabel":"string"},"uniqueKey":"transactions.items.[INDEX].logs","typeLabel":"string[]"},"transaction_summary":{"type":"object","properties":{"simulation_success":{"type":"boolean","uniqueKey":"transactions.items.[INDEX].transaction_summary.simulation_success","typeLabel":"boolean"}},"uniqueKey":"transactions.items.[INDEX].transaction_summary","typeLabel":"object"},"error":{"oneOf":[{"description":"Failure reason when simulation failed for this transaction","uniqueKey":"transactions.items.[INDEX].error.oneOf.0","typeLabel":"any"},{"description":"Failure reason when simulation failed for this transaction","type":"null","uniqueKey":"transactions.items.[INDEX].error.oneOf.1","typeLabel":"null"}],"uniqueKey":"transactions.items.[INDEX].error","typeLabel":"any | null"}},"uniqueKey":"transactions.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"transactions","typeLabel":"object[]"}},"required":["transactions"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"transactions":[{"instruction_groups":[{}],"asset_transfers":[{}],"lamport_changes":[{}],"expected_state_changes":{},"transaction_risk":{"accounts_risk_score":{},"exploit_risks_detected":[{}]},"returned_data":"\u003cunknown>","logs":["\u003cstring>"],"transaction_summary":{"simulation_success":true},"error":"\u003cunknown>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"a6dbd39a-91e3-41f0-a300-68c48895200f":{"description":"Request validation failed, or \"Invalid Solana transaction payload\" when a payload cannot be decoded","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}}},"security":{"f7aef293-fed3-41d3-830f-f526128417ef":{"Authorization":{"type":"apiKey","in":"header","name":"X-API-KEY","description":"Authorization method required to allow user to access the api endpoints.","scopes":[],"schemeName":"Authorization"}},"7b8db6f1-f44d-4cb2-9605-d7f9207bbcf8":{"Bearer":{"type":"http","scheme":"bearer","description":"Pass the API key as a bearer token (Authorization: Bearer \u003capi-key>).","scopes":[],"schemeName":"Bearer"}}},"servers":{"b9f806b4-8285-48b0-961c-156a8803ae65":{"url":"https://api.range.org","description":"Range API Server"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"X-API-KEY","description":"Authorization method required to allow user to access the api endpoints.","scopes":[],"schemeName":"Authorization"},"schema":{"title":"X-API-KEY","type":"string","description":"Authorization method required to allow user to access the api endpoints.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"Authorization","name":"X-API-KEY"}],"title":"Authorization"},{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"Pass the API key as a bearer token (Authorization: Bearer \u003capi-key>).","scopes":[],"schemeName":"Bearer"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Pass the API key as a bearer token (Authorization: Bearer \u003capi-key>).","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"Bearer","name":"Authorization"}],"title":"Bearer"}]},"originalFileLocation":"api-reference/risk-api.json"},"subdomain":"scanworksorg-e98555c2","siteName":"Range Docs","title":"Simulate a Solana Transaction - Range Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-12T13:26:34.348Z","gitLastModified":"2026-10-08T10:13:47.000Z","originalFileLocation":"risk-api/simulator/simulate-solana-transaction.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=\"Simulate a Solana transaction to get the address balance changes, state updates, and associated risk analysis.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Range Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/scanworksorg-e98555c2/-SvTKsC5XindXpaE/_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/scanworksorg-e98555c2/-SvTKsC5XindXpaE/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/scanworksorg-e98555c2/-SvTKsC5XindXpaE/_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/scanworksorg-e98555c2/-SvTKsC5XindXpaE/_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/scanworksorg-e98555c2/-SvTKsC5XindXpaE/_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/scanworksorg-e98555c2/-SvTKsC5XindXpaE/_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/scanworksorg-e98555c2/-SvTKsC5XindXpaE/_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/scanworksorg-e98555c2/-SvTKsC5XindXpaE/_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/scanworksorg-e98555c2/-SvTKsC5XindXpaE/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Simulate a Solana Transaction - Range Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Simulate a Solana transaction to get the address balance changes, state updates, and associated risk analysis.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Range Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.range.org/risk-api/simulator/simulate-solana-transaction\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://scanworksorg-e98555c2.mintlify.site/_mintlify/api/og/v2?division=Simulator\u0026amp;title=Simulate+a+Solana+Transaction\u0026amp;description=Simulate+a+Solana+transaction+to+get+the+address+balance+changes%2C+state+updates%2C+and+associated+risk+analysis.%0A\u0026amp;theme=8174c6e48531935bc4ef5e63\u0026amp;signature=a380b527e2a4e53e96955421f2b1d0a961be6ef2516b14bb824b92399c9c23e7\">\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=\"Simulate a Solana Transaction - Range Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Simulate a Solana transaction to get the address balance changes, state updates, and associated risk analysis.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://scanworksorg-e98555c2.mintlify.site/_mintlify/api/og/v2?division=Simulator\u0026amp;title=Simulate+a+Solana+Transaction\u0026amp;description=Simulate+a+Solana+transaction+to+get+the+address+balance+changes%2C+state+updates%2C+and+associated+risk+analysis.%0A\u0026amp;theme=8174c6e48531935bc4ef5e63\u0026amp;signature=a380b527e2a4e53e96955421f2b1d0a961be6ef2516b14bb824b92399c9c23e7\">\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/scanworksorg-e98555c2/-SvTKsC5XindXpaE/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Range Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#22543E\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.range.org/risk-api/simulator/simulate-solana-transaction\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/risk-api/simulator/simulate-solana-transaction.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.range.org/#organization\",\"name\":\"Range Docs\",\"url\":\"https://docs.range.org\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/scanworksorg-e98555c2/rU8x70kXjfl1xcdO/logo/light.svg?fit=max\u0026auto=format\u0026n=rU8x70kXjfl1xcdO\u0026q=85\u0026s=88897c7ff375b09dadab7e38f41fa952\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.range.org#website\",\"name\":\"Range Docs\",\"url\":\"https://docs.range.org\",\"publisher\":{\"@id\":\"https://docs.range.org/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.range.org/risk-api/simulator/simulate-solana-transaction#webpage\",\"url\":\"https://docs.range.org/risk-api/simulator/simulate-solana-transaction\",\"name\":\"Simulate a Solana Transaction\",\"description\":\"Simulate a Solana transaction to get the address balance changes, state updates, and associated risk analysis.\",\"dateModified\":\"2026-10-08T10:13:47.000Z\",\"isPartOf\":{\"@id\":\"https://docs.range.org#website\"},\"breadcrumb\":{\"@id\":\"https://docs.range.org/risk-api/simulator/simulate-solana-transaction#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.range.org/risk-api/simulator/simulate-solana-transaction#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Range Docs\",\"item\":\"https://docs.range.org\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Simulate a Solana Transaction\",\"item\":\"https://docs.range.org/risk-api/simulator/simulate-solana-transaction\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.range.org/risk-api/simulator/simulate-solana-transaction#apireference\",\"headline\":\"Simulate a Solana Transaction\",\"name\":\"Simulate a Solana Transaction\",\"description\":\"Simulate a Solana transaction to get the address balance changes, state updates, and associated risk analysis.\",\"url\":\"https://docs.range.org/risk-api/simulator/simulate-solana-transaction\",\"mainEntityOfPage\":{\"@id\":\"https://docs.range.org/risk-api/simulator/simulate-solana-transaction#webpage\"},\"dateModified\":\"2026-10-08T10:13:47.000Z\",\"publisher\":{\"@id\":\"https://docs.range.org/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.range.org#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Range Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Range Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/risk-api/simulator/simulate-solana-transaction.md","siteName":"Range Docs","nav":{"global":null,"tabs":[{"tab":"Overview","pages":[{"title":"Overview","href":"/introduction/about-range"}]},{"tab":"Data API","pages":[{"title":"Data API","href":"/data-api/data-introduction"}]},{"tab":"Risk API","groups":[{"group":"Overview","pages":[{"title":"Risk API","icon":"shield-check","href":"/risk-api/risk-introduction"},{"title":"Risk API Quickstart","icon":"rocket","href":"/risk-api/quickstart"}]},{"group":"Guides","icon":"book-open","pages":[{"title":"Building a Compliance Screening Pipeline","icon":"gavel","href":"/risk-api/guides/compliance-screening-pipeline"},{"title":"Wallet \u0026 dApp Integration","icon":"wallet","href":"/risk-api/guides/wallet-dapp-integration"},{"title":"Token Due Diligence","icon":"magnifying-glass-dollar","href":"/risk-api/guides/token-due-diligence"},{"title":"Transaction Simulation Guide","icon":"flask-vial","href":"/risk-api/guides/transaction-simulation"},{"title":"Onchain Risk Verifier: SigVerify Attestation","icon":"signature","href":"/risk-api/guides/sigverify-onchain-attestation"},{"title":"Payment Scam Prevention","icon":"user-shield","href":"/risk-api/guides/payment-scam-prevention"},{"title":"Privacy Protocol Screening","icon":"eye-slash","href":"/risk-api/guides/privacy-protocol-screening"}]},{"group":"Risk Endpoints","icon":"shield-check","expanded":true,"pages":[{"title":"Address Risk Score","openapi":"get /v1/risk/address","href":"/risk-api/risk/get-address-risk-score"},{"title":"Token Risk Assessment","openapi":"get /v1/risk/token","href":"/risk-api/risk/get-token-risk-assessment"},{"title":"Payment Risk Assessment","openapi":"get /v1/risk/payment","href":"/risk-api/risk/get-payment-risk-assessment"},{"openapi":"get /v1/risk/sanctions/{address}","title":"Sanctions and Blacklist Check","sidebarTitle":"Sanctions \u0026 Blacklist Check","href":"/risk-api/risk/get-sanctions-blacklist-check"},{"title":"Transaction Risk Score","tag":"soon","href":"/risk-api/risk/get-transaction-risk-score"},{"title":"Smart Contract Risk (Solana)","tag":"soon","href":"/risk-api/risk/get-smart-contract-risk"}]},{"group":"Risk v2 Endpoints","icon":"shield-halved","expanded":true,"pages":[{"title":"Score a Single Address","openapi":"get /v2/risk/address","href":"/risk-api/risk-v2/get-address-risk"},{"title":"Score Multiple Addresses","openapi":"get /v2/risk/address/batch","href":"/risk-api/risk-v2/get-address-risk-batch"},{"title":"List Screening History","openapi":"get /v2/risk/history","href":"/risk-api/risk-v2/get-history"},{"title":"Scan an Unsigned Transaction","openapi":"post /v2/risk/transaction/scan","href":"/risk-api/risk-v2/scan-unsigned-transaction"},{"title":"List Transaction Scans","openapi":"get /v2/risk/transaction/scans","href":"/risk-api/risk-v2/list-transaction-scans"},{"title":"Fetch Assessment Evidence","openapi":"get /v2/risk/evidence/{screenId}","href":"/risk-api/risk-v2/get-evidence"},{"title":"Get Risk Configuration","openapi":"get /v2/risk/config","href":"/risk-api/risk-v2/get-config"},{"title":"Update Risk Configuration","openapi":"api-reference/risk-api.json patch /v2/risk/config","href":"/risk-api/risk-v2/put-config"},{"title":"List Signals \u0026 Behaviours","openapi":"get /v2/risk/signals","href":"/risk-api/risk-v2/get-signals"}]},{"group":"Alerts","icon":"bell","expanded":false,"pages":[{"title":"List Alert Events","openapi":"api-reference/risk-api.json get /v1/risk/alert-events","href":"/risk-api/alerts/list-alert-events"},{"title":"Get an Alert Event","openapi":"api-reference/risk-api.json get /v1/risk/alert-events/{event_id}","description":"Retrieve one alert event by ID, with its severity, transaction hash, involved addresses, alert message, and decoded proposal for Squads multisig events.","href":"/risk-api/alerts/get-alert-event"}]},{"group":"Simulator","icon":"flask","expanded":false,"pages":[{"title":"Simulate a Solana Transaction","openapi":"post /v1/simulate/solana/transaction","href":"/risk-api/simulator/simulate-solana-transaction"},{"title":"Simulate Solana Transactions","openapi":"post /v1/simulate/solana/transactions","description":"Simulate multiple Solana transactions in a single request to get balance changes, state updates, and risk analysis for each.\n","href":"/risk-api/simulator/simulate-solana-transactions"},{"title":"Simulate Cosmos Transaction","openapi":"post /v1/simulate/{network}/transaction","href":"/risk-api/simulator/simulate-cosmos-transaction"},{"title":"Simulate an EVM Transaction","openapi":"post /v2/simulate/evm","href":"/risk-api/simulator/simulate-evm-transaction"}]},{"group":"Product Information","icon":"circle-info","pages":[{"title":"Understanding Risk Scores","icon":"input-numeric","href":"/risk-api/product-info/understanding-risk-scores"},{"title":"Supported Chains","icon":"link","href":"/risk-api/product-info/supported-chains"},{"title":"Supported Tokens","icon":"coins","href":"/risk-api/product-info/supported-tokens"},{"title":"Risk Data Sources","icon":"database","href":"/risk-api/product-info/risk-data-sources"}]}]},{"tab":"Platform API","pages":[{"title":"Platform API","href":"/platform-api/platform-introduction"}]},{"tab":"Range AI","pages":[{"title":"Range AI","href":"/ai/introduction"}]}]},"basePath":"","title":"Simulate a Solana Transaction - Range Docs","deploymentId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","buildId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-_HcdDqS2.js","snippetPresets-CXnm-WO6.js","utils-Dg59J__o.js","style-to-object-BY3JEAdk.js","utils-D8TRpdk7.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-B6QaxWc5.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DeMZ-lcM.js","_Uint8Array-BjA2mcVW.js","isObject-FP1Yky1u.js","ApiExamples-cjPyMv63.js","usePlaygroundInputsStore-D7BWoaw4.js","shallow-Z1ceDNSG.js","isEqual-BObTuQrO.js","CodeSnippets-D1UZ1AE-.js","CodeSnippet-B373COAT.js","getApiPlaygroundDisplay-CfL-UuDS.js","Page-DuqezyvM.js","DynamicMarkdown-5yMTCLas.js","SectionHeading-BxT1HYfP.js","icon-DYJTTD3g.js","MethodPill-4AyycJeu.js","getPastedJson-Bp3WV6cN.js","Check2Icon-PhZu6Gry.js","axios-CsQoIw0U.js","Markdown-Dy9a8hT8.js","AssistantPageLink-87tSPwGm.js","dist-CXMB3QQU.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}