Skip to main content
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

x-api-key
string
header
required

Query Parameters

chainId
string
default:11155111
required

Target chain ID. RAMS is available on Ethereum Sepolia (11155111) only at launch. Decimal and 0x hex values are accepted.

selector
string

4-byte function selector, e.g. 0x23b872dd. Provide exactly one of selector or action.

Pattern: ^0x[a-fA-F0-9]{8}$
action
string

Left-aligned bytes32 action. Provide exactly one of selector or action.

Pattern: ^0x[a-fA-F0-9]{64}$
executorAddress
string

Optional AgentExecutor contract override.

Pattern: ^0x[a-fA-F0-9]{40}$

Response

200 - application/json

Successful response

data
object