Skip to main content
GET
Check RAMS can-execute
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, agent, principal, asset, optional raw amount, and either a bytes32 action or 4-byte selector. The response combines the authoritative on-chain canExecute result with diagnostic checks for lifecycle, freeze, asset, action, transaction cap, cumulative cap, and compliance. Treat the top-level on-chain result as authoritative.

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.

agent
string
required

Agent wallet address.

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

Principal wallet address.

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

Asset (token) address the mandate is scoped to.

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

Execution amount in raw base units (uint256 decimal string). Defaults to "0".

action
string

bytes32 action. Provide exactly one of action or selector.

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

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

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

Optional AgentMandate contract override.

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

Response

200 - application/json

Successful response

data
object