Create automation rule

Create a new automation rule. Requires Privy delegation for server-side execution.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required

Offer public key to attach rule to

string
enum
required

MCAP_CLOSE disables offer when mcap threshold crossed. DYNAMIC_EXPOSURE adjusts maxExposure as % of vault balance.

Allowed:
config
object
required

Rule-specific config. MCAP_CLOSE: { mcapThreshold, direction }. DYNAMIC_EXPOSURE: { balancePercent }.

Response

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json