{"slug":"api-sandbox-brickken-com-x402-rams-set-executor-action-bb6075","title":"Prepare ERC-8226 RAMS executor ActionSpec registration","host":"api.sandbox.brickken.com","method":"POST","resource":"https://api.sandbox.brickken.com/x402/rams/set-executor-action","category":"code","description":"Prepare ERC-8226 RAMS executor ActionSpec registration. Register or update the ActionSpec for a function selector (supported, hasAmount, amountIndex). The transaction must be signed by the executor owner.","price_listed":0.005,"price_asked":0.005,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":980,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:84532"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"chainId":"84532","executionMode":"client-signed","hasAmount":true,"selector":"0xaaaaaaaa","signerAddress":"0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","supported":true},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":true,"oneOf":[{"required":["selector"]},{"required":["action"]}],"properties":{"action":{"description":"Alternative left-aligned selector bytes32.","pattern":"^0x[a-fA-F0-9]{64}$","type":"string"},"amountIndex":{"maximum":255,"minimum":0,"type":"integer"},"chainId":{"default":"84532","description":"RAMS is deployed on Base Sepolia (chain ID 84532) and Ethereum Sepolia (chain ID 11155111). Pass chainId explicitly to target the other one.","examples":["84532"],"type":"string"},"email":{"description":"Alias for ownerEmail where supported.","format":"email","type":"string"},"executionMode":{"default":"client-signed","description":"RAMS defaults to client-signed execution and also supports client-broadcast. Sign with the wallet that holds the required on-chain role. Mandate lifecycle operations may additionally use brickken-relayed execution with a principal EIP-712 signature and deadline.","enum":["client-signed","client-broadcast"],"type":"string"},"executorAddress":{"description":"Optional AgentExecutor contract override.","pattern":"^0x[a-fA-F0-9]{40}$","type":"string"},"gasLimit":{"description":"Optional explicit gas limit.","oneOf":[{"type":"string"},{"type":"number"}]},"hasAmount":{"type":"boolean"},"nonce":{"description":"Optional explicit nonce when managing nonces manually.","type":"number"},"ownerEmail":{"description":"Optional owner attribution email.","format":"email","type":"string"},"selector":{"description":"Function selector to configure.","pattern":"^0x[a-fA-F0-9]{8}$","type":"string"},"signerAddress":{"description":"Wallet that will sign the prepared transaction. Omit only for brickken-relayed lifecycle calls carrying a principal EIP-712 signature.","pattern":"^0x[a-fA-F0-9]{40}$","type":"string"},"supported":{"type":"boolean"}},"required":["chainId","executionMode","signerAddress","supported","hasAmount"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-09-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":980,"error":null}],"description_full":"Prepare ERC-8226 RAMS executor ActionSpec registration. Register or update the ActionSpec for a function selector (supported, hasAmount, amountIndex). The transaction must be signed by the executor owner.","last_updated":"2026-09-03T10:33:06.858Z","schemes":["exact"]}