Get RAMS selector ActionSpec
RAMS Reads & Typed Data
Get RAMS Executor Action
Return the ActionSpec for a function selector from an AgentExecutor.
GET
Get RAMS selector ActionSpec
Send
x-api-key. These reads are also x402-payable: call without a key and, where x402 is enabled for the chain, the API answers 402 Payment Required with the amount in the PAYMENT-REQUIRED header. Reads are priced at the cheaper GETTER tier than writes — take the amount from the response rather than from a table.
Provide chainId and either a 4-byte selector or left-aligned bytes32 action; optionally override executorAddress.
The returned ActionSpec contains supported, hasAmount, and amountIndex. The response also includes the executor’s principal, owner, and AgentMandate binding. Verify value-bearing selectors have amount extraction enabled before relying on RAMS caps.Authorizations
Query Parameters
Target chain ID. RAMS is available on Ethereum Sepolia (11155111) only at launch. Decimal and 0x hex values are accepted.
4-byte function selector, e.g. 0x23b872dd. Provide exactly one of selector or action.
Pattern:
^0x[a-fA-F0-9]{8}$Left-aligned bytes32 action. Provide exactly one of selector or action.
Pattern:
^0x[a-fA-F0-9]{64}$Optional AgentExecutor contract override.
Pattern:
^0x[a-fA-F0-9]{40}$Response
200 - application/json
Successful response