API key for authentication. Obtain your key from the Dune dashboard at sim.dune.com.
Body
application/json
name
string
required
A descriptive name for the webhook.
url
string<uri>
required
The URL where webhook payloads will be sent.
type
enum<string>
required
The type of onchain event to subscribe to.
Available options:
transactions,
activities,
balances
addresses
string[]
required
List of addresses to monitor.
EVM address.
chain_ids
integer<int64>[] | null
Filter events to specific chain IDs. If omitted, all supported chains are included.
transaction_type
enum<string> | null
ONLY for 'transactions' type webhooks. Filter by sender or receiver. Cannot be used with other webhook types.
Available options:
sender,
receiver
counterparty
string | null
ONLY for 'transactions' type webhooks. Filter transactions by counterparty address.
activity_type
enum<string> | null
ONLY for 'activities' type webhooks. Filter by specific activity type. Cannot be used with other webhook types.
Available options:
approve,
mint,
burn,
receive,
send,
swap,
call
asset_type
enum<string> | null
Filter by asset type.
Available options:
native,
erc20,
erc721,
erc1155
token_address
string | null
Filter events to a specific token address.
Response
Webhook created successfully.
id
string<uuid>
The unique identifier for the webhook.
team_id
string
The team ID that owns this webhook.
name
string
A descriptive name for the webhook.
type
enum<string>
The type of onchain event to subscribe to.
Available options:
transactions,
activities,
balances
url
string<uri>
The URL where webhook payloads will be sent.
active
boolean
Whether the webhook is currently active.
created_at
string<date-time>
When the webhook was created.
updated_at
string<date-time>
When the webhook was last updated.
chain_ids
integer<int64>[] | null
Filter events to specific chain IDs. If null, all supported chains are included.
transaction_type
enum<string> | null
For transaction webhooks, filter by sender or receiver.
Available options:
sender,
receiver
counterparty
string | null
Filter transactions by counterparty address.
Example:
"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"
activity_type
enum<string> | null
For activity webhooks, filter by specific activity type.
Available options:
approve,
mint,
burn,
receive,
send,
swap,
call
asset_type
enum<string> | null
Filter by asset type.
Available options:
native,
erc20,
erc721,
erc1155
token_address
string | null
Filter events to a specific token address.
Example:
"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Sim by Dune","colors":{"primary":"#0f0f15","light":"#ffffff","dark":"#0f0f15"},"logo":{"light":"https://mintcdn.com/sim-dune/UshA8WhXhDWb1ZZH/logo/sim-logo-new-light.svg?fit=max\u0026auto=format\u0026n=UshA8WhXhDWb1ZZH\u0026q=85\u0026s=43fa443e5611d546269a6cebdfa2e3b7","dark":"https://mintcdn.com/sim-dune/UshA8WhXhDWb1ZZH/logo/sim-logo-new-dark.svg?fit=max\u0026auto=format\u0026n=UshA8WhXhDWb1ZZH\u0026q=85\u0026s=2fcd185ca69b39eb56af0aec5f793e58"},"favicon":"https://mintcdn.com/sim-dune/ZJaWY5isqbzG1C45/Dune_Favicon.svg?fit=max\u0026auto=format\u0026n=ZJaWY5isqbzG1C45\u0026q=85\u0026s=45fd3aa67c03b3d19c19e64549bfbcbc","api":{"examples":{"languages":["curl","javascript","python"]}},"navbar":{"links":[],"primary":{"type":"button","label":"Start Building","href":"https://sim.dune.com"}},"footer":{"socials":{"x":"https://x.com/dunesim","telegram":"https://t.me/+nvyoX5xyxNwyNjU0"}},"fonts":{"family":"Geist"},"contextual":{"options":["copy","view","chatgpt","cursor"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"sim-dune","hasAudioNarration":false,"actualSubdomain":"sim-dune","customDomains":["docs.sim.dune.com"],"gitSource":{"type":"github","owner":"duneanalytics","repo":"sim-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ae927904d41ff9f0fd9c614:success","clientVersion":"0.0.4342","searchFilterCounts":[{"language":"default","tag":"Sim APIs","count":110},{"language":"default","tag":"Blockchains","count":68},{"language":"default","tag":"Mainnets","count":63},{"language":"default","tag":"Ethereum \u0026 EVM Chains","count":17},{"language":"default","tag":"Subscriptions","count":9},{"language":"default","tag":"Testnets","count":5},{"language":"default","tag":"Guides","count":5},{"language":"default","tag":"Resources","count":3},{"language":"default","tag":"Wallet","count":3},{"language":"default","tag":"Solana","count":3}]},"assistantConfig":{},"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":"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":"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":"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":"turbopuffer-dual-write","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":"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":"control","enabled":true,"payload":{"type":"string","value":"control"},"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}],"starterQuestions":[],"googleFontsInlined":true},"customCss":[{"filePath":"styles.css","content":"#topbar-cta-button>a>span{border-radius:.5rem;background-color:#000}a.rounded-xl{border-radius:.5rem}html.dark #topbar-cta-button>a>span{background-color:#FFF}#topbar-cta-button>a>span+div>span{color:#FFF}html.dark #topbar-cta-button>a>span+div>span{color:#000}html.dark #topbar-cta-button>a>span+div>svg{color:#000}#footer .sm\\:flex>a{display:none!important}#navigation-items>div:not(:last-child){border-bottom:1px solid rgb(var(--gray-400)/0.2);padding-bottom:1rem}html.dark #navigation-items>div:not(:last-child){border-top-color:rgb(var(--gray-600)/0.3)}#navigation-items>div:not(:first-child){margin-top:1rem}a.link:not(.nav-tabs-item){border-bottom:1px solid rgb(var(--primary-dark))}#table-of-contents .toc-item.relative[data-depth=\"1\"]{display:none}#topbar-cta-button>a>span,#navigation-items .sidebar-group>li>a,#sidebar-group>li>a,#search-bar-entry,.chat-assistant-floating-input>div{border-radius:9999px}#page-context-menu>button:first-child{border-top-left-radius:9999px;border-bottom-left-radius:9999px}#page-context-menu>button:last-child{border-top-right-radius:9999px;border-bottom-right-radius:9999px}.nav-tabs-item,.nav-tabs,div:has(>.nav-tabs),#sidebar-content .sticky,#navigation-items button[type=\"button\"]{display:none!important}#table-of-contents{padding-top:0!important}"}]}
{"page":{"pagePath":"evm/subscriptions/create-webhook","slug":"/evm/subscriptions/create-webhook","pageMetadata":{"title":"Create Webhook","sidebarTitle":"Create Webhook","description":"Create a new webhook subscription to receive realtime onchain data.","openapi":"/openapi.json POST /beta/evm/subscriptions/webhooks","href":"/evm/subscriptions/create-webhook"},"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: \"Create a new webhook subscription to receive realtime onchain data.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Creates a new webhook subscription. When creating a webhook, you must specify:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`name`}),`: A descriptive name for your webhook`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`url`}),`: The endpoint where webhook payloads will be sent`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`type`}),`: The type of events to subscribe to (`,_jsx(_components.code,{children:`transactions`}),`, `,_jsx(_components.code,{children:`activities`}),`, or `,_jsx(_components.code,{children:`balances`}),`)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`addresses`}),`: An array of wallet addresses to monitor`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`optional-filters`,children:`Optional Filters`}),`\n`,_jsx(_components.p,{children:`You can narrow down the events you receive by adding optional filters:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`chain_ids`}),`: Monitor only specific chains (e.g., `,_jsx(_components.code,{children:`[1, 8453]`}),` for Ethereum and Base)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`transaction_type`}),`: For transaction webhooks, filter by `,_jsx(_components.code,{children:`sender`}),` or `,_jsx(_components.code,{children:`receiver`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`counterparty`}),`: Filter transactions by counterparty address`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`activity_type`}),`: For activity webhooks, filter by specific types (`,_jsx(_components.code,{children:`send`}),`, `,_jsx(_components.code,{children:`receive`}),`, `,_jsx(_components.code,{children:`swap`}),`, etc.)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`asset_type`}),`: Filter by asset type (`,_jsx(_components.code,{children:`native`}),`, `,_jsx(_components.code,{children:`erc20`}),`, `,_jsx(_components.code,{children:`erc721`}),`, `,_jsx(_components.code,{children:`erc1155`}),`)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`token_address`}),`: Monitor only a specific token contract`]}),`\n`]}),`\n`,_jsx(Tip,{children:_jsx(_components.p,{children:`Start with broad filters and narrow them down based on your app’s needs. This helps reduce unnecessary webhook deliveries.`})}),`\n`,_jsx(Heading,{level:`2`,id:`example-use-cases`,children:`Example Use Cases`}),`\n`,_jsx(Heading,{level:`3`,id:`monitor-usdc-balance-changes`,children:`Monitor USDC Balance Changes`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`9`,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:`9`,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:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"USDC Balance Monitor\"`}),_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:` \"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://example.com/webhooks/usdc\"`}),_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:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"balances\"`}),_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:` \"addresses\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045\"`}),_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:` \"chain_ids\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`8453`}),_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:` \"asset_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"erc20\"`}),_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:` \"token_address\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`track-all-incoming-transactions`,children:`Track All Incoming Transactions`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,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:`7`,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:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Incoming Transactions\"`}),_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:` \"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://example.com/webhooks/txns\"`}),_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:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"transactions\"`}),_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:` \"addresses\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045\"`}),_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:` \"transaction_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"receiver\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`monitor-swap-activities`,children:`Monitor Swap Activities`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,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:`7`,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:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Swap Monitor\"`}),_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:` \"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://example.com/webhooks/swaps\"`}),_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:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"activities\"`}),_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:` \"addresses\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045\"`}),_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:` \"activity_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"swap\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]})}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":"Create Webhook","sidebarTitle":"Create Webhook","description":"Create a new webhook subscription to receive realtime onchain data.","openapi":"/openapi.json POST /beta/evm/subscriptions/webhooks","href":"/evm/subscriptions/create-webhook"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Optional Filters","slug":"optional-filters","depth":2,"children":[]},{"title":"Example Use Cases","slug":"example-use-cases","depth":2,"children":[{"title":"Monitor USDC Balance Changes","slug":"monitor-usdc-balance-changes","depth":3,"children":[]},{"title":"Track All Incoming Transactions","slug":"track-all-incoming-transactions","depth":3,"children":[]},{"title":"Monitor Swap Activities","slug":"monitor-swap-activities","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/sim-dune/077f7a5b8f8f067c/custom.js"],"openApiReferenceData":{"operation":{"tags":["evm","subscriptions"],"summary":"Create a webhook","description":"Create a new webhook subscription to receive realtime onchain data.","operationId":"createWebhook","requestBody":"8255844b-2ba3-4eb8-a7f2-4a2570653584","responses":{"200":"11dfe43a-c107-4f19-8e50-bdf23521e16f","422":"235af110-c2a2-445d-a0af-75ef0c9552a8","429":"24735fb1-d8d6-449d-ae0c-3c6b9b9a9891"},"method":"post","type":"path","servers":["bdd43d09-2880-4db9-977d-66fa264952d0"],"security":["4f231720-a559-42cf-9130-d494200d765f"],"path":"/beta/evm/subscriptions/webhooks","baseUrlOptions":["https://api.sim.dune.com"],"title":"Create a webhook","codeSamples":[],"requestExampleLanguages":["bash","javascript","python"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name","url","type","addresses"],"properties":{"name":{"type":"string","description":"A descriptive name for the webhook.","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"url":{"type":"string","format":"uri","description":"The URL where webhook payloads will be sent.","isRequired":true,"uniqueKey":"url","typeLabel":"string\u003curi>"},"type":{"type":"string","enum":["transactions","activities","balances"],"description":"The type of onchain event to subscribe to.","isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"addresses":{"type":"array","items":{"type":"string","description":"EVM address.","uniqueKey":"addresses.items.[INDEX]","typeLabel":"string"},"description":"List of addresses to monitor.","isRequired":true,"uniqueKey":"addresses","typeLabel":"string[]"},"chain_ids":{"oneOf":[{"type":"array","items":{"type":"integer","format":"int64","uniqueKey":"chain_ids.oneOf.0.items.[INDEX]","typeLabel":"integer\u003cint64>"},"description":"Filter events to specific chain IDs. If omitted, all supported chains are included.","uniqueKey":"chain_ids.oneOf.0","typeLabel":"integer\u003cint64>[]"},{"type":"null","items":{"type":"integer","format":"int64"},"description":"Filter events to specific chain IDs. If omitted, all supported chains are included.","uniqueKey":"chain_ids.oneOf.1","typeLabel":"null"}],"uniqueKey":"chain_ids","typeLabel":"integer\u003cint64>[] | null"},"transaction_type":{"oneOf":[{"type":"string","description":"ONLY for 'transactions' type webhooks. Filter by sender or receiver. Cannot be used with other webhook types.","enum":["sender","receiver"],"uniqueKey":"transaction_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"transaction_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"transaction_type","typeLabel":"enum\u003cstring> | null"},"counterparty":{"oneOf":[{"type":"string","description":"ONLY for 'transactions' type webhooks. Filter transactions by counterparty address.","uniqueKey":"counterparty.oneOf.0","typeLabel":"string"},{"type":"null","description":"ONLY for 'transactions' type webhooks. Filter transactions by counterparty address.","uniqueKey":"counterparty.oneOf.1","typeLabel":"null"}],"uniqueKey":"counterparty","typeLabel":"string | null"},"activity_type":{"oneOf":[{"type":"string","description":"ONLY for 'activities' type webhooks. Filter by specific activity type. Cannot be used with other webhook types.","enum":["approve","mint","burn","receive","send","swap","call"],"uniqueKey":"activity_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"activity_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"activity_type","typeLabel":"enum\u003cstring> | null"},"asset_type":{"oneOf":[{"type":"string","description":"Filter by asset type.","enum":["native","erc20","erc721","erc1155"],"uniqueKey":"asset_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"asset_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"asset_type","typeLabel":"enum\u003cstring> | null"},"token_address":{"oneOf":[{"type":"string","description":"Filter events to a specific token address.","uniqueKey":"token_address.oneOf.0","typeLabel":"string"},{"type":"null","description":"Filter events to a specific token address.","uniqueKey":"token_address.oneOf.1","typeLabel":"null"}],"uniqueKey":"token_address","typeLabel":"string | null"}},"uniqueKey":"","typeLabel":"object"},"example":{"name":"USDC Balance Monitor","url":"https://example.com/webhooks/usdc-balances","type":"balances","addresses":["0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"],"chain_ids":[1,8453],"asset_type":"erc20","token_address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"},"examples":{"Example":{"title":"Example","value":{"name":"USDC Balance Monitor","url":"https://example.com/webhooks/usdc-balances","type":"balances","addresses":["0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"],"chain_ids":[1,8453],"asset_type":"erc20","token_address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"11dfe43a-c107-4f19-8e50-bdf23521e16f":{"description":"Webhook created successfully.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The unique identifier for the webhook.","uniqueKey":"id","typeLabel":"string\u003cuuid>"},"team_id":{"type":"string","description":"The team ID that owns this webhook.","uniqueKey":"team_id","typeLabel":"string"},"name":{"type":"string","description":"A descriptive name for the webhook.","uniqueKey":"name","typeLabel":"string"},"type":{"type":"string","enum":["transactions","activities","balances"],"description":"The type of onchain event to subscribe to.","uniqueKey":"type","typeLabel":"enum\u003cstring>"},"url":{"type":"string","format":"uri","description":"The URL where webhook payloads will be sent.","uniqueKey":"url","typeLabel":"string\u003curi>"},"active":{"type":"boolean","description":"Whether the webhook is currently active.","uniqueKey":"active","typeLabel":"boolean"},"created_at":{"type":"string","format":"date-time","description":"When the webhook was created.","uniqueKey":"created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","description":"When the webhook was last updated.","uniqueKey":"updated_at","typeLabel":"string\u003cdate-time>"},"chain_ids":{"oneOf":[{"type":"array","items":{"type":"integer","format":"int64","uniqueKey":"chain_ids.oneOf.0.items.[INDEX]","typeLabel":"integer\u003cint64>"},"description":"Filter events to specific chain IDs. If null, all supported chains are included.","uniqueKey":"chain_ids.oneOf.0","typeLabel":"integer\u003cint64>[]"},{"type":"null","items":{"type":"integer","format":"int64"},"description":"Filter events to specific chain IDs. If null, all supported chains are included.","uniqueKey":"chain_ids.oneOf.1","typeLabel":"null"}],"uniqueKey":"chain_ids","typeLabel":"integer\u003cint64>[] | null"},"transaction_type":{"oneOf":[{"type":"string","description":"For transaction webhooks, filter by sender or receiver.","enum":["sender","receiver"],"uniqueKey":"transaction_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"transaction_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"transaction_type","typeLabel":"enum\u003cstring> | null"},"counterparty":{"oneOf":[{"type":"string","description":"Filter transactions by counterparty address.","example":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045","uniqueKey":"counterparty.oneOf.0","typeLabel":"string"},{"type":"null","description":"Filter transactions by counterparty address.","example":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045","uniqueKey":"counterparty.oneOf.1","typeLabel":"null"}],"uniqueKey":"counterparty","typeLabel":"string | null"},"activity_type":{"oneOf":[{"type":"string","description":"For activity webhooks, filter by specific activity type.","enum":["approve","mint","burn","receive","send","swap","call"],"uniqueKey":"activity_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"activity_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"activity_type","typeLabel":"enum\u003cstring> | null"},"asset_type":{"oneOf":[{"type":"string","description":"Filter by asset type.","enum":["native","erc20","erc721","erc1155"],"uniqueKey":"asset_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"asset_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"asset_type","typeLabel":"enum\u003cstring> | null"},"token_address":{"oneOf":[{"type":"string","description":"Filter events to a specific token address.","example":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","uniqueKey":"token_address.oneOf.0","typeLabel":"string"},{"type":"null","description":"Filter events to a specific token address.","example":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","uniqueKey":"token_address.oneOf.1","typeLabel":"null"}],"uniqueKey":"token_address","typeLabel":"string | null"}},"uniqueKey":"","typeLabel":"object"},"example":{"id":"019a81c2-d84b-7141-85e8-86b072a59142","team_id":"01K7RVMRT0BXQ9DRC8BK87MK39","name":"Balance Changes Tracker","type":"balances","url":"https://example.com/webhooks/balances","active":true,"created_at":"2025-11-14T09:47:01.580104Z","updated_at":"2025-11-14T09:47:01.580104Z","chain_ids":[1,8453,84532]},"examples":{"Example":{"title":"Example","value":{"id":"019a81c2-d84b-7141-85e8-86b072a59142","team_id":"01K7RVMRT0BXQ9DRC8BK87MK39","name":"Balance Changes Tracker","type":"balances","url":"https://example.com/webhooks/balances","active":true,"created_at":"2025-11-14T09:47:01.580104Z","updated_at":"2025-11-14T09:47:01.580104Z","chain_ids":[1,8453,84532]}}},"exampleType":"examples"}},"exampleType":"examples"},"235af110-c2a2-445d-a0af-75ef0c9552a8":{"description":"Validation error for request body.","content":{"text/plain":{"schema":{"type":"string","example":"Failed to deserialize the JSON body into the target type: missing field `name` at line 1 column 2","uniqueKey":"","typeLabel":"string"},"examples":{"Example":{"title":"Example","value":"Failed to deserialize the JSON body into the target type: missing field `name` at line 1 column 2"}},"exampleType":"generated"}},"exampleType":"generated"},"24735fb1-d8d6-449d-ae0c-3c6b9b9a9891":{"description":"Rate Limit Exceeded - Too many requests.","content":{"application/json":{"schema":{"type":"object","description":"Error response from the API gateway. Returned for authentication, permissions, rate-limiting, and quota errors.","properties":{"error":{"type":"string","description":"Error message.","isRequired":true,"uniqueKey":"error","typeLabel":"string"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"rateLimitExceeded":{"title":"rateLimitExceeded","value":{"error":"Too many requests. Please contact sales@dune.com to increase your limit."}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"4f231720-a559-42cf-9130-d494200d765f":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-Sim-Api-Key","description":"API key for authentication. Obtain your key from the Dune dashboard at sim.dune.com.","scopes":[]}}},"servers":{"bdd43d09-2880-4db9-977d-66fa264952d0":{"url":"https://api.sim.dune.com"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"X-Sim-Api-Key","description":"API key for authentication. Obtain your key from the Dune dashboard at sim.dune.com.","scopes":[]},"schema":{"title":"X-Sim-Api-Key","type":"string","description":"API key for authentication. Obtain your key from the Dune dashboard at sim.dune.com.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyAuth","name":"X-Sim-Api-Key"}],"title":"ApiKeyAuth"}]},"originalFileLocation":"openapi.json"},"subdomain":"sim-dune","siteName":"Sim by Dune","title":"Create Webhook - Sim by Dune","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"originalFileLocation":"evm/subscriptions/create-webhook.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=\"Create a new webhook subscription to receive realtime onchain data.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Sim by Dune\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/sim-dune/QxKr0wTKzB3JTxKW/_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/sim-dune/QxKr0wTKzB3JTxKW/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/sim-dune/QxKr0wTKzB3JTxKW/_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/sim-dune/QxKr0wTKzB3JTxKW/_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/sim-dune/QxKr0wTKzB3JTxKW/_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/sim-dune/QxKr0wTKzB3JTxKW/_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/sim-dune/QxKr0wTKzB3JTxKW/_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/sim-dune/QxKr0wTKzB3JTxKW/_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/sim-dune/QxKr0wTKzB3JTxKW/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create Webhook - Sim by Dune\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create a new webhook subscription to receive realtime onchain data.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Sim by Dune\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.sim.dune.com/evm/subscriptions/create-webhook\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://sim-dune.mintlify.site/_mintlify/api/og/v2?division=Subscriptions\u0026amp;title=Create+Webhook\u0026amp;description=Create+a+new+webhook+subscription+to+receive+realtime+onchain+data.\u0026amp;theme=e4a8fd991bc3d827b909dcee\u0026amp;signature=18cbe6e2bf98e744d5e34dec87c70c1e562a95b86f3c7c0d9693eb55665b47ed\">\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=\"Create Webhook - Sim by Dune\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create a new webhook subscription to receive realtime onchain data.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://sim-dune.mintlify.site/_mintlify/api/og/v2?division=Subscriptions\u0026amp;title=Create+Webhook\u0026amp;description=Create+a+new+webhook+subscription+to+receive+realtime+onchain+data.\u0026amp;theme=e4a8fd991bc3d827b909dcee\u0026amp;signature=18cbe6e2bf98e744d5e34dec87c70c1e562a95b86f3c7c0d9693eb55665b47ed\">\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/sim-dune/QxKr0wTKzB3JTxKW/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Sim by Dune\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0f0f15\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.sim.dune.com/evm/subscriptions/create-webhook\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/evm/subscriptions/create-webhook.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.sim.dune.com/#organization\",\"name\":\"Sim by Dune\",\"url\":\"https://docs.sim.dune.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/sim-dune/UshA8WhXhDWb1ZZH/logo/sim-logo-new-light.svg?fit=max\u0026auto=format\u0026n=UshA8WhXhDWb1ZZH\u0026q=85\u0026s=43fa443e5611d546269a6cebdfa2e3b7\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.sim.dune.com#website\",\"name\":\"Sim by Dune\",\"url\":\"https://docs.sim.dune.com\",\"publisher\":{\"@id\":\"https://docs.sim.dune.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.sim.dune.com/evm/subscriptions/create-webhook#webpage\",\"url\":\"https://docs.sim.dune.com/evm/subscriptions/create-webhook\",\"name\":\"Create Webhook\",\"description\":\"Create a new webhook subscription to receive realtime onchain data.\",\"isPartOf\":{\"@id\":\"https://docs.sim.dune.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.sim.dune.com/evm/subscriptions/create-webhook#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.sim.dune.com/evm/subscriptions/create-webhook#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Subscriptions\",\"item\":\"https://docs.sim.dune.com/evm/subscriptions\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create Webhook\",\"item\":\"https://docs.sim.dune.com/evm/subscriptions/create-webhook\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.sim.dune.com/evm/subscriptions/create-webhook#apireference\",\"headline\":\"Create Webhook\",\"name\":\"Create Webhook\",\"description\":\"Create a new webhook subscription to receive realtime onchain data.\",\"url\":\"https://docs.sim.dune.com/evm/subscriptions/create-webhook\",\"mainEntityOfPage\":{\"@id\":\"https://docs.sim.dune.com/evm/subscriptions/create-webhook#webpage\"},\"publisher\":{\"@id\":\"https://docs.sim.dune.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.sim.dune.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Sim by Dune\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Sim by Dune\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/evm/subscriptions/create-webhook.md","siteName":"Sim by Dune","nav":{"global":null,"tabs":[{"tab":"Sim APIs","groups":[{"group":"Sim APIs","pages":[{"title":"Developer Quickstart","sidebarTitle":"Quickstart","href":""},{"title":"Support","href":"/support"},{"title":"Compute Units","sidebarTitle":"Compute Units","href":"/compute-units"},{"title":"Dune Analytics API","url":"https://docs.dune.com/api-reference/overview/introduction","href":"/dune-analytics-api"}]},{"group":"Build with AI","pages":[{"title":"LLMs \u0026 AI Tools for Sim APIs","sidebarTitle":"LLMs \u0026 AI Tools","href":"/build-with-ai"},{"title":"Agent Reference","sidebarTitle":"Agent Reference","href":"/agent-reference"}]},{"group":"Ethereum \u0026 EVM Chains","pages":[{"title":"EVM Overview","sidebarTitle":"Overview","href":"/evm/overview"},{"group":"Guides","pages":[{"group":"Wallet","pages":[{"title":"Build a Realtime Wallet","sidebarTitle":"1. Build a Realtime Wallet","href":"/evm/build-a-realtime-wallet"},{"title":"Add Account Activity","sidebarTitle":"2. Add Account Activity","href":"/evm/add-account-activity"},{"title":"Show NFT Collectibles in Your Wallet","sidebarTitle":"3. Show NFTs/Collectibles","href":"/evm/show-nfts-collectibles"}]},{"title":"Build a Realtime Chat Agent","sidebarTitle":"Agent","href":"/evm/build-a-realtime-chat-agent"},{"title":"Build a Top Token Holders Tracker Bot","sidebarTitle":"Top Token Holders Tracker Bot","href":"/evm/build-a-top-holders-tracker-bot"}]},{"title":"Supported Chains","sidebarTitle":"Supported Chains","openapi":"/openapi.json GET /v1/evm/supported-chains","href":"/evm/supported-chains"},{"title":"Balances","openapi":"/openapi.json GET /v1/evm/balances/{address}","sidebarTitle":"Balances","href":"/evm/balances"},{"title":"Stablecoins","openapi":"/openapi.json GET /v1/evm/balances/{address}/stablecoins","sidebarTitle":"Stablecoins","href":"/evm/stablecoins"},{"title":"Activity","sidebarTitle":"Activity","openapi":"/openapi.json GET /v1/evm/activity/{address}","href":"/evm/activity"},{"title":"Collectibles","sidebarTitle":"Collectibles","openapi":"/openapi.json GET /v1/evm/collectibles/{address}","href":"/evm/collectibles"},{"title":"DeFi Positions","openapi":"/openapi.json GET /v1/evm/defi/positions/{address}","sidebarTitle":"DeFi Positions","href":"/evm/defi-positions"},{"title":"DeFi Supported Protocols","sidebarTitle":"DeFi Protocol Coverage","openapi":"/openapi.json GET /v1/evm/defi/supported-protocols","href":"/evm/defi/supported-protocols"},{"title":"Transactions","openapi":"/openapi.json GET /v1/evm/transactions/{address}","sidebarTitle":"Transactions","href":"/evm/transactions"},{"title":"Token Info","sidebarTitle":"Token Info","openapi":"/openapi.json GET /v1/evm/token-info/{address}","href":"/evm/token-info"},{"title":"Token Holders","sidebarTitle":"Token Holders","openapi":"/openapi.json GET /v1/evm/token-holders/{chain_id}/{address}","href":"/evm/token-holders"},{"title":"Search Tokens","sidebarTitle":"Search Tokens","openapi":"/openapi.json GET /v1/evm/search/tokens","href":"/evm/search-tokens"}]},{"group":"Subscriptions","pages":[{"title":"Subscriptions API","sidebarTitle":"Overview","href":"/evm/subscriptions"},{"title":"List Webhooks","sidebarTitle":"List Webhooks","description":"Retrieve a paginated list of all webhook subscriptions for your team.","openapi":"/openapi.json GET /beta/evm/subscriptions/webhooks","href":"/evm/subscriptions/list-webhooks"},{"title":"Create Webhook","sidebarTitle":"Create Webhook","openapi":"/openapi.json POST /beta/evm/subscriptions/webhooks","href":"/evm/subscriptions/create-webhook"},{"title":"Get Webhook","sidebarTitle":"Get Webhook","description":"Retrieve detailed information about a specific webhook subscription.","openapi":"/openapi.json GET /beta/evm/subscriptions/webhooks/{webhookId}","href":"/evm/subscriptions/get-webhook"},{"title":"Update Webhook","sidebarTitle":"Update Webhook","openapi":"/openapi.json PATCH /beta/evm/subscriptions/webhooks/{webhookId}","href":"/evm/subscriptions/update-webhook"},{"title":"Delete Webhook","sidebarTitle":"Delete Webhook","openapi":"/openapi.json DELETE /beta/evm/subscriptions/webhooks/{webhookId}","href":"/evm/subscriptions/delete-webhook"},{"title":"Get Webhook Addresses","sidebarTitle":"Get Addresses","openapi":"/openapi.json GET /beta/evm/subscriptions/webhooks/{webhookId}/addresses","href":"/evm/subscriptions/get-webhook-addresses"},{"title":"Update Addresses","sidebarTitle":"Update Addresses","openapi":"/openapi.json PATCH /beta/evm/subscriptions/webhooks/{webhookId}/addresses","href":"/evm/subscriptions/update-webhook-addresses"},{"title":"Replace Webhook Addresses","sidebarTitle":"Replace Addresses","openapi":"/openapi.json PUT /beta/evm/subscriptions/webhooks/{webhookId}/addresses","href":"/evm/subscriptions/replace-webhook-addresses"}]},{"group":"Solana","pages":[{"title":"Solana Overview","sidebarTitle":"Overview","href":"/svm/overview"},{"title":"Solana Balances","sidebarTitle":"Balances","openapi":"/openapi.json GET /beta/svm/balances/{address}","href":"/svm/balances"},{"title":"Solana Transactions","sidebarTitle":"Transactions","openapi":"/openapi.json GET /beta/svm/transactions/{address}","href":"/svm/transactions"}]},{"group":"Blockchains","pages":[{"group":"Mainnets","pages":[{"title":"Abstract","sidebarTitle":"Abstract","href":"/chains/abstract"},{"title":"Ancient8","sidebarTitle":"Ancient8","href":"/chains/ancient8"},{"title":"ApeChain","sidebarTitle":"ApeChain","href":"/chains/ape_chain"},{"title":"Arbitrum","sidebarTitle":"Arbitrum","href":"/chains/arbitrum"},{"title":"Arbitrum Nova","sidebarTitle":"Arbitrum Nova","href":"/chains/arbitrum_nova"},{"title":"Avalanche C-Chain","sidebarTitle":"Avalanche C-Chain","href":"/chains/avalanche_c"},{"title":"B3","sidebarTitle":"B3","href":"/chains/b3"},{"title":"Base","sidebarTitle":"Base","href":"/chains/base"},{"title":"Berachain","sidebarTitle":"Berachain","href":"/chains/berachain"},{"title":"Blast","sidebarTitle":"Blast","href":"/chains/blast"},{"title":"BNB Chain","sidebarTitle":"BNB Chain","href":"/chains/bnb"},{"title":"BOB","sidebarTitle":"BOB","href":"/chains/bob"},{"title":"Boba","sidebarTitle":"Boba","href":"/chains/boba"},{"title":"Celo","sidebarTitle":"Celo","href":"/chains/celo"},{"title":"Corn","sidebarTitle":"Corn","href":"/chains/corn"},{"title":"Cyber","sidebarTitle":"Cyber","href":"/chains/cyber"},{"title":"Degen","sidebarTitle":"Degen","href":"/chains/degen"},{"title":"Ethereum","sidebarTitle":"Ethereum","href":"/chains/ethereum"},{"title":"Fantom","sidebarTitle":"Fantom","href":"/chains/fantom"},{"title":"Flare","sidebarTitle":"Flare","href":"/chains/flare"},{"title":"Fraxtal","sidebarTitle":"Fraxtal","href":"/chains/fraxtal"},{"title":"Gnosis","sidebarTitle":"Gnosis","href":"/chains/gnosis"},{"title":"HyperEVM","sidebarTitle":"HyperEVM","href":"/chains/hyper_evm"},{"title":"Ink","sidebarTitle":"Ink","href":"/chains/ink"},{"title":"Kaia","sidebarTitle":"Kaia","href":"/chains/kaia"},{"title":"Katana","sidebarTitle":"Katana","href":"/chains/katana"},{"title":"Linea","sidebarTitle":"Linea","href":"/chains/linea"},{"title":"Lisk","sidebarTitle":"Lisk","href":"/chains/lisk"},{"title":"Mantle","sidebarTitle":"Mantle","href":"/chains/mantle"},{"title":"Metis","sidebarTitle":"Metis","href":"/chains/metis"},{"title":"Mode","sidebarTitle":"Mode","href":"/chains/mode"},{"title":"Monad","sidebarTitle":"Monad","href":"/chains/monad"},{"title":"Omni","sidebarTitle":"Omni","href":"/chains/omni"},{"title":"opBNB","sidebarTitle":"opBNB","href":"/chains/opbnb"},{"title":"Optimism","sidebarTitle":"Optimism","href":"/chains/optimism"},{"title":"Peaq","sidebarTitle":"Peaq","href":"/chains/peaq"},{"title":"Plasma","sidebarTitle":"Plasma","href":"/chains/plasma"},{"title":"Polygon","sidebarTitle":"Polygon","href":"/chains/polygon"},{"title":"Rari","sidebarTitle":"Rari","href":"/chains/rari"},{"title":"Redstone","sidebarTitle":"Redstone","href":"/chains/redstone"},{"title":"Ronin","sidebarTitle":"Ronin","href":"/chains/ronin"},{"title":"Rootstock","sidebarTitle":"Rootstock","href":"/chains/rootstock"},{"title":"Scroll","sidebarTitle":"Scroll","href":"/chains/scroll"},{"title":"Sei","sidebarTitle":"Sei","href":"/chains/sei"},{"title":"Shape","sidebarTitle":"Shape","href":"/chains/shape"},{"title":"Soneium","sidebarTitle":"Soneium","href":"/chains/soneium"},{"title":"Sonic","sidebarTitle":"Sonic","href":"/chains/sonic"},{"title":"Stable","sidebarTitle":"Stable","href":"/chains/stable"},{"title":"Superposition","sidebarTitle":"Superposition","href":"/chains/superposition"},{"title":"Superseed","sidebarTitle":"Superseed","href":"/chains/superseed"},{"title":"Swellchain","sidebarTitle":"Swellchain","href":"/chains/swellchain"},{"title":"Tempo","sidebarTitle":"Tempo","href":"/chains/tempo"},{"title":"Tempo Mainnet","sidebarTitle":"Tempo Mainnet","href":"/chains/tempo_mainnet"},{"title":"Unichain","sidebarTitle":"Unichain","href":"/chains/unichain"},{"title":"Wemix","sidebarTitle":"Wemix","href":"/chains/wemix"},{"title":"World","sidebarTitle":"World","href":"/chains/world"},{"title":"Xai","sidebarTitle":"Xai","href":"/chains/xai"},{"title":"Zero Network","sidebarTitle":"Zero Network","href":"/chains/zero_network"},{"title":"Polygon zkEVM","sidebarTitle":"Polygon zkEVM","href":"/chains/zkevm"},{"title":"zkSync","sidebarTitle":"zkSync","href":"/chains/zksync"},{"title":"Zora","sidebarTitle":"Zora","href":"/chains/zora"},{"title":"Solana","sidebarTitle":"Solana","href":"/chains/solana"},{"title":"Eclipse","sidebarTitle":"Eclipse","href":"/chains/eclipse"}]},{"group":"Testnets","pages":[{"title":"Avalanche Fuji","sidebarTitle":"Avalanche Fuji","href":"/chains/avalanche_fuji"},{"title":"Base Sepolia","sidebarTitle":"Base Sepolia","href":"/chains/base_sepolia"},{"title":"Monad Testnet","sidebarTitle":"Monad Testnet","href":"/chains/monad_testnet"},{"title":"Polygon Amoy","sidebarTitle":"Polygon Amoy","href":"/chains/polygon_amoy"},{"title":"Sepolia","sidebarTitle":"Sepolia","href":"/chains/sepolia"}]}]},{"group":"Resources","pages":[{"title":"Token \u0026 Spam Filtering","sidebarTitle":"Token \u0026 Spam Filtering","href":"/token-filtering"},{"title":"Error Handling","href":"/error-handling"},{"title":"Cloudflare Proxy","href":"/proxy"}]}]}]},"basePath":"","title":"Create Webhook - Sim by Dune","deploymentId":"dpl_QQ3G2kinQNQFFK6Sh8dmX2teK74w","buildId":"dpl_QQ3G2kinQNQFFK6Sh8dmX2teK74w","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CyAr6xD1.js","snippetPresets-BSqedH3o.js","utils-DXfQSZU_.js","style-to-object-BY3JEAdk.js","utils-DiMyLQC-.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-DvPCxzT8.js","conditional-requirements-CFM0id0Q.js","cloneDeep-dx7iM-7h.js","_Uint8Array-DpQIK2Aw.js","isObject-FP1Yky1u.js","ApiExamples-B2sy5qvP.js","usePlaygroundInputsStore-BDc5FJKB.js","shallow-DxZq5uhD.js","isEqual-Bl_IuwU4.js","CodeSnippets-D1UoeS-I.js","CodeSnippet-C87it1Zg.js","use-playground-group-access-DyECiQ2v.js","Page-wigwbDGe.js","api-description-markdown-DHZIfeWZ.js","DynamicMarkdown-D8KwOkxZ.js","SectionHeading-uish4Ed2.js","MethodPill-DR7O5MCP.js","getPastedJson-D2WQib0m.js","Check2Icon-CUuzblYS.js","axios-CsQoIw0U.js","Markdown-K6_WYP3x.js","AssistantPageLink-BrppVW5v.js","dist-OmDnwAnM.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}