Maps to ramsSetExecutorAction. signerAddress must be the AgentExecutor owner; the operation is always client-signed.Pass either selector (4 bytes) or its left-aligned bytes32 action, then set the ActionSpec fields: supported, hasAmount, and amountIndex when the action carries value.
Registering a value-bearing selector with hasAmount: false bypasses mandate transaction and cumulative caps. Use the correct zero-based ABI word index.
Preparing does not touch the chain. The response gives you txId, the unsigned transactions, and an x402Requirements quote.
1
Choose who broadcasts
client-signed (the default) — you sign the transaction and Brickken broadcasts it. client-broadcast — you sign and broadcast it yourself, then confirm with txHash. Either way the operation price is split evenly: half at prepare, half at send.
2
Submit it and settle the payment
POST to /send-transactions. The first attempt answers 402 Payment Required; read PAYMENT-REQUIRED, sign the payment locally, and retry with X-PAYMENT. An x-api-key is accepted here instead of paying.
3
Poll until it confirms
Call GET /get-transaction-status with the txId. Your payment settles only after the operation confirms, and is released if it reverts.
See Authentication for the payment handshake and Pricing for the per-operation cost.
Required when hasAmount is true: zero-based index of the amount word in the calldata (uint8). E.g. 2 for transferFrom(from, to, amount). Ignored (0) when hasAmount is false.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Brickken Documentation","colors":{"primary":"#4C82df","light":"#4C82df","dark":"#4C82df"},"logo":{"light":"https://mintcdn.com/brickken/UYpLPKOSKNI6CnjX/logo/light.svg?fit=max\u0026auto=format\u0026n=UYpLPKOSKNI6CnjX\u0026q=85\u0026s=192d7d8eaa4997ed5fe5ebf73e4e6aee","dark":"https://mintcdn.com/brickken/UYpLPKOSKNI6CnjX/logo/dark.svg?fit=max\u0026auto=format\u0026n=UYpLPKOSKNI6CnjX\u0026q=85\u0026s=a65d0b5432e2917c02ee6ed31984af6f"},"favicon":"https://mintcdn.com/brickken/UYpLPKOSKNI6CnjX/favicon.svg?fit=max\u0026auto=format\u0026n=UYpLPKOSKNI6CnjX\u0026q=85\u0026s=51afb98395641cf97bb79fb30a48d4b1","navbar":{"links":[{"href":"https://docs.brickken.com/get-started/request-api-key","label":"Get an API key"},{"href":"mailto:support@brickken.com","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://dapp.brickken.com/en/dashboard/home"}},"footer":{"socials":{"x":"https://x.com/brickken","instagram":"https://www.instagram.com/brickken","facebook":"https://www.facebook.com/Brickken","linkedin":"https://www.linkedin.com/company/brickken","youtube":"https://www.youtube.com/@Brickken","discord":"https://discord.com/invite/FBsBVsBqxV"}},"contextual":{"options":[{"title":"Documentation","description":"Open the Brickken documentation home.","icon":"book-open-cover","href":"https://docs.brickken.com"},{"title":"Community","description":"Join the Brickken community on Discord.","icon":"discord","href":"https://discord.com/invite/brickken-official-community-851756929268056086"},{"title":"Blog","description":"Read the Brickken blog.","icon":"newspaper","href":"https://www.brickken.com/blog"}],"display":"toc"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Authentication","icon":"key","href":"/get-started/authentication"},{"anchor":"Request an API key","icon":"envelope","href":"/get-started/request-api-key"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"brickken","hasAudioNarration":false,"actualSubdomain":"brickken","customDomains":["docs.brickken.com"],"gitSource":{"type":"github","owner":"fbrickken","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a9844f4157c701ea07b7cc9","collectionId":"7f2c4ef2-df49-47ac-9084-833a740401c6","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6a9844f4157c701ea07b7cc9"},"entitlements":{},"buildId":"6a9844f4157c701ea07b7cc9","clientVersion":"0.0.3990","searchFilterCounts":[{"language":"default","tag":"Agentic API","count":36},{"language":"default","tag":"Dapp API","count":34},{"language":"default","tag":"SDK","count":14},{"language":"default","tag":"Prepare Transactions","count":13},{"language":"default","tag":"Read Endpoints","count":13},{"language":"default","tag":"CLI","count":13},{"language":"default","tag":"RAMS Mandates (ERC-8226)","count":11},{"language":"default","tag":"Overview","count":8},{"language":"default","tag":"Get Started","count":8},{"language":"default","tag":"Guides","count":8}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-nav-generations","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","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":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"isAtlas":false,"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/endpoint/x402-rams-set-executor-action","slug":"/api-reference/endpoint/x402-rams-set-executor-action","pageMetadata":{"title":"Set RAMS Executor Action","openapi":"POST /x402/rams/set-executor-action","description":"Register or update the ActionSpec for a function selector on an AgentExecutor.","href":"/api-reference/endpoint/x402-rams-set-executor-action"},"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: \"Register or update the ActionSpec for a function selector on an AgentExecutor.\"\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`,p:`p`,..._provideComponents(),...props.components},{Heading,Step,Steps,Warning}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Maps to `,_jsx(_components.code,{children:`ramsSetExecutorAction`}),`. `,_jsx(_components.code,{children:`signerAddress`}),` must be the AgentExecutor owner; the operation is always client-signed.`]}),`\n`,_jsxs(_components.p,{children:[`Pass either `,_jsx(_components.code,{children:`selector`}),` (4 bytes) or its left-aligned bytes32 `,_jsx(_components.code,{children:`action`}),`, then set the `,_jsx(_components.code,{children:`ActionSpec`}),` fields: `,_jsx(_components.code,{children:`supported`}),`, `,_jsx(_components.code,{children:`hasAmount`}),`, and `,_jsx(_components.code,{children:`amountIndex`}),` when the action carries value.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Registering a value-bearing selector with `,_jsx(_components.code,{children:`hasAmount: false`}),` bypasses mandate transaction and cumulative caps. Use the correct zero-based ABI word index.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`next-step`,children:`Next step`}),`\n`,_jsxs(_components.p,{children:[`Preparing does not touch the chain. The response gives you `,_jsx(_components.code,{children:`txId`}),`, the unsigned `,_jsx(_components.code,{children:`transactions`}),`, and an `,_jsx(_components.code,{children:`x402Requirements`}),` quote.`]}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Choose who broadcasts`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`client-signed`}),` (the default) — you sign the transaction and Brickken broadcasts it. `,_jsx(_components.code,{children:`client-broadcast`}),` — you sign and broadcast it yourself, then confirm with `,_jsx(_components.code,{children:`txHash`}),`. Either way the operation price is split evenly: half at prepare, half at send.`]})}),_jsx(Step,{title:`Submit it and settle the payment`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`POST`}),` to `,_jsx(_components.a,{href:`/api-reference/endpoint/send`,children:_jsx(_components.code,{children:`/send-transactions`})}),`. The first attempt answers `,_jsx(_components.code,{children:`402 Payment Required`}),`; read `,_jsx(_components.code,{children:`PAYMENT-REQUIRED`}),`, sign the payment locally, and retry with `,_jsx(_components.code,{children:`X-PAYMENT`}),`. An `,_jsx(_components.code,{children:`x-api-key`}),` is accepted here instead of paying.`]})}),_jsx(Step,{title:`Poll until it confirms`,children:_jsxs(_components.p,{children:[`Call `,_jsx(_components.a,{href:`/api-reference/endpoint/get-transaction-status`,children:_jsx(_components.code,{children:`GET /get-transaction-status`})}),` with the `,_jsx(_components.code,{children:`txId`}),`. Your payment settles only after the operation confirms, and is released if it reverts.`]})})]}),`\n`,_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/get-started/authentication`,children:`Authentication`}),` for the payment handshake and `,_jsx(_components.a,{href:`/api-reference/endpoint/agentic-pricing`,children:`Pricing`}),` for the per-operation cost.`]})]})}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":"Set RAMS Executor Action","openapi":"POST /x402/rams/set-executor-action","description":"Register or update the ActionSpec for a function selector on an AgentExecutor.","href":"/api-reference/endpoint/x402-rams-set-executor-action"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Next step","slug":"next-step","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"prepareRamsSetExecutorAction","summary":"Prepare RAMS selector ActionSpec registration","description":"Register or update the ActionSpec for a function selector on an AgentExecutor.","security":["d42f8224-0ff5-4b7e-8935-acb5bf640561","46b8f259-723c-4e9f-8b7a-9bf1043014e2"],"requestBody":"a953ce78-4fb1-4535-a321-778fcae2025d","responses":{"200":"5c0b2f18-c941-4205-8f1f-45355e103980","402":"d5b9d0ee-688b-48ae-91a1-98faa5edac58"},"method":"post","type":"path","servers":["c49d4b74-8565-45d3-9488-a1db87f8218a","d17a9f2b-96ea-4c3e-a855-b25208a2a781"],"path":"/x402/rams/set-executor-action","baseUrlOptions":["https://api.sandbox.brickken.com","https://api.brickken.com"],"title":"Prepare RAMS selector ActionSpec registration","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["chainId","signerAddress","supported","hasAmount"],"properties":{"chainId":{"type":"string","default":"11155111","examples":["11155111","0xaa36a7"],"description":"Target operation chain ID. RAMS is available on Ethereum Sepolia (11155111) only at launch. Decimal and 0x hex values are accepted.","isRequired":true,"uniqueKey":"chainId","typeLabel":"string"},"signerAddress":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"MUST be the AgentExecutor owner (pre-checked on-chain). Never brickken-relayed.","isRequired":true,"uniqueKey":"signerAddress","typeLabel":"string"},"supported":{"type":"boolean","description":"Whether the selector is executable through this executor.","isRequired":true,"uniqueKey":"supported","typeLabel":"boolean"},"hasAmount":{"type":"boolean","description":"Whether the calldata carries a value amount that must be checked against the mandate caps.","isRequired":true,"uniqueKey":"hasAmount","typeLabel":"boolean"},"selector":{"type":"string","pattern":"^0x[a-fA-F0-9]{8}$","description":"4-byte function selector to register, e.g. 0x23b872dd for transferFrom. Provide either selector or action.","uniqueKey":"selector","typeLabel":"string"},"action":{"type":"string","pattern":"^0x[a-fA-F0-9]{64}$","description":"Alternative to selector: a left-aligned bytes32 action (bytes 4..31 must be zero); the server extracts the first 4 bytes.","uniqueKey":"action","typeLabel":"string"},"amountIndex":{"type":"integer","minimum":0,"maximum":255,"description":"Required when hasAmount is true: zero-based index of the amount word in the calldata (uint8). E.g. 2 for transferFrom(from, to, amount). Ignored (0) when hasAmount is false.","uniqueKey":"amountIndex","typeLabel":"integer"},"executorAddress":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Optional AgentExecutor contract override; defaults to the chain's configured (platform) RAMS AgentExecutor address. Executors are per-principal — pass the principal's executor here.","uniqueKey":"executorAddress","typeLabel":"string"},"gasLimit":{"oneOf":[{"type":"string","description":"Optional explicit gas limit.","uniqueKey":"gasLimit.oneOf.0","typeLabel":"string"},{"type":"number","description":"Optional explicit gas limit.","uniqueKey":"gasLimit.oneOf.1","typeLabel":"number"}],"uniqueKey":"gasLimit","typeLabel":"string | number"},"nonce":{"type":"number","description":"Optional explicit transaction nonce when managing nonces manually.","uniqueKey":"nonce","typeLabel":"number"},"ownerEmail":{"type":"string","format":"email","description":"Optional owner attribution email.","uniqueKey":"ownerEmail","typeLabel":"string\u003cemail>"},"email":{"type":"string","format":"email","description":"Alias for ownerEmail where supported.","uniqueKey":"email","typeLabel":"string\u003cemail>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"chainId":"11155111","signerAddress":"\u003cstring>","supported":true,"hasAmount":true,"selector":"\u003cstring>","action":"\u003cstring>","amountIndex":127,"executorAddress":"\u003cstring>","gasLimit":"\u003cstring>","nonce":123,"ownerEmail":"jsmith@example.com","email":"jsmith@example.com"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"5c0b2f18-c941-4205-8f1f-45355e103980":{"description":"Prepared unsigned transaction payload.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"properties":{"data":{"type":"object","additionalProperties":true,"properties":{"transactions":{"type":"object","additionalProperties":true,"description":"Single EIP-1559 unsigned transaction: from, to, data, value, nonce, chainId, gasLimit, maxPriorityFeePerGas, maxFeePerGas, type.","uniqueKey":"data.transactions","typeLabel":"object"},"txId":{"type":"string","description":"Prepared transaction ID for POST /send-transactions and status polling.","uniqueKey":"data.txId","typeLabel":"string"},"info":{"type":"object","additionalProperties":true,"description":"Operation echo. Always includes contractAddress (resolved target), mode (direct | principal-signature | brickken-relayed) and, on signed lifecycle operations, eip712Nonce (current AgentMandate nonce for the principal — detect stale signatures before sending).","uniqueKey":"data.info","typeLabel":"object"}},"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":{"transactions":{},"txId":"\u003cstring>","info":{}}}}},"exampleType":"generated"}},"exampleType":"generated"},"d5b9d0ee-688b-48ae-91a1-98faa5edac58":{"description":"x402 payment required.","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded x402 payment request.","schema":{"type":"string"}}},"content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}}},"security":{"d42f8224-0ff5-4b7e-8935-acb5bf640561":{"x402Payment":{"type":"apiKey","in":"header","name":"X-Payment","description":"Base64-encoded x402 payment payload. Supported for x402-eligible agentic methods on /x402/... facades, /prepare-transactions, and eligible /send-transactions retries.","scopes":[]}},"46b8f259-723c-4e9f-8b7a-9bf1043014e2":{"apiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key","scopes":[]}}},"servers":{"c49d4b74-8565-45d3-9488-a1db87f8218a":{"url":"https://api.sandbox.brickken.com","description":"Sandbox Environment"},"d17a9f2b-96ea-4c3e-a855-b25208a2a781":{"url":"https://api.brickken.com","description":"Production Environment"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"X-Payment","description":"Base64-encoded x402 payment payload. Supported for x402-eligible agentic methods on /x402/... facades, /prepare-transactions, and eligible /send-transactions retries.","scopes":[]},"schema":{"title":"X-Payment","type":"string","description":"Base64-encoded x402 payment payload. Supported for x402-eligible agentic methods on /x402/... facades, /prepare-transactions, and eligible /send-transactions retries.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"x402Payment","name":"X-Payment"}],"title":"x402Payment"},{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-api-key","scopes":[]},"schema":{"title":"x-api-key","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"apiKeyAuth","name":"x-api-key"}],"title":"apiKeyAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"brickken","siteName":"Brickken Documentation","title":"Set RAMS Executor Action - Brickken Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-02T15:47:25.063Z","originalFileLocation":"api-reference/endpoint/x402-rams-set-executor-action.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=\"Register or update the ActionSpec for a function selector on an AgentExecutor.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Brickken Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/brickken/7zynTh_4u-m-NSjz/_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/brickken/7zynTh_4u-m-NSjz/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/brickken/7zynTh_4u-m-NSjz/_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/brickken/7zynTh_4u-m-NSjz/_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/brickken/7zynTh_4u-m-NSjz/_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/brickken/7zynTh_4u-m-NSjz/_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/brickken/7zynTh_4u-m-NSjz/_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/brickken/7zynTh_4u-m-NSjz/_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/brickken/7zynTh_4u-m-NSjz/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Set RAMS Executor Action - Brickken Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Register or update the ActionSpec for a function selector on an AgentExecutor.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Brickken Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.brickken.com/api-reference/endpoint/x402-rams-set-executor-action\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://brickken.mintlify.app/_mintlify/api/og/v2?division=RAMS+Mandates+%28ERC-8226%29\u0026amp;title=Set+RAMS+Executor+Action\u0026amp;description=Register+or+update+the+ActionSpec+for+a+function+selector+on+an+AgentExecutor.\u0026amp;theme=2a5dee1e52c4281f2511c0cb\u0026amp;signature=3328010c874fbe1922d714606c6f63b1e89efa4537d9d0c7b3ef5d9a41e57e31\">\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=\"Set RAMS Executor Action - Brickken Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Register or update the ActionSpec for a function selector on an AgentExecutor.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://brickken.mintlify.app/_mintlify/api/og/v2?division=RAMS+Mandates+%28ERC-8226%29\u0026amp;title=Set+RAMS+Executor+Action\u0026amp;description=Register+or+update+the+ActionSpec+for+a+function+selector+on+an+AgentExecutor.\u0026amp;theme=2a5dee1e52c4281f2511c0cb\u0026amp;signature=3328010c874fbe1922d714606c6f63b1e89efa4537d9d0c7b3ef5d9a41e57e31\">\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/brickken/7zynTh_4u-m-NSjz/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Brickken Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#4C82df\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.brickken.com/api-reference/endpoint/x402-rams-set-executor-action\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/endpoint/x402-rams-set-executor-action.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.brickken.com/#organization\",\"name\":\"Brickken Documentation\",\"url\":\"https://docs.brickken.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/brickken/UYpLPKOSKNI6CnjX/logo/light.svg?fit=max\u0026auto=format\u0026n=UYpLPKOSKNI6CnjX\u0026q=85\u0026s=192d7d8eaa4997ed5fe5ebf73e4e6aee\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.brickken.com#website\",\"name\":\"Brickken Documentation\",\"url\":\"https://docs.brickken.com\",\"publisher\":{\"@id\":\"https://docs.brickken.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.brickken.com/api-reference/endpoint/x402-rams-set-executor-action#webpage\",\"url\":\"https://docs.brickken.com/api-reference/endpoint/x402-rams-set-executor-action\",\"name\":\"Set RAMS Executor Action\",\"description\":\"Register or update the ActionSpec for a function selector on an AgentExecutor.\",\"dateModified\":\"2026-09-02T15:47:25.063Z\",\"isPartOf\":{\"@id\":\"https://docs.brickken.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.brickken.com/api-reference/endpoint/x402-rams-set-executor-action#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.brickken.com/api-reference/endpoint/x402-rams-set-executor-action#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"RAMS Mandates (ERC-8226)\",\"item\":\"https://docs.brickken.com/api-reference/endpoint/rams-overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Set RAMS Executor Action\",\"item\":\"https://docs.brickken.com/api-reference/endpoint/x402-rams-set-executor-action\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.brickken.com/api-reference/endpoint/x402-rams-set-executor-action#apireference\",\"headline\":\"Set RAMS Executor Action\",\"name\":\"Set RAMS Executor Action\",\"description\":\"Register or update the ActionSpec for a function selector on an AgentExecutor.\",\"url\":\"https://docs.brickken.com/api-reference/endpoint/x402-rams-set-executor-action\",\"mainEntityOfPage\":{\"@id\":\"https://docs.brickken.com/api-reference/endpoint/x402-rams-set-executor-action#webpage\"},\"dateModified\":\"2026-09-02T15:47:25.063Z\",\"publisher\":{\"@id\":\"https://docs.brickken.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.brickken.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Brickken Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Brickken Documentation","nav":{"global":{"anchors":[{"anchor":"Authentication","icon":"key","href":"/get-started/authentication"},{"anchor":"Request an API key","icon":"envelope","href":"/get-started/request-api-key"}]},"tabs":[{"tab":"Get Started","pages":[{"title":"Get Started","href":""}]},{"tab":"Dapp API","pages":[{"title":"Dapp API","href":"/api-reference/introduction"}]},{"tab":"Agentic API","groups":[{"group":"Overview","pages":[{"title":"Agentic API","href":"/api-reference/endpoint/agentic-methods-x402"},{"title":"Pricing","href":"/api-reference/endpoint/agentic-pricing"}]},{"group":"Agent Identity","pages":[{"title":"Register Agent","openapi":"POST /x402/agent/register","href":"/api-reference/endpoint/x402-agent-register"},{"title":"Set Agent URI","openapi":"POST /x402/agent/set-uri","href":"/api-reference/endpoint/x402-agent-set-uri"},{"title":"Set Agent Metadata","openapi":"POST /x402/agent/set-metadata","href":"/api-reference/endpoint/x402-agent-set-metadata"},{"title":"Set Agent Wallet","openapi":"POST /x402/agent/set-wallet","href":"/api-reference/endpoint/x402-agent-set-wallet"},{"title":"Transfer Agent Ownership","openapi":"POST /x402/agent/transfer-ownership","href":"/api-reference/endpoint/x402-agent-transfer-ownership"}]},{"group":"Agent Reads","pages":[{"title":"List Agents","openapi":"GET /get-agents","href":"/api-reference/endpoint/get-agents"},{"title":"Get Agent Information","openapi":"GET /get-agent-info","href":"/api-reference/endpoint/get-agent-info"},{"title":"Get Agent Transactions","openapi":"GET /get-agent-transactions","href":"/api-reference/endpoint/get-agent-transactions"}]},{"group":"Reputation","pages":[{"title":"Give Feedback","openapi":"POST /x402/agent/feedback/give","href":"/api-reference/endpoint/x402-agent-feedback-give"},{"title":"Revoke Feedback","openapi":"POST /x402/agent/feedback/revoke","href":"/api-reference/endpoint/x402-agent-feedback-revoke"},{"title":"Respond to Feedback","openapi":"POST /x402/agent/feedback/respond","href":"/api-reference/endpoint/x402-agent-feedback-respond"}]},{"group":"Agent Token Operations","pages":[{"title":"Create Agent Token","openapi":"POST /x402/token/create","href":"/api-reference/endpoint/x402-token-create"},{"title":"Mint Agent Token","openapi":"POST /x402/token/mint","href":"/api-reference/endpoint/x402-token-mint"},{"title":"Burn Agent Token","openapi":"POST /x402/token/burn","href":"/api-reference/endpoint/x402-token-burn"},{"title":"Transfer Agent Token","openapi":"POST /x402/token/transfer","href":"/api-reference/endpoint/x402-token-transfer"},{"title":"Transfer From Agent Token","openapi":"POST /x402/token/transfer-from","href":"/api-reference/endpoint/x402-token-transfer-from"},{"title":"Approve Agent Token","openapi":"POST /x402/token/approve","href":"/api-reference/endpoint/x402-token-approve"}]},{"group":"RAMS Mandates (ERC-8226)","pages":[{"title":"RAMS Mandates (ERC-8226)","href":"/api-reference/endpoint/rams-overview"},{"title":"Grant RAMS Mandate","openapi":"POST /x402/rams/grant-mandate","href":"/api-reference/endpoint/x402-rams-grant-mandate"},{"title":"Revoke RAMS Mandate","openapi":"POST /x402/rams/revoke-mandate","href":"/api-reference/endpoint/x402-rams-revoke-mandate"},{"title":"Extend RAMS Mandate","openapi":"POST /x402/rams/extend-mandate","href":"/api-reference/endpoint/x402-rams-extend-mandate"},{"title":"Set RAMS Operator","openapi":"POST /x402/rams/set-operator","href":"/api-reference/endpoint/x402-rams-set-operator"},{"title":"Execute RAMS Action","openapi":"POST /x402/rams/execute","description":"Prepare an agent action through the principal-bound AgentExecutor.","href":"/api-reference/endpoint/x402-rams-execute"},{"title":"Set RAMS Executor Action","openapi":"POST /x402/rams/set-executor-action","href":"/api-reference/endpoint/x402-rams-set-executor-action"},{"title":"Freeze RAMS Agent","openapi":"POST /x402/rams/freeze-agent","description":"Prepare an enforcement freeze for an ERC-8226 agent.","href":"/api-reference/endpoint/x402-rams-freeze-agent"},{"title":"Unfreeze RAMS Agent","openapi":"POST /x402/rams/unfreeze-agent","href":"/api-reference/endpoint/x402-rams-unfreeze-agent"},{"title":"Grant RAMS Principal Eligibility","openapi":"POST /x402/rams/grant-principal","href":"/api-reference/endpoint/x402-rams-grant-principal"},{"title":"Revoke RAMS Principal Eligibility","openapi":"POST /x402/rams/revoke-principal","href":"/api-reference/endpoint/x402-rams-revoke-principal"}]},{"group":"RAMS Reads \u0026 Typed Data","pages":[{"title":"Get RAMS Mandate","openapi":"GET /rams/mandate","href":"/api-reference/endpoint/rams-get-mandate"},{"title":"Check RAMS Execution","openapi":"GET /rams/can-execute","href":"/api-reference/endpoint/rams-can-execute"},{"title":"Get RAMS Status","openapi":"GET /rams/status","href":"/api-reference/endpoint/rams-status"},{"title":"Check RAMS Compliance","openapi":"GET /rams/compliance-status","href":"/api-reference/endpoint/rams-compliance-status"},{"title":"Get RAMS Executor Action","openapi":"GET /rams/executor-action","href":"/api-reference/endpoint/rams-executor-action"},{"title":"RAMS EIP-712 Typed Data","openapi":"GET /rams/typed-data/grant-mandate","href":"/api-reference/endpoint/rams-typed-data"}]}]},{"tab":"MCP","pages":[{"title":"MCP","href":"/mcp/introduction"}]},{"tab":"CLI","pages":[{"title":"CLI","href":"/cli/introduction"}]},{"tab":"SDK","pages":[{"title":"SDK","href":"/sdk/introduction"}]},{"tab":"Skill","pages":[{"title":"Skill","href":"/skill/introduction"}]}]},"title":"Set RAMS Executor Action - Brickken Documentation","buildId":"dpl_2oYXwqkEXirXBPk8wV1FtM5USFWi","deploymentId":"dpl_2oYXwqkEXirXBPk8wV1FtM5USFWi","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-WRhTSUDL.js","utils-ChMov4Kr.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-_REmC2bI.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Bp6nVRCu.js","snippetPresets-DZadmXoU.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CY2WdoTl.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-DwYG-Q4l.js","shallow-BXQIGwv4.js","getApiPlaygroundDisplay-CK5nK5B9.js","CodeSnippet-TH4a2aGW.js","CodeSnippets-DwsQiOFS.js","Page-R3M_BF4L.js","getPastedJson-DD7kUzi_.js","icon-holE3QoJ.js","MethodPill-DUW0T8us.js","DuplicateIcon-CI_p4be-.js","createIcon-BdbRvavb.js","DynamicMarkdown-DN96a4Ur.js","SectionHeading-SCu36A9d.js","axios-vUo_bRtp.js","Markdown-CCeGv-zI.js","clsx-BGBGWFTt.js","lib--scc4DXi.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-Cv_O2fky.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-2C5OB2eV.js"]}