{"openapi":"3.1.2","jsonSchemaDialect":"https://json-schema.org/draft/2020-12/schema","info":{"title":"Signa Wallet API","version":"1.0.0","summary":"Accounts, wallet approvals and transaction execution","description":"Manage Signa accounts and bot grants, prepare exact wallet transactions, approve spending and reconcile execution. Protected requests use the documented EIP-712 headers with this service’s exact audience; wallet spending approval remains separate. Juicebox Center provides protocol catalogs and project reads at https://juicebox.center/api.","contact":{"url":"https://github.com/mejango/signa"}},"servers":[{"url":"https://api.signa.center"}],"tags":[{"name":"Discovery","description":"Public, pinned schemas and current capability discovery."},{"name":"Accounts","description":"Owner enrollment, profile replacement and bounded bot API grants."},{"name":"Operations","description":"Transaction preparations described by Center’s protocol operation catalog."},{"name":"Transactions","description":"Durable reviewed plans, simulation, exact signed transaction relay and reconciliation."},{"name":"Sponsorship","description":"Prepaid transaction bundles, explicit owner forwarding consent, reviewed funding plans and exact destination execution evidence."},{"name":"Wallets","description":"Reviewed Safe creation calldata, owner-threshold binding and smart-account transaction plans. Availability depends on current verified manifests."},{"name":"Sessions","description":"Immutable seven- or thirty-day policies, owner activation/revocation plans and canonical onchain quota observations."},{"name":"UserOperations","description":"Reviewed EntryPoint v0.7 preparation, external owner or session-key signatures, one-time provider publication and reconciliation."},{"name":"WalletPayments","description":"Exact passkey payment reviews for typed trusted-app grants; available only with explicit pilot configuration."}],"paths":{"/api/v1":{"get":{"operationId":"apiDiscovery","summary":"Find API entry points","tags":["Discovery"],"parameters":[],"responses":{"200":{"description":"Successful route-specific JSON response.","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlates this response with a problem report."},"Retry-After":{"schema":{"type":"string"},"description":"Present on HTTP 429; wait this many seconds before a bounded retry."},"RateLimit-Limit":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Account request quota where applied."},"RateLimit-Remaining":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Remaining account quota where applied."}},"content":{"application/json":{"schema":{"type":"object","properties":{"version":{"const":"1"},"protocolVersion":{"$ref":"#/components/schemas/ProtocolVersion"},"documentation":{"type":"string"},"openapi":{"type":"string"},"accounts":{"type":"string"},"capabilities":{"type":"string"},"protocolReference":{"type":"string","const":"https://juicebox.center/api"}},"required":["version","protocolVersion","documentation","openapi","accounts","capabilities","protocolReference"],"additionalProperties":false}}}},"default":{"$ref":"#/components/responses/Problem"}},"x-auth":{"scheme":"public","ownerOnly":false,"requiredBotScopes":[],"idempotencyRequired":false},"security":[]}},"/api/v1/openapi.json":{"get":{"operationId":"getOpenApi","summary":"Read this OpenAPI 3.1.2 document","tags":["Discovery"],"parameters":[],"responses":{"200":{"description":"Successful route-specific JSON response.","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlates this response with a problem report."},"Retry-After":{"schema":{"type":"string"},"description":"Present on HTTP 429; wait this many seconds before a bounded retry."},"RateLimit-Limit":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Account request quota where applied."},"RateLimit-Remaining":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Remaining account quota where applied."}},"content":{"application/json":{"schema":{"type":"object","required":["openapi","info","paths"],"additionalProperties":true}}}},"default":{"$ref":"#/components/responses/Problem"}},"x-auth":{"scheme":"public","ownerOnly":false,"requiredBotScopes":[],"idempotencyRequired":false},"security":[]}},"/api/v1/capabilities":{"get":{"operationId":"getCapabilities","summary":"Check enabled transports, chains and limits","tags":["Discovery"],"description":"Read before planning. Per-chain relay, confirmation and sponsorship availability is runtime configuration. Unsupported smart-account or session mechanisms are not implied by a bot grant.","parameters":[],"responses":{"200":{"description":"Successful route-specific JSON response.","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlates this response with a problem report."},"Retry-After":{"schema":{"type":"string"},"description":"Present on HTTP 429; wait this many seconds before a bounded retry."},"RateLimit-Limit":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Account request quota where applied."},"RateLimit-Remaining":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Remaining account quota where applied."}},"content":{"application/json":{"schema":{"type":"object","properties":{"version":{"const":"1"},"protocolVersion":{"$ref":"#/components/schemas/ProtocolVersion"},"audience":{"type":"string","format":"uri"},"authentication":{"type":"object","additionalProperties":true},"chains":{"type":"array","items":{"type":"object","additionalProperties":true}},"limits":{"type":"object","additionalProperties":true},"transactions":{"type":"object","additionalProperties":true},"sponsorship":{"type":"object","additionalProperties":true},"userOperations":{"anyOf":[{"$ref":"#/components/schemas/UserOperationCapabilities"},{"type":"object","properties":{"state":{"type":"string","const":"unavailable"}},"required":["state"],"additionalProperties":false}]},"sessions":{"anyOf":[{"$ref":"#/components/schemas/SessionCapabilities"},{"type":"object","properties":{"state":{"type":"string","const":"unavailable"}},"required":["state"],"additionalProperties":false}]},"smartAccounts":{"anyOf":[{"$ref":"#/components/schemas/SmartAccountCapabilities"},{"type":"object","properties":{"state":{"type":"string","const":"unavailable"}},"required":["state"],"additionalProperties":false}]},"protocolReference":{"type":"string","const":"https://juicebox.center/api"}},"required":["version","protocolVersion","audience","authentication","chains","limits","transactions","sponsorship","userOperations","sessions","smartAccounts","protocolReference"],"additionalProperties":false}}}},"default":{"$ref":"#/components/responses/Problem"}},"x-auth":{"scheme":"public","ownerOnly":false,"requiredBotScopes":[],"idempotencyRequired":false},"security":[]}},"/api/v1/accounts/enroll":{"post":{"operationId":"enrollAccount","summary":"Enroll the signing owner account","tags":["Accounts"],"description":"Sign before the account exists. Body is exactly an empty JSON object. Enrollment uses the owner's EIP-712 request signature and performs no blockchain transaction. Account routes reject query strings and cap bodies at 65536 bytes.","parameters":[{"$ref":"#/components/parameters/account"},{"$ref":"#/components/parameters/signer"},{"$ref":"#/components/parameters/issuedAt"},{"$ref":"#/components/parameters/expiresAt"},{"$ref":"#/components/parameters/nonce"},{"$ref":"#/components/parameters/signature"},{"$ref":"#/components/parameters/grant"},{"$ref":"#/components/parameters/idempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":false}}}},"responses":{"200":{"description":"Successful route-specific JSON response.","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlates this response with a problem report."},"Retry-After":{"schema":{"type":"string"},"description":"Present on HTTP 429; wait this many seconds before a bounded retry."},"RateLimit-Limit":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Account request quota where applied."},"RateLimit-Remaining":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Remaining account quota where applied."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountResponse"}}}},"default":{"$ref":"#/components/responses/Problem"}},"x-auth":{"scheme":"eip712-request-signature","ownerOnly":true,"requiredBotScopes":[],"idempotencyRequired":false}}},"/api/v1/accounts/me":{"get":{"operationId":"getAccount","summary":"Read the authenticated account profile","tags":["Accounts"],"parameters":[{"$ref":"#/components/parameters/account"},{"$ref":"#/components/parameters/signer"},{"$ref":"#/components/parameters/issuedAt"},{"$ref":"#/components/parameters/expiresAt"},{"$ref":"#/components/parameters/nonce"},{"$ref":"#/components/parameters/signature"},{"$ref":"#/components/parameters/grant"},{"$ref":"#/components/parameters/idempotencyKey"}],"responses":{"200":{"description":"Successful route-specific JSON response.","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlates this response with a problem report."},"Retry-After":{"schema":{"type":"string"},"description":"Present on HTTP 429; wait this many seconds before a bounded retry."},"RateLimit-Limit":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Account request quota where applied."},"RateLimit-Remaining":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Remaining account quota where applied."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountResponse"}}}},"default":{"$ref":"#/components/responses/Problem"}},"x-auth":{"scheme":"eip712-request-signature","ownerOnly":false,"requiredBotScopes":["read"],"idempotencyRequired":false}},"patch":{"operationId":"replaceProfile","summary":"Replace the owner's profile fields","tags":["Accounts"],"description":"Omitted fields reset to defaults. This endpoint does not implement transaction idempotency.","parameters":[{"$ref":"#/components/parameters/account"},{"$ref":"#/components/parameters/signer"},{"$ref":"#/components/parameters/issuedAt"},{"$ref":"#/components/parameters/expiresAt"},{"$ref":"#/components/parameters/nonce"},{"$ref":"#/components/parameters/signature"},{"$ref":"#/components/parameters/grant"},{"$ref":"#/components/parameters/idempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProfileReplacement"}}}},"responses":{"200":{"description":"Successful route-specific JSON response.","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlates this response with a problem report."},"Retry-After":{"schema":{"type":"string"},"description":"Present on HTTP 429; wait this many seconds before a bounded retry."},"RateLimit-Limit":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Account request quota where applied."},"RateLimit-Remaining":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Remaining account quota where applied."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountResponse"}}}},"default":{"$ref":"#/components/responses/Problem"}},"x-auth":{"scheme":"eip712-request-signature","ownerOnly":true,"requiredBotScopes":[],"idempotencyRequired":false}}},"/api/v1/accounts/me/bots":{"get":{"operationId":"listBots","summary":"List the owner's API bot grants","tags":["Accounts"],"parameters":[{"$ref":"#/components/parameters/account"},{"$ref":"#/components/parameters/signer"},{"$ref":"#/components/parameters/issuedAt"},{"$ref":"#/components/parameters/expiresAt"},{"$ref":"#/components/parameters/nonce"},{"$ref":"#/components/parameters/signature"},{"$ref":"#/components/parameters/grant"},{"$ref":"#/components/parameters/idempotencyKey"}],"responses":{"200":{"description":"Successful route-specific JSON response.","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlates this response with a problem report."},"Retry-After":{"schema":{"type":"string"},"description":"Present on HTTP 429; wait this many seconds before a bounded retry."},"RateLimit-Limit":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Account request quota where applied."},"RateLimit-Remaining":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Remaining account quota where applied."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BotsResponse"}}}},"default":{"$ref":"#/components/responses/Problem"}},"x-auth":{"scheme":"eip712-request-signature","ownerOnly":true,"requiredBotScopes":[],"idempotencyRequired":false}},"post":{"operationId":"registerBot","summary":"Register a bot possession proof and expiring API grant","tags":["Accounts"],"description":"The owner signs the whole registration request; the bot separately signs CenterBotProof bound to that owner's request nonce. Grants authorize API scopes only. No bot key is uploaded.","parameters":[{"$ref":"#/components/parameters/account"},{"$ref":"#/components/parameters/signer"},{"$ref":"#/components/parameters/issuedAt"},{"$ref":"#/components/parameters/expiresAt"},{"$ref":"#/components/parameters/nonce"},{"$ref":"#/components/parameters/signature"},{"$ref":"#/components/parameters/grant"},{"$ref":"#/components/parameters/idempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BotRegistration"}}}},"responses":{"201":{"description":"Resource or preparation created, or the original idempotent result returned.","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlates this response with a problem report."},"Retry-After":{"schema":{"type":"string"},"description":"Present on HTTP 429; wait this many seconds before a bounded retry."},"RateLimit-Limit":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Account request quota where applied."},"RateLimit-Remaining":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Remaining account quota where applied."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BotResponse"}}}},"default":{"$ref":"#/components/responses/Problem"}},"x-auth":{"scheme":"eip712-request-signature","ownerOnly":true,"requiredBotScopes":[],"idempotencyRequired":false}}},"/api/v1/accounts/me/bots/{grantId}":{"delete":{"operationId":"revokeBot","summary":"Revoke the owner's bot grant","tags":["Accounts"],"description":"Revocation prevents new dispatch claims. A bounded request already admitted under its durable claim may finish.","parameters":[{"$ref":"#/components/parameters/account"},{"$ref":"#/components/parameters/signer"},{"$ref":"#/components/parameters/issuedAt"},{"$ref":"#/components/parameters/expiresAt"},{"$ref":"#/components/parameters/nonce"},{"$ref":"#/components/parameters/signature"},{"$ref":"#/components/parameters/grant"},{"$ref":"#/components/parameters/idempotencyKey"},{"name":"grantId","in":"path","required":true,"schema":{"$ref":"#/components/schemas/GrantId"}}],"responses":{"200":{"description":"Successful route-specific JSON response.","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlates this response with a problem report."},"Retry-After":{"schema":{"type":"string"},"description":"Present on HTTP 429; wait this many seconds before a bounded retry."},"RateLimit-Limit":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Account request quota where applied."},"RateLimit-Remaining":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Remaining account quota where applied."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BotResponse"}}}},"default":{"$ref":"#/components/responses/Problem"}},"x-auth":{"scheme":"eip712-request-signature","ownerOnly":true,"requiredBotScopes":[],"idempotencyRequired":false}}},"/api/v1/operations/{id}/plans":{"post":{"operationId":"prepareOperation","summary":"Prepare a durable semantic transaction plan","tags":["Operations"],"description":"Concrete paths below bind each input schema to its operation ID. Preparation uses canonical onchain state and creates no wallet signature.","parameters":[{"$ref":"#/components/parameters/account"},{"$ref":"#/components/parameters/signer"},{"$ref":"#/components/parameters/issuedAt"},{"$ref":"#/components/parameters/expiresAt"},{"$ref":"#/components/parameters/nonce"},{"$ref":"#/components/parameters/signature"},{"$ref":"#/components/parameters/grant"},{"$ref":"#/components/parameters/idempotencyRequired"},{"name":"id","in":"path","required":true,"schema":{"type":"string","enum":["prepare_pay","prepare_cash_out","prepare_payout","prepare_ruleset_change","prepare_launch","prepare_borrow","prepare_repay","prepare_bridge_claim","prepare_accounting_sync","prepare_buyback_pool","prepare_buyback_twap","prepare_buyback_hook","prepare_router_terminal","prepare_721_pay","prepare_adjust_tiers","prepare_721_launch","prepare_revnet_deploy","prepare_auto_issue"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/OperationInput_prepare_pay"},{"$ref":"#/components/schemas/OperationInput_prepare_cash_out"},{"$ref":"#/components/schemas/OperationInput_prepare_payout"},{"$ref":"#/components/schemas/OperationInput_prepare_ruleset_change"},{"$ref":"#/components/schemas/OperationInput_prepare_launch"},{"$ref":"#/components/schemas/OperationInput_prepare_borrow"},{"$ref":"#/components/schemas/OperationInput_prepare_repay"},{"$ref":"#/components/schemas/OperationInput_prepare_bridge_claim"},{"$ref":"#/components/schemas/OperationInput_prepare_accounting_sync"},{"$ref":"#/components/schemas/OperationInput_prepare_buyback_pool"},{"$ref":"#/components/schemas/OperationInput_prepare_buyback_twap"},{"$ref":"#/components/schemas/OperationInput_prepare_buyback_hook"},{"$ref":"#/components/schemas/OperationInput_prepare_router_terminal"},{"$ref":"#/components/schemas/OperationInput_prepare_721_pay"},{"$ref":"#/components/schemas/OperationInput_prepare_adjust_tiers"},{"$ref":"#/components/schemas/OperationInput_prepare_721_launch"},{"$ref":"#/components/schemas/OperationInput_prepare_revnet_deploy"},{"$ref":"#/components/schemas/OperationInput_prepare_auto_issue"}]}}}},"responses":{"201":{"description":"Resource or preparation created, or the original idempotent result returned.","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlates this response with a problem report."},"Retry-After":{"schema":{"type":"string"},"description":"Present on HTTP 429; wait this many seconds before a bounded retry."},"RateLimit-Limit":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Account request quota where applied."},"RateLimit-Remaining":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Remaining account quota where applied."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plan"}}}},"default":{"$ref":"#/components/responses/Problem"}},"x-auth":{"scheme":"eip712-request-signature","ownerOnly":false,"requiredBotScopes":["plan"],"idempotencyRequired":true}}},"/api/v1/operations/prepare_pay/plans":{"post":{"operationId":"prepare_prepare_pay","summary":"Prepare an authenticated unsigned payment plan from a fresh quote, including exact approvals and protected outputs. Simulates the first executable step; nothing is signed or broadcast.","tags":["Operations"],"description":"Creates an immutable, durable unsigned plan from canonical onchain state. Review its exact calls, evidence, commitment and expiry before wallet signing.","parameters":[{"$ref":"#/components/parameters/account"},{"$ref":"#/components/parameters/signer"},{"$ref":"#/components/parameters/issuedAt"},{"$ref":"#/components/parameters/expiresAt"},{"$ref":"#/components/parameters/nonce"},{"$ref":"#/components/parameters/signature"},{"$ref":"#/components/parameters/grant"},{"$ref":"#/components/parameters/idempotencyRequired"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationInput_prepare_pay"}}}},"responses":{"201":{"description":"Resource or preparation created, or the original idempotent result returned.","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlates this response with a problem report."},"Retry-After":{"schema":{"type":"string"},"description":"Present on HTTP 429; wait this many seconds before a bounded retry."},"RateLimit-Limit":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Account request quota where applied."},"RateLimit-Remaining":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Remaining account quota where applied."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plan"}}}},"default":{"$ref":"#/components/responses/Problem"}},"x-auth":{"scheme":"eip712-request-signature","ownerOnly":false,"requiredBotScopes":["plan"],"idempotencyRequired":true},"x-operation":"prepare_pay","x-source":["onchain"],"x-effects":{"externalMutation":false,"idempotent":true},"x-input-schema":"#/components/schemas/OperationInput_prepare_pay"}},"/api/v1/operations/prepare_cash_out/plans":{"post":{"operationId":"prepare_prepare_cash_out","summary":"Prepare an authenticated unsigned cash-out plan, preserving the quoted terminal minimum and hook metadata as one execution commitment.","tags":["Operations"],"description":"Creates an immutable, durable unsigned plan from canonical onchain state. Review its exact calls, evidence, commitment and expiry before wallet signing.","parameters":[{"$ref":"#/components/parameters/account"},{"$ref":"#/components/parameters/signer"},{"$ref":"#/components/parameters/issuedAt"},{"$ref":"#/components/parameters/expiresAt"},{"$ref":"#/components/parameters/nonce"},{"$ref":"#/components/parameters/signature"},{"$ref":"#/components/parameters/grant"},{"$ref":"#/components/parameters/idempotencyRequired"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationInput_prepare_cash_out"}}}},"responses":{"201":{"description":"Resource or preparation created, or the original idempotent result returned.","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlates this response with a problem report."},"Retry-After":{"schema":{"type":"string"},"description":"Present on HTTP 429; wait this many seconds before a bounded retry."},"RateLimit-Limit":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Account request quota where applied."},"RateLimit-Remaining":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Remaining account quota where applied."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plan"}}}},"default":{"$ref":"#/components/responses/Problem"}},"x-auth":{"scheme":"eip712-request-signature","ownerOnly":false,"requiredBotScopes":["plan"],"idempotencyRequired":true},"x-operation":"prepare_cash_out","x-source":["onchain"],"x-effects":{"externalMutation":false,"idempotent":true},"x-input-schema":"#/components/schemas/OperationInput_prepare_cash_out"}},"/api/v1/operations/prepare_payout/plans":{"post":{"operationId":"prepare_prepare_payout","summary":"Prepare a payout with a nonzero protected minimum derived from the live payable amount, exact sender, terminal, currency, and project.","tags":["Operations"],"description":"Creates an immutable, durable unsigned plan from canonical onchain state. Review its exact calls, evidence, commitment and expiry before wallet signing.","parameters":[{"$ref":"#/components/parameters/account"},{"$ref":"#/components/parameters/signer"},{"$ref":"#/components/parameters/issuedAt"},{"$ref":"#/components/parameters/expiresAt"},{"$ref":"#/components/parameters/nonce"},{"$ref":"#/components/parameters/signature"},{"$ref":"#/components/parameters/grant"},{"$ref":"#/components/parameters/idempotencyRequired"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationInput_prepare_payout"}}}},"responses":{"201":{"description":"Resource or preparation created, or the original idempotent result returned.","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlates this response with a problem report."},"Retry-After":{"schema":{"type":"string"},"description":"Present on HTTP 429; wait this many seconds before a bounded retry."},"RateLimit-Limit":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Account request quota where applied."},"RateLimit-Remaining":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Remaining account quota where applied."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plan"}}}},"default":{"$ref":"#/components/responses/Problem"}},"x-auth":{"scheme":"eip712-request-signature","ownerOnly":false,"requiredBotScopes":["plan"],"idempotencyRequired":true},"x-operation":"prepare_payout","x-source":["onchain"],"x-effects":{"externalMutation":false,"idempotent":true},"x-input-schema":"#/components/schemas/OperationInput_prepare_payout"}},"/api/v1/operations/prepare_ruleset_change/plans":{"post":{"operationId":"prepare_prepare_ruleset_change","summary":"Prepare exact reviewed V6 ruleset calldata after a live diff and permission check. Projects whose rulesets run through JBOmnichainDeployer queue through it, keeping their NFT hook; route says which. Does not silently overwrite omitted configuration or promise approval timing.","tags":["Operations"],"description":"Creates an immutable, durable unsigned plan from canonical onchain state. Review its exact calls, evidence, commitment and expiry before wallet signing.","parameters":[{"$ref":"#/components/parameters/account"},{"$ref":"#/components/parameters/signer"},{"$ref":"#/components/parameters/issuedAt"},{"$ref":"#/components/parameters/expiresAt"},{"$ref":"#/components/parameters/nonce"},{"$ref":"#/components/parameters/signature"},{"$ref":"#/components/parameters/grant"},{"$ref":"#/components/parameters/idempotencyRequired"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationInput_prepare_ruleset_change"}}}},"responses":{"201":{"description":"Resource or preparation created, or the original idempotent result returned.","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlates this response with a problem report."},"Retry-After":{"schema":{"type":"string"},"description":"Present on HTTP 429; wait this many seconds before a bounded retry."},"RateLimit-Limit":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Account request quota where applied."},"RateLimit-Remaining":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Remaining account quota where applied."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plan"}}}},"default":{"$ref":"#/components/responses/Problem"}},"x-auth":{"scheme":"eip712-request-signature","ownerOnly":false,"requiredBotScopes":["plan"],"idempotencyRequired":true},"x-operation":"prepare_ruleset_change","x-source":["onchain"],"x-effects":{"externalMutation":false,"idempotent":true},"x-input-schema":"#/components/schemas/OperationInput_prepare_ruleset_change"}},"/api/v1/operations/prepare_launch/plans":{"post":{"operationId":"prepare_prepare_launch","summary":"Prepare a standard core V6 project launch on one chain using complete typed configuration and a chain-specific live creation fee. Explicit core composition does not attach NFT/revnet/omnichain extensions. To link chains as one project, use jb_prepare_omnichain_launch.","tags":["Operations"],"description":"Creates an immutable, durable unsigned plan from canonical onchain state. Review its exact calls, evidence, commitment and expiry before wallet signing.","parameters":[{"$ref":"#/components/parameters/account"},{"$ref":"#/components/parameters/signer"},{"$ref":"#/components/parameters/issuedAt"},{"$ref":"#/components/parameters/expiresAt"},{"$ref":"#/components/parameters/nonce"},{"$ref":"#/components/parameters/signature"},{"$ref":"#/components/parameters/grant"},{"$ref":"#/components/parameters/idempotencyRequired"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationInput_prepare_launch"}}}},"responses":{"201":{"description":"Resource or preparation created, or the original idempotent result returned.","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlates this response with a problem report."},"Retry-After":{"schema":{"type":"string"},"description":"Present on HTTP 429; wait this many seconds before a bounded retry."},"RateLimit-Limit":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Account request quota where applied."},"RateLimit-Remaining":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Remaining account quota where applied."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plan"}}}},"default":{"$ref":"#/components/responses/Problem"}},"x-auth":{"scheme":"eip712-request-signature","ownerOnly":false,"requiredBotScopes":["plan"],"idempotencyRequired":true},"x-operation":"prepare_launch","x-source":["onchain"],"x-effects":{"externalMutation":false,"idempotent":true},"x-input-schema":"#/components/schemas/OperationInput_prepare_launch"}},"/api/v1/operations/prepare_borrow/plans":{"post":{"operationId":"prepare_prepare_borrow","summary":"Prepare a revnet borrow with a protected gross-debt minimum and any explicitly reviewed BURN_TOKENS permission prerequisite, preserving existing permissions. Liquid proceeds remain conditional on fees.","tags":["Operations"],"description":"Creates an immutable, durable unsigned plan from canonical onchain state. Review its exact calls, evidence, commitment and expiry before wallet signing.","parameters":[{"$ref":"#/components/parameters/account"},{"$ref":"#/components/parameters/signer"},{"$ref":"#/components/parameters/issuedAt"},{"$ref":"#/components/parameters/expiresAt"},{"$ref":"#/components/parameters/nonce"},{"$ref":"#/components/parameters/signature"},{"$ref":"#/components/parameters/grant"},{"$ref":"#/components/parameters/idempotencyRequired"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationInput_prepare_borrow"}}}},"responses":{"201":{"description":"Resource or preparation created, or the original idempotent result returned.","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlates this response with a problem report."},"Retry-After":{"schema":{"type":"string"},"description":"Present on HTTP 429; wait this many seconds before a bounded retry."},"RateLimit-Limit":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Account request quota where applied."},"RateLimit-Remaining":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Remaining account quota where applied."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plan"}}}},"default":{"$ref":"#/components/responses/Problem"}},"x-auth":{"scheme":"eip712-request-signature","ownerOnly":false,"requiredBotScopes":["plan"],"idempotencyRequired":true},"x-operation":"prepare_borrow","x-source":["onchain"],"x-effects":{"externalMutation":false,"idempotent":true},"x-input-schema":"#/components/schemas/OperationInput_prepare_borrow"}},"/api/v1/operations/prepare_repay/plans":{"post":{"operationId":"prepare_prepare_repay","summary":"Prepare a loan repayment with bounded spend, correct native/ERC-20 funding and explicit approval prerequisites.","tags":["Operations"],"description":"Creates an immutable, durable unsigned plan from canonical onchain state. Review its exact calls, evidence, commitment and expiry before wallet signing.","parameters":[{"$ref":"#/components/parameters/account"},{"$ref":"#/components/parameters/signer"},{"$ref":"#/components/parameters/issuedAt"},{"$ref":"#/components/parameters/expiresAt"},{"$ref":"#/components/parameters/nonce"},{"$ref":"#/components/parameters/signature"},{"$ref":"#/components/parameters/grant"},{"$ref":"#/components/parameters/idempotencyRequired"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationInput_prepare_repay"}}}},"responses":{"201":{"description":"Resource or preparation created, or the original idempotent result returned.","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlates this response with a problem report."},"Retry-After":{"schema":{"type":"string"},"description":"Present on HTTP 429; wait this many seconds before a bounded retry."},"RateLimit-Limit":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Account request quota where applied."},"RateLimit-Remaining":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Remaining account quota where applied."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plan"}}}},"default":{"$ref":"#/components/responses/Problem"}},"x-auth":{"scheme":"eip712-request-signature","ownerOnly":false,"requiredBotScopes":["plan"],"idempotencyRequired":true},"x-operation":"prepare_repay","x-source":["onchain"],"x-effects":{"externalMutation":false,"idempotent":true},"x-input-schema":"#/components/schemas/OperationInput_prepare_repay"}},"/api/v1/operations/prepare_bridge_claim/plans":{"post":{"operationId":"prepare_prepare_bridge_claim","summary":"Prepare a claim only through a sucker verified for the project. Exact claim proof and beneficiary are preserved and simulation validates current claimability.","tags":["Operations"],"description":"Creates an immutable, durable unsigned plan from canonical onchain state. Review its exact calls, evidence, commitment and expiry before wallet signing.","parameters":[{"$ref":"#/components/parameters/account"},{"$ref":"#/components/parameters/signer"},{"$ref":"#/components/parameters/issuedAt"},{"$ref":"#/components/parameters/expiresAt"},{"$ref":"#/components/parameters/nonce"},{"$ref":"#/components/parameters/signature"},{"$ref":"#/components/parameters/grant"},{"$ref":"#/components/parameters/idempotencyRequired"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationInput_prepare_bridge_claim"}}}},"responses":{"201":{"description":"Resource or preparation created, or the original idempotent result returned.","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlates this response with a problem report."},"Retry-After":{"schema":{"type":"string"},"description":"Present on HTTP 429; wait this many seconds before a bounded retry."},"RateLimit-Limit":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Account request quota where applied."},"RateLimit-Remaining":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Remaining account quota where applied."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plan"}}}},"default":{"$ref":"#/components/responses/Problem"}},"x-auth":{"scheme":"eip712-request-signature","ownerOnly":false,"requiredBotScopes":["plan"],"idempotencyRequired":true},"x-operation":"prepare_bridge_claim","x-source":["onchain"],"x-effects":{"externalMutation":false,"idempotent":true},"x-input-schema":"#/components/schemas/OperationInput_prepare_bridge_claim"}},"/api/v1/operations/prepare_accounting_sync/plans":{"post":{"operationId":"prepare_prepare_accounting_sync","summary":"Prepare permissionless sucker accounting synchronization with an explicitly bounded, verified transport budget. This synchronizes accounting; it does not transfer or claim holder tokens.","tags":["Operations"],"description":"Creates an immutable, durable unsigned plan from canonical onchain state. Review its exact calls, evidence, commitment and expiry before wallet signing.","parameters":[{"$ref":"#/components/parameters/account"},{"$ref":"#/components/parameters/signer"},{"$ref":"#/components/parameters/issuedAt"},{"$ref":"#/components/parameters/expiresAt"},{"$ref":"#/components/parameters/nonce"},{"$ref":"#/components/parameters/signature"},{"$ref":"#/components/parameters/grant"},{"$ref":"#/components/parameters/idempotencyRequired"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationInput_prepare_accounting_sync"}}}},"responses":{"201":{"description":"Resource or preparation created, or the original idempotent result returned.","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlates this response with a problem report."},"Retry-After":{"schema":{"type":"string"},"description":"Present on HTTP 429; wait this many seconds before a bounded retry."},"RateLimit-Limit":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Account request quota where applied."},"RateLimit-Remaining":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Remaining account quota where applied."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plan"}}}},"default":{"$ref":"#/components/responses/Problem"}},"x-auth":{"scheme":"eip712-request-signature","ownerOnly":false,"requiredBotScopes":["plan"],"idempotencyRequired":true},"x-operation":"prepare_accounting_sync","x-source":["onchain"],"x-effects":{"externalMutation":false,"idempotent":true},"x-input-schema":"#/components/schemas/OperationInput_prepare_accounting_sync"}},"/api/v1/operations/prepare_buyback_pool/plans":{"post":{"operationId":"prepare_prepare_buyback_pool","summary":"Prepare registration of an existing Uniswap V4 buyback pool for a verified project hook. Validates pool identity, token pair, permissions and TWAP window.","tags":["Operations"],"description":"Creates an immutable, durable unsigned plan from canonical onchain state. Review its exact calls, evidence, commitment and expiry before wallet signing.","parameters":[{"$ref":"#/components/parameters/account"},{"$ref":"#/components/parameters/signer"},{"$ref":"#/components/parameters/issuedAt"},{"$ref":"#/components/parameters/expiresAt"},{"$ref":"#/components/parameters/nonce"},{"$ref":"#/components/parameters/signature"},{"$ref":"#/components/parameters/grant"},{"$ref":"#/components/parameters/idempotencyRequired"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationInput_prepare_buyback_pool"}}}},"responses":{"201":{"description":"Resource or preparation created, or the original idempotent result returned.","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlates this response with a problem report."},"Retry-After":{"schema":{"type":"string"},"description":"Present on HTTP 429; wait this many seconds before a bounded retry."},"RateLimit-Limit":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Account request quota where applied."},"RateLimit-Remaining":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Remaining account quota where applied."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plan"}}}},"default":{"$ref":"#/components/responses/Problem"}},"x-auth":{"scheme":"eip712-request-signature","ownerOnly":false,"requiredBotScopes":["plan"],"idempotencyRequired":true},"x-operation":"prepare_buyback_pool","x-source":["onchain"],"x-effects":{"externalMutation":false,"idempotent":true},"x-input-schema":"#/components/schemas/OperationInput_prepare_buyback_pool"}},"/api/v1/operations/prepare_buyback_twap/plans":{"post":{"operationId":"prepare_prepare_buyback_twap","summary":"Prepare an authorized buyback TWAP-window change with exact contract bounds and current project hook resolution.","tags":["Operations"],"description":"Creates an immutable, durable unsigned plan from canonical onchain state. Review its exact calls, evidence, commitment and expiry before wallet signing.","parameters":[{"$ref":"#/components/parameters/account"},{"$ref":"#/components/parameters/signer"},{"$ref":"#/components/parameters/issuedAt"},{"$ref":"#/components/parameters/expiresAt"},{"$ref":"#/components/parameters/nonce"},{"$ref":"#/components/parameters/signature"},{"$ref":"#/components/parameters/grant"},{"$ref":"#/components/parameters/idempotencyRequired"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationInput_prepare_buyback_twap"}}}},"responses":{"201":{"description":"Resource or preparation created, or the original idempotent result returned.","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlates this response with a problem report."},"Retry-After":{"schema":{"type":"string"},"description":"Present on HTTP 429; wait this many seconds before a bounded retry."},"RateLimit-Limit":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Account request quota where applied."},"RateLimit-Remaining":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Remaining account quota where applied."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plan"}}}},"default":{"$ref":"#/components/responses/Problem"}},"x-auth":{"scheme":"eip712-request-signature","ownerOnly":false,"requiredBotScopes":["plan"],"idempotencyRequired":true},"x-operation":"prepare_buyback_twap","x-source":["onchain"],"x-effects":{"externalMutation":false,"idempotent":true},"x-input-schema":"#/components/schemas/OperationInput_prepare_buyback_twap"}},"/api/v1/operations/prepare_buyback_hook/plans":{"post":{"operationId":"prepare_prepare_buyback_hook","summary":"Prepare a reviewed project buyback-registry override, with explicit target and authority checks.","tags":["Operations"],"description":"Creates an immutable, durable unsigned plan from canonical onchain state. Review its exact calls, evidence, commitment and expiry before wallet signing.","parameters":[{"$ref":"#/components/parameters/account"},{"$ref":"#/components/parameters/signer"},{"$ref":"#/components/parameters/issuedAt"},{"$ref":"#/components/parameters/expiresAt"},{"$ref":"#/components/parameters/nonce"},{"$ref":"#/components/parameters/signature"},{"$ref":"#/components/parameters/grant"},{"$ref":"#/components/parameters/idempotencyRequired"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationInput_prepare_buyback_hook"}}}},"responses":{"201":{"description":"Resource or preparation created, or the original idempotent result returned.","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlates this response with a problem report."},"Retry-After":{"schema":{"type":"string"},"description":"Present on HTTP 429; wait this many seconds before a bounded retry."},"RateLimit-Limit":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Account request quota where applied."},"RateLimit-Remaining":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Remaining account quota where applied."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plan"}}}},"default":{"$ref":"#/components/responses/Problem"}},"x-auth":{"scheme":"eip712-request-signature","ownerOnly":false,"requiredBotScopes":["plan"],"idempotencyRequired":true},"x-operation":"prepare_buyback_hook","x-source":["onchain"],"x-effects":{"externalMutation":false,"idempotent":true},"x-input-schema":"#/components/schemas/OperationInput_prepare_buyback_hook"}},"/api/v1/operations/prepare_router_terminal/plans":{"post":{"operationId":"prepare_prepare_router_terminal","summary":"Prepare an authorized router-terminal registry project override. The exact implementation address and resulting routing authority are reviewed.","tags":["Operations"],"description":"Creates an immutable, durable unsigned plan from canonical onchain state. Review its exact calls, evidence, commitment and expiry before wallet signing.","parameters":[{"$ref":"#/components/parameters/account"},{"$ref":"#/components/parameters/signer"},{"$ref":"#/components/parameters/issuedAt"},{"$ref":"#/components/parameters/expiresAt"},{"$ref":"#/components/parameters/nonce"},{"$ref":"#/components/parameters/signature"},{"$ref":"#/components/parameters/grant"},{"$ref":"#/components/parameters/idempotencyRequired"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationInput_prepare_router_terminal"}}}},"responses":{"201":{"description":"Resource or preparation created, or the original idempotent result returned.","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlates this response with a problem report."},"Retry-After":{"schema":{"type":"string"},"description":"Present on HTTP 429; wait this many seconds before a bounded retry."},"RateLimit-Limit":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Account request quota where applied."},"RateLimit-Remaining":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Remaining account quota where applied."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plan"}}}},"default":{"$ref":"#/components/responses/Problem"}},"x-auth":{"scheme":"eip712-request-signature","ownerOnly":false,"requiredBotScopes":["plan"],"idempotencyRequired":true},"x-operation":"prepare_router_terminal","x-source":["onchain"],"x-effects":{"externalMutation":false,"idempotent":true},"x-input-schema":"#/components/schemas/OperationInput_prepare_router_terminal"}},"/api/v1/operations/prepare_721_pay/plans":{"post":{"operationId":"prepare_prepare_721_pay","summary":"Prepare a verified NFT-tier payment with exact metadata, protected outputs and explicit funding prerequisites. Does not assume a successful fungible payment proves NFT delivery.","tags":["Operations"],"description":"Creates an immutable, durable unsigned plan from canonical onchain state. Review its exact calls, evidence, commitment and expiry before wallet signing.","parameters":[{"$ref":"#/components/parameters/account"},{"$ref":"#/components/parameters/signer"},{"$ref":"#/components/parameters/issuedAt"},{"$ref":"#/components/parameters/expiresAt"},{"$ref":"#/components/parameters/nonce"},{"$ref":"#/components/parameters/signature"},{"$ref":"#/components/parameters/grant"},{"$ref":"#/components/parameters/idempotencyRequired"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationInput_prepare_721_pay"}}}},"responses":{"201":{"description":"Resource or preparation created, or the original idempotent result returned.","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlates this response with a problem report."},"Retry-After":{"schema":{"type":"string"},"description":"Present on HTTP 429; wait this many seconds before a bounded retry."},"RateLimit-Limit":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Account request quota where applied."},"RateLimit-Remaining":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Remaining account quota where applied."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plan"}}}},"default":{"$ref":"#/components/responses/Problem"}},"x-auth":{"scheme":"eip712-request-signature","ownerOnly":false,"requiredBotScopes":["plan"],"idempotencyRequired":true},"x-operation":"prepare_721_pay","x-source":["onchain"],"x-effects":{"externalMutation":false,"idempotent":true},"x-input-schema":"#/components/schemas/OperationInput_prepare_721_pay"}},"/api/v1/operations/prepare_adjust_tiers/plans":{"post":{"operationId":"prepare_prepare_adjust_tiers","summary":"Prepare additions/removals of NFT tiers with typed price, supply, category, voting, reserve, discount and split configuration. Validates canonical hook identity and caller permissions.","tags":["Operations"],"description":"Creates an immutable, durable unsigned plan from canonical onchain state. Review its exact calls, evidence, commitment and expiry before wallet signing.","parameters":[{"$ref":"#/components/parameters/account"},{"$ref":"#/components/parameters/signer"},{"$ref":"#/components/parameters/issuedAt"},{"$ref":"#/components/parameters/expiresAt"},{"$ref":"#/components/parameters/nonce"},{"$ref":"#/components/parameters/signature"},{"$ref":"#/components/parameters/grant"},{"$ref":"#/components/parameters/idempotencyRequired"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationInput_prepare_adjust_tiers"}}}},"responses":{"201":{"description":"Resource or preparation created, or the original idempotent result returned.","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlates this response with a problem report."},"Retry-After":{"schema":{"type":"string"},"description":"Present on HTTP 429; wait this many seconds before a bounded retry."},"RateLimit-Limit":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Account request quota where applied."},"RateLimit-Remaining":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Remaining account quota where applied."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plan"}}}},"default":{"$ref":"#/components/responses/Problem"}},"x-auth":{"scheme":"eip712-request-signature","ownerOnly":false,"requiredBotScopes":["plan"],"idempotencyRequired":true},"x-operation":"prepare_adjust_tiers","x-source":["onchain"],"x-effects":{"externalMutation":false,"idempotent":true},"x-input-schema":"#/components/schemas/OperationInput_prepare_adjust_tiers"}},"/api/v1/operations/prepare_721_launch/plans":{"post":{"operationId":"prepare_prepare_721_launch","summary":"Prepare a standard project with a canonical tiered 721 hook attached at launch, complete typed rulesets/tiers/terminals and a verified per-chain creation fee. The factory owns hook metadata wiring.","tags":["Operations"],"description":"Creates an immutable, durable unsigned plan from canonical onchain state. Review its exact calls, evidence, commitment and expiry before wallet signing.","parameters":[{"$ref":"#/components/parameters/account"},{"$ref":"#/components/parameters/signer"},{"$ref":"#/components/parameters/issuedAt"},{"$ref":"#/components/parameters/expiresAt"},{"$ref":"#/components/parameters/nonce"},{"$ref":"#/components/parameters/signature"},{"$ref":"#/components/parameters/grant"},{"$ref":"#/components/parameters/idempotencyRequired"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationInput_prepare_721_launch"}}}},"responses":{"201":{"description":"Resource or preparation created, or the original idempotent result returned.","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlates this response with a problem report."},"Retry-After":{"schema":{"type":"string"},"description":"Present on HTTP 429; wait this many seconds before a bounded retry."},"RateLimit-Limit":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Account request quota where applied."},"RateLimit-Remaining":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Remaining account quota where applied."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plan"}}}},"default":{"$ref":"#/components/responses/Problem"}},"x-auth":{"scheme":"eip712-request-signature","ownerOnly":false,"requiredBotScopes":["plan"],"idempotencyRequired":true},"x-operation":"prepare_721_launch","x-source":["onchain"],"x-effects":{"externalMutation":false,"idempotent":true},"x-input-schema":"#/components/schemas/OperationInput_prepare_721_launch"}},"/api/v1/operations/prepare_revnet_deploy/plans":{"post":{"operationId":"prepare_prepare_revnet_deploy","summary":"Prepare a complete typed revnet deployment: stages, issuance, splits, accounting contexts, bridges and optional 721/Croptop settings, with a live per-chain creation fee. For a multi-chain launch, pass chainIds and the sucker registry fills the bridges.","tags":["Operations"],"description":"Creates an immutable, durable unsigned plan from canonical onchain state. Review its exact calls, evidence, commitment and expiry before wallet signing.","parameters":[{"$ref":"#/components/parameters/account"},{"$ref":"#/components/parameters/signer"},{"$ref":"#/components/parameters/issuedAt"},{"$ref":"#/components/parameters/expiresAt"},{"$ref":"#/components/parameters/nonce"},{"$ref":"#/components/parameters/signature"},{"$ref":"#/components/parameters/grant"},{"$ref":"#/components/parameters/idempotencyRequired"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationInput_prepare_revnet_deploy"}}}},"responses":{"201":{"description":"Resource or preparation created, or the original idempotent result returned.","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlates this response with a problem report."},"Retry-After":{"schema":{"type":"string"},"description":"Present on HTTP 429; wait this many seconds before a bounded retry."},"RateLimit-Limit":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Account request quota where applied."},"RateLimit-Remaining":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Remaining account quota where applied."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plan"}}}},"default":{"$ref":"#/components/responses/Problem"}},"x-auth":{"scheme":"eip712-request-signature","ownerOnly":false,"requiredBotScopes":["plan"],"idempotencyRequired":true},"x-operation":"prepare_revnet_deploy","x-source":["onchain"],"x-effects":{"externalMutation":false,"idempotent":true},"x-input-schema":"#/components/schemas/OperationInput_prepare_revnet_deploy"}},"/api/v1/operations/prepare_auto_issue/plans":{"post":{"operationId":"prepare_prepare_auto_issue","summary":"Prepare an eligible revnet stage auto-issuance for a beneficiary after verifying live deployment and claim state.","tags":["Operations"],"description":"Creates an immutable, durable unsigned plan from canonical onchain state. Review its exact calls, evidence, commitment and expiry before wallet signing.","parameters":[{"$ref":"#/components/parameters/account"},{"$ref":"#/components/parameters/signer"},{"$ref":"#/components/parameters/issuedAt"},{"$ref":"#/components/parameters/expiresAt"},{"$ref":"#/components/parameters/nonce"},{"$ref":"#/components/parameters/signature"},{"$ref":"#/components/parameters/grant"},{"$ref":"#/components/parameters/idempotencyRequired"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationInput_prepare_auto_issue"}}}},"responses":{"201":{"description":"Resource or preparation created, or the original idempotent result returned.","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlates this response with a problem report."},"Retry-After":{"schema":{"type":"string"},"description":"Present on HTTP 429; wait this many seconds before a bounded retry."},"RateLimit-Limit":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Account request quota where applied."},"RateLimit-Remaining":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Remaining account quota where applied."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plan"}}}},"default":{"$ref":"#/components/responses/Problem"}},"x-auth":{"scheme":"eip712-request-signature","ownerOnly":false,"requiredBotScopes":["plan"],"idempotencyRequired":true},"x-operation":"prepare_auto_issue","x-source":["onchain"],"x-effects":{"externalMutation":false,"idempotent":true},"x-input-schema":"#/components/schemas/OperationInput_prepare_auto_issue"}},"/api/v1/plans":{"post":{"operationId":"createTransactionPlan","summary":"Prepare reviewed ABI calls or a named semantic operation","tags":["Transactions"],"parameters":[{"$ref":"#/components/parameters/account"},{"$ref":"#/components/parameters/signer"},{"$ref":"#/components/parameters/issuedAt"},{"$ref":"#/components/parameters/expiresAt"},{"$ref":"#/components/parameters/nonce"},{"$ref":"#/components/parameters/signature"},{"$ref":"#/components/parameters/grant"},{"$ref":"#/components/parameters/idempotencyRequired"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePlan"}}}},"responses":{"201":{"description":"Resource or preparation created, or the original idempotent result returned.","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlates this response with a problem report."},"Retry-After":{"schema":{"type":"string"},"description":"Present on HTTP 429; wait this many seconds before a bounded retry."},"RateLimit-Limit":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Account request quota where applied."},"RateLimit-Remaining":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Remaining account quota where applied."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plan"}}}},"default":{"$ref":"#/components/responses/Problem"}},"x-auth":{"scheme":"eip712-request-signature","ownerOnly":false,"requiredBotScopes":["plan"],"idempotencyRequired":true}},"get":{"operationId":"listTransactionPlans","summary":"List plans visible to the authenticated principal","tags":["Transactions"],"description":"Owners may read account bot plans; bots see their own principal's plans. Listing does not authorize relay mutation of another principal's plan.","parameters":[{"$ref":"#/components/parameters/account"},{"$ref":"#/components/parameters/signer"},{"$ref":"#/components/parameters/issuedAt"},{"$ref":"#/components/parameters/expiresAt"},{"$ref":"#/components/parameters/nonce"},{"$ref":"#/components/parameters/signature"},{"$ref":"#/components/parameters/grant"},{"$ref":"#/components/parameters/idempotencyKey"},{"name":"account","in":"query","required":false,"schema":{"$ref":"#/components/schemas/Address"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"default":20}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","maxLength":256}}],"responses":{"200":{"description":"Successful route-specific JSON response.","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlates this response with a problem report."},"Retry-After":{"schema":{"type":"string"},"description":"Present on HTTP 429; wait this many seconds before a bounded retry."},"RateLimit-Limit":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Account request quota where applied."},"RateLimit-Remaining":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Remaining account quota where applied."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlanPage"}}}},"default":{"$ref":"#/components/responses/Problem"}},"x-auth":{"scheme":"eip712-request-signature","ownerOnly":false,"requiredBotScopes":["read"],"idempotencyRequired":false}}},"/api/v1/plans/{id}":{"get":{"operationId":"getTransactionPlan","summary":"Read or reconcile a stored transaction plan","tags":["Transactions"],"description":"refresh=true reconciles canonical receipts and configured confirmations; it never broadcasts. transactions_confirmed describes only these exact calls and verified modeled effects, not bridge settlement.","parameters":[{"$ref":"#/components/parameters/account"},{"$ref":"#/components/parameters/signer"},{"$ref":"#/components/parameters/issuedAt"},{"$ref":"#/components/parameters/expiresAt"},{"$ref":"#/components/parameters/nonce"},{"$ref":"#/components/parameters/signature"},{"$ref":"#/components/parameters/grant"},{"$ref":"#/components/parameters/idempotencyKey"},{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"refresh","in":"query","required":false,"schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Successful route-specific JSON response.","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlates this response with a problem report."},"Retry-After":{"schema":{"type":"string"},"description":"Present on HTTP 429; wait this many seconds before a bounded retry."},"RateLimit-Limit":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Account request quota where applied."},"RateLimit-Remaining":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Remaining account quota where applied."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plan"}}}},"default":{"$ref":"#/components/responses/Problem"}},"x-auth":{"scheme":"eip712-request-signature","ownerOnly":false,"requiredBotScopes":["read"],"idempotencyRequired":false}}},"/api/v1/plans/{id}/steps/{step}/simulation":{"get":{"operationId":"simulateTransactionStep","summary":"Simulate a ready plan step at current canonical state","tags":["Transactions"],"description":"Dependencies must be canonically confirmed with verified or explicitly unmodeled semantics. State overrides are not supplied. Simulation is an observation, not an inclusion guarantee.","parameters":[{"$ref":"#/components/parameters/account"},{"$ref":"#/components/parameters/signer"},{"$ref":"#/components/parameters/issuedAt"},{"$ref":"#/components/parameters/expiresAt"},{"$ref":"#/components/parameters/nonce"},{"$ref":"#/components/parameters/signature"},{"$ref":"#/components/parameters/grant"},{"$ref":"#/components/parameters/idempotencyKey"},{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"step","in":"path","required":true,"schema":{"type":"integer","minimum":0,"maximum":31}}],"responses":{"200":{"description":"Successful route-specific JSON response.","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlates this response with a problem report."},"Retry-After":{"schema":{"type":"string"},"description":"Present on HTTP 429; wait this many seconds before a bounded retry."},"RateLimit-Limit":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Account request quota where applied."},"RateLimit-Remaining":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Remaining account quota where applied."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Simulation"}}}},"default":{"$ref":"#/components/responses/Problem"}},"x-auth":{"scheme":"eip712-request-signature","ownerOnly":false,"requiredBotScopes":["read"],"idempotencyRequired":false}}},"/api/v1/plans/{id}/steps/{step}/submissions":{"post":{"operationId":"submitSignedTransactionStep","summary":"Relay the exact wallet-signed transaction for one plan step","tags":["Transactions"],"description":"Requires a separate valid transaction signature from the plan wallet and fresh owner consent for each new dispatch. Bots include `ownerApproval`. Destination, calldata, native value, chain, sender and nonce are checked against the immutable call. A step permanently binds one transaction hash. Reconcile unknown broadcast results before retrying identical bytes.","parameters":[{"$ref":"#/components/parameters/account"},{"$ref":"#/components/parameters/signer"},{"$ref":"#/components/parameters/issuedAt"},{"$ref":"#/components/parameters/expiresAt"},{"$ref":"#/components/parameters/nonce"},{"$ref":"#/components/parameters/signature"},{"$ref":"#/components/parameters/grant"},{"$ref":"#/components/parameters/idempotencyRequired"},{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"step","in":"path","required":true,"schema":{"type":"integer","minimum":0,"maximum":31}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignedTransactionSubmission"}}}},"responses":{"202":{"description":"Submission processed. Admission, broadcast, confirmation and bridge settlement remain separate.","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlates this response with a problem report."},"Retry-After":{"schema":{"type":"string"},"description":"Present on HTTP 429; wait this many seconds before a bounded retry."},"RateLimit-Limit":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Account request quota where applied."},"RateLimit-Remaining":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Remaining account quota where applied."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubmissionResult"}}}},"default":{"$ref":"#/components/responses/Problem"}},"x-auth":{"scheme":"eip712-request-signature","ownerOnly":false,"requiredBotScopes":["relay"],"idempotencyRequired":true},"x-owner-approval":{"schema":{"$ref":"#/components/schemas/TransactionApproval"},"requiredFor":"A new dispatch authenticated by a bot. A fresh owner-signed HTTP request supplies consent directly.","maximumValiditySeconds":300,"admittedUnderDurableLock":true,"reconcileOnlyRequiresNewApproval":false}}},"/api/v1/plans/{id}/submissions":{"post":{"operationId":"submitSignedTransactionBundle","summary":"Process an explicit ordered set of signed plan steps","tags":["Transactions"],"description":"Stops at the first blocked step and returns partial progress. Each bot-dispatched entry needs its own fresh `ownerApproval`. complete means all supplied submissions were processed, not confirmed. Resume remaining ready steps later. Multi-call and multi-chain journeys are not atomic.","parameters":[{"$ref":"#/components/parameters/account"},{"$ref":"#/components/parameters/signer"},{"$ref":"#/components/parameters/issuedAt"},{"$ref":"#/components/parameters/expiresAt"},{"$ref":"#/components/parameters/nonce"},{"$ref":"#/components/parameters/signature"},{"$ref":"#/components/parameters/grant"},{"$ref":"#/components/parameters/idempotencyRequired"},{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BundleSubmission"}}}},"responses":{"202":{"description":"Submission processed. Admission, broadcast, confirmation and bridge settlement remain separate.","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlates this response with a problem report."},"Retry-After":{"schema":{"type":"string"},"description":"Present on HTTP 429; wait this many seconds before a bounded retry."},"RateLimit-Limit":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Account request quota where applied."},"RateLimit-Remaining":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Remaining account quota where applied."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BundleResult"}}}},"default":{"$ref":"#/components/responses/Problem"}},"x-auth":{"scheme":"eip712-request-signature","ownerOnly":false,"requiredBotScopes":["relay"],"idempotencyRequired":true},"x-owner-approval":{"schema":{"$ref":"#/components/schemas/TransactionApproval"},"requiredFor":"A new dispatch authenticated by a bot. A fresh owner-signed HTTP request supplies consent directly.","maximumValiditySeconds":300,"admittedUnderDurableLock":true,"reconcileOnlyRequiresNewApproval":false}}},"/api/v1/sponsorships":{"post":{"operationId":"createSponsorshipPreparation","summary":"Prepare exact owner forwarding authorizations from a stored plan","tags":["Sponsorship"],"description":"Requires configured prepaid execution and the source plan's creating principal. Choose ready calls from the source plan. Multiple calls per chain are supported in plan order, within Center’s 32-step plan capacity. The owner reviews each exact ForwardRequest and its deadline; source-plan expiry only limits publication.","parameters":[{"$ref":"#/components/parameters/account"},{"$ref":"#/components/parameters/signer"},{"$ref":"#/components/parameters/issuedAt"},{"$ref":"#/components/parameters/expiresAt"},{"$ref":"#/components/parameters/nonce"},{"$ref":"#/components/parameters/signature"},{"$ref":"#/components/parameters/grant"},{"$ref":"#/components/parameters/idempotencyRequired"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSponsorship"}}}},"responses":{"201":{"description":"Resource or preparation created, or the original idempotent result returned.","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlates this response with a problem report."},"Retry-After":{"schema":{"type":"string"},"description":"Present on HTTP 429; wait this many seconds before a bounded retry."},"RateLimit-Limit":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Account request quota where applied."},"RateLimit-Remaining":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Remaining account quota where applied."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Sponsorship"}}}},"default":{"$ref":"#/components/responses/Problem"}},"x-auth":{"scheme":"eip712-request-signature","ownerOnly":false,"requiredBotScopes":["plan"],"idempotencyRequired":true}}},"/api/v1/sponsorships/{id}":{"get":{"operationId":"getSponsorshipPreparation","summary":"Read or reconcile a prepaid execution wave","tags":["Sponsorship"],"description":"refresh=true verifies destination execution using canonical chain evidence; provider status is only a hint. A funding quote does not establish whether the bundle has been paid. Reconcile the source plan independently for its full dependency state.","parameters":[{"$ref":"#/components/parameters/account"},{"$ref":"#/components/parameters/signer"},{"$ref":"#/components/parameters/issuedAt"},{"$ref":"#/components/parameters/expiresAt"},{"$ref":"#/components/parameters/nonce"},{"$ref":"#/components/parameters/signature"},{"$ref":"#/components/parameters/grant"},{"$ref":"#/components/parameters/idempotencyKey"},{"name":"id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}},{"name":"refresh","in":"query","required":false,"schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Successful route-specific JSON response.","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlates this response with a problem report."},"Retry-After":{"schema":{"type":"string"},"description":"Present on HTTP 429; wait this many seconds before a bounded retry."},"RateLimit-Limit":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Account request quota where applied."},"RateLimit-Remaining":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Remaining account quota where applied."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Sponsorship"}}}},"default":{"$ref":"#/components/responses/Problem"}},"x-auth":{"scheme":"eip712-request-signature","ownerOnly":false,"requiredBotScopes":["read"],"idempotencyRequired":false}}},"/api/v1/sponsorships/{id}/submissions":{"post":{"operationId":"publishSponsorshipAuthorizations","summary":"Publish exact owner-signed forward requests once","tags":["Sponsorship"],"description":"Supply signatures in authorization order. Bot publication additionally requires fresh CenterSponsorshipApproval bound to the exact submission hash. The adapter never repeats an uncertain provider POST; submission_unknown is not permission to publish again. Long forwarding validity does not create a reusable session.","parameters":[{"$ref":"#/components/parameters/account"},{"$ref":"#/components/parameters/signer"},{"$ref":"#/components/parameters/issuedAt"},{"$ref":"#/components/parameters/expiresAt"},{"$ref":"#/components/parameters/nonce"},{"$ref":"#/components/parameters/signature"},{"$ref":"#/components/parameters/grant"},{"$ref":"#/components/parameters/idempotencyRequired"},{"name":"id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubmitSponsorship"}}}},"responses":{"202":{"description":"Submission processed. Admission, broadcast, confirmation and bridge settlement remain separate.","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlates this response with a problem report."},"Retry-After":{"schema":{"type":"string"},"description":"Present on HTTP 429; wait this many seconds before a bounded retry."},"RateLimit-Limit":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Account request quota where applied."},"RateLimit-Remaining":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Remaining account quota where applied."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Sponsorship"}}}},"default":{"$ref":"#/components/responses/Problem"}},"x-auth":{"scheme":"eip712-request-signature","ownerOnly":false,"requiredBotScopes":["relay"],"idempotencyRequired":true},"x-owner-approval":{"schema":{"$ref":"#/components/schemas/SponsorshipApproval"},"requiredFor":"A new dispatch authenticated by a bot. A fresh owner-signed HTTP request supplies consent directly.","maximumValiditySeconds":300,"admittedUnderDurableLock":true,"reconcileOnlyRequiresNewApproval":false}}},"/api/v1/sponsorships/{id}/funding-plans":{"post":{"operationId":"createSponsorshipFundingPlan","summary":"Persist a reviewed plan for one authenticated native funding quote","tags":["Sponsorship"],"description":"Payer must equal the API owner's wallet. Returns an unsigned durable plan for separate review, signature and submission. This API never signs or funds that transaction. Check existing funding before paying; funding confirmation does not prove destination execution, economic completion or bridge settlement.","parameters":[{"$ref":"#/components/parameters/account"},{"$ref":"#/components/parameters/signer"},{"$ref":"#/components/parameters/issuedAt"},{"$ref":"#/components/parameters/expiresAt"},{"$ref":"#/components/parameters/nonce"},{"$ref":"#/components/parameters/signature"},{"$ref":"#/components/parameters/grant"},{"$ref":"#/components/parameters/idempotencyRequired"},{"name":"id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSponsorshipFundingPlan"}}}},"responses":{"201":{"description":"Resource or preparation created, or the original idempotent result returned.","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlates this response with a problem report."},"Retry-After":{"schema":{"type":"string"},"description":"Present on HTTP 429; wait this many seconds before a bounded retry."},"RateLimit-Limit":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Account request quota where applied."},"RateLimit-Remaining":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Remaining account quota where applied."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plan"}}}},"default":{"$ref":"#/components/responses/Problem"}},"x-auth":{"scheme":"eip712-request-signature","ownerOnly":false,"requiredBotScopes":["plan"],"idempotencyRequired":true}}},"/api/v1/smart-accounts/capabilities":{"get":{"operationId":"getSmartAccountCapabilities","summary":"Discover reviewed wallet manifests and remaining execution requirements","tags":["Wallets"],"description":"Runtime manifests and inspectors are operator-owned. Check top-level `capabilities.userOperations` for current provider availability and `capabilities.sessions` for activation readiness. Implemented routes or historical research do not prove deployed guard or account execution support; an empty deployment list supplies no usable manifest.","parameters":[],"responses":{"200":{"description":"Successful route-specific JSON response.","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlates this response with a problem report."},"Retry-After":{"schema":{"type":"string"},"description":"Present on HTTP 429; wait this many seconds before a bounded retry."},"RateLimit-Limit":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Account request quota where applied."},"RateLimit-Remaining":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Remaining account quota where applied."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SmartAccountCapabilities"}}}},"default":{"$ref":"#/components/responses/Problem"}},"x-auth":{"scheme":"public","ownerOnly":false,"requiredBotScopes":[],"idempotencyRequired":false},"security":[]}},"/api/v1/smart-accounts/binding-challenges":{"post":{"operationId":"createSmartBindingChallenge","summary":"Inspect an existing reviewed Safe and prepare owner-threshold binding data","tags":["Wallets"],"description":"Requires the API owner and a configured exact manifest. Returns a distinct BindSmartAccount EIP-712 document after canonical owner/runtime checks. Sign the returned domain and message exactly. This is API wallet association, not session installation or spending authority.","parameters":[{"$ref":"#/components/parameters/account"},{"$ref":"#/components/parameters/signer"},{"$ref":"#/components/parameters/issuedAt"},{"$ref":"#/components/parameters/expiresAt"},{"$ref":"#/components/parameters/nonce"},{"$ref":"#/components/parameters/signature"},{"$ref":"#/components/parameters/grant"},{"$ref":"#/components/parameters/idempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SmartBindingChallengeInput"}}}},"responses":{"200":{"description":"Successful route-specific JSON response.","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlates this response with a problem report."},"Retry-After":{"schema":{"type":"string"},"description":"Present on HTTP 429; wait this many seconds before a bounded retry."},"RateLimit-Limit":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Account request quota where applied."},"RateLimit-Remaining":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Remaining account quota where applied."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SmartBindingChallenge"}}}},"default":{"$ref":"#/components/responses/Problem"}},"x-auth":{"scheme":"eip712-request-signature","ownerOnly":true,"requiredBotScopes":[],"idempotencyRequired":false}}},"/api/v1/smart-accounts/onboarding-challenges":{"post":{"operationId":"createSmartOnboardingChallenge","summary":"Review sole-owner Base wallet binding and one-hour browser API access","tags":["Wallets"],"description":"Bounded public canonical read for a deployed, configured sole-owner Base Safe without spending sessions. Returns the exact SetupAccount document and digest without enrollment, nonce consumption or generic signed-request headers. The browser selects the grant UUID/key before review. Requires configured onboarding storage and a complete current dependency/module inspection; missing support fails explicitly.","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SmartOnboardingChallengeInput"}}}},"responses":{"200":{"description":"Successful route-specific JSON response.","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlates this response with a problem report."},"Retry-After":{"schema":{"type":"string"},"description":"Present on HTTP 429; wait this many seconds before a bounded retry."},"RateLimit-Limit":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Account request quota where applied."},"RateLimit-Remaining":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Remaining account quota where applied."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SmartOnboardingChallenge"}}}},"default":{"$ref":"#/components/responses/Problem"}},"x-auth":{"scheme":"public","ownerOnly":false,"requiredBotScopes":[],"idempotencyRequired":false},"security":[]}},"/api/v1/smart-accounts/onboarding":{"post":{"operationId":"finalizeSmartOnboarding","summary":"Finalize account identity, wallet binding and exact browser API grant with one owner approval","tags":["Wallets"],"description":"Requires the current sole owner's SetupAccount signature and the distinct browser key's CenterSetupProof over the setup digest. No generic CenterRequest headers are needed. Rechecks fresh canonical deployment state, then atomically enrolls if absent, binds and creates the exact grant. Replay may return the existing current result; revoked, changed or superseded authority is never restored. Persist the grant UUID/key, document and signatures before dispatch. Recover a lost successful response with the saved grant and an ordinary grant-signed binding GET. Deployment and each payment retain separate owner approval; this route authorizes no transaction or onchain session.","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SmartOnboardingInput"}}}},"responses":{"201":{"description":"Resource or preparation created, or the original idempotent result returned.","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlates this response with a problem report."},"Retry-After":{"schema":{"type":"string"},"description":"Present on HTTP 429; wait this many seconds before a bounded retry."},"RateLimit-Limit":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Account request quota where applied."},"RateLimit-Remaining":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Remaining account quota where applied."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SmartOnboardingResult"}}}},"default":{"$ref":"#/components/responses/Problem"}},"x-auth":{"scheme":"public","ownerOnly":false,"requiredBotScopes":[],"idempotencyRequired":false},"security":[],"x-body-approval":{"scheme":"eip712-purpose-signatures","required":true,"owner":{"field":"signature","primaryType":"SetupAccount","signerRole":"current-sole-wallet-owner"},"browser":{"field":"proofSignature","primaryType":"CenterSetupProof","signedFields":["setupDigest"],"signerRole":"exact-grant-browser-key"},"maximumAuthorizationSeconds":300,"maximumGrantSeconds":3600,"transactionAuthority":false,"onchainSessionAuthority":false}}},"/api/v1/smart-accounts/bindings":{"post":{"operationId":"bindSmartAccount","summary":"Link a reviewed Safe using its current EOA-owner threshold signatures","tags":["Wallets"],"description":"Rechecks current owner/module state and verifies exactly the required threshold of packed EOA owner signatures in ascending address order. The API owner must be one current owner. Binding nonces cannot restore an unlinked or superseded authorization.","parameters":[{"$ref":"#/components/parameters/account"},{"$ref":"#/components/parameters/signer"},{"$ref":"#/components/parameters/issuedAt"},{"$ref":"#/components/parameters/expiresAt"},{"$ref":"#/components/parameters/nonce"},{"$ref":"#/components/parameters/signature"},{"$ref":"#/components/parameters/grant"},{"$ref":"#/components/parameters/idempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SmartBindingInput"}}}},"responses":{"201":{"description":"Resource or preparation created, or the original idempotent result returned.","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlates this response with a problem report."},"Retry-After":{"schema":{"type":"string"},"description":"Present on HTTP 429; wait this many seconds before a bounded retry."},"RateLimit-Limit":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Account request quota where applied."},"RateLimit-Remaining":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Remaining account quota where applied."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SmartAccountBinding"}}}},"default":{"$ref":"#/components/responses/Problem"}},"x-auth":{"scheme":"eip712-request-signature","ownerOnly":true,"requiredBotScopes":[],"idempotencyRequired":false}},"get":{"operationId":"listSmartAccountBindings","summary":"List stored wallet association snapshots for this API account","tags":["Wallets"],"description":"Stored snapshots are not fresh chain verification. Read an individual binding to recheck its current state. `executionVerified` remains false.","parameters":[{"$ref":"#/components/parameters/account"},{"$ref":"#/components/parameters/signer"},{"$ref":"#/components/parameters/issuedAt"},{"$ref":"#/components/parameters/expiresAt"},{"$ref":"#/components/parameters/nonce"},{"$ref":"#/components/parameters/signature"},{"$ref":"#/components/parameters/grant"},{"$ref":"#/components/parameters/idempotencyKey"}],"responses":{"200":{"description":"Successful route-specific JSON response.","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlates this response with a problem report."},"Retry-After":{"schema":{"type":"string"},"description":"Present on HTTP 429; wait this many seconds before a bounded retry."},"RateLimit-Limit":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Account request quota where applied."},"RateLimit-Remaining":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Remaining account quota where applied."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SmartBindingList"}}}},"default":{"$ref":"#/components/responses/Problem"}},"x-auth":{"scheme":"eip712-request-signature","ownerOnly":false,"requiredBotScopes":["read"],"idempotencyRequired":false}}},"/api/v1/smart-accounts/bindings/{id}":{"get":{"operationId":"getSmartAccountBinding","summary":"Recheck a wallet binding against current canonical state","tags":["Wallets"],"description":"A changed owner or modeled module configuration requires a new owner-authorized binding. This read does not establish session execution support.","parameters":[{"$ref":"#/components/parameters/account"},{"$ref":"#/components/parameters/signer"},{"$ref":"#/components/parameters/issuedAt"},{"$ref":"#/components/parameters/expiresAt"},{"$ref":"#/components/parameters/nonce"},{"$ref":"#/components/parameters/signature"},{"$ref":"#/components/parameters/grant"},{"$ref":"#/components/parameters/idempotencyKey"},{"name":"id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/Hash"}}],"responses":{"200":{"description":"Successful route-specific JSON response.","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlates this response with a problem report."},"Retry-After":{"schema":{"type":"string"},"description":"Present on HTTP 429; wait this many seconds before a bounded retry."},"RateLimit-Limit":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Account request quota where applied."},"RateLimit-Remaining":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Remaining account quota where applied."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SmartAccountBinding"}}}},"default":{"$ref":"#/components/responses/Problem"}},"x-auth":{"scheme":"eip712-request-signature","ownerOnly":false,"requiredBotScopes":["read"],"idempotencyRequired":false}},"delete":{"operationId":"unlinkSmartAccount","summary":"Unlink a wallet from the owner's API account","tags":["Wallets"],"description":"API unlink only. It does not revoke an installed onchain session, alter a Safe owner set, or cancel previously authorized chain execution.","parameters":[{"$ref":"#/components/parameters/account"},{"$ref":"#/components/parameters/signer"},{"$ref":"#/components/parameters/issuedAt"},{"$ref":"#/components/parameters/expiresAt"},{"$ref":"#/components/parameters/nonce"},{"$ref":"#/components/parameters/signature"},{"$ref":"#/components/parameters/grant"},{"$ref":"#/components/parameters/idempotencyKey"},{"name":"id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/Hash"}}],"responses":{"200":{"description":"Successful route-specific JSON response.","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlates this response with a problem report."},"Retry-After":{"schema":{"type":"string"},"description":"Present on HTTP 429; wait this many seconds before a bounded retry."},"RateLimit-Limit":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Account request quota where applied."},"RateLimit-Remaining":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Remaining account quota where applied."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SmartBindingUnlinked"}}}},"default":{"$ref":"#/components/responses/Problem"}},"x-auth":{"scheme":"eip712-request-signature","ownerOnly":true,"requiredBotScopes":[],"idempotencyRequired":false}}},"/api/v1/smart-accounts/session-reviews":{"post":{"operationId":"reviewSmartAccountSession","summary":"Review a bounded session policy without installing or activating it","tags":["Wallets"],"description":"Requires a verified existing binding, an active cumulative relay grant and configured reviewed action targets. Returns reviewable-not-activated, exact policy hashes and remaining activation requirements. There is no encoded installation transaction, UserOperation, live session or standing fund-moving authorization in this result. Seven- or thirty-day durations must fit the selected grant.","parameters":[{"$ref":"#/components/parameters/account"},{"$ref":"#/components/parameters/signer"},{"$ref":"#/components/parameters/issuedAt"},{"$ref":"#/components/parameters/expiresAt"},{"$ref":"#/components/parameters/nonce"},{"$ref":"#/components/parameters/signature"},{"$ref":"#/components/parameters/grant"},{"$ref":"#/components/parameters/idempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionReviewInput"}}}},"responses":{"200":{"description":"Successful route-specific JSON response.","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlates this response with a problem report."},"Retry-After":{"schema":{"type":"string"},"description":"Present on HTTP 429; wait this many seconds before a bounded retry."},"RateLimit-Limit":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Account request quota where applied."},"RateLimit-Remaining":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Remaining account quota where applied."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionReview"}}}},"default":{"$ref":"#/components/responses/Problem"}},"x-auth":{"scheme":"eip712-request-signature","ownerOnly":false,"requiredBotScopes":["plan"],"idempotencyRequired":false},"x-activation":"review-only","x-execution-available":false}},"/api/v1/smart-accounts/creation-plans":{"post":{"operationId":"prepareSmartAccountCreation","summary":"Prepare deterministic Safe creation calldata with canonical dependency evidence","tags":["Wallets"],"description":"Returns stateless exact factory calldata, predicted address and initializer. The API owner must appear in the owner set. A wallet signs and funds the factory transaction separately; this response is not a durable transaction plan or deployed account. Bind only after confirmed canonical creation and verified configuration.","parameters":[{"$ref":"#/components/parameters/account"},{"$ref":"#/components/parameters/signer"},{"$ref":"#/components/parameters/issuedAt"},{"$ref":"#/components/parameters/expiresAt"},{"$ref":"#/components/parameters/nonce"},{"$ref":"#/components/parameters/signature"},{"$ref":"#/components/parameters/grant"},{"$ref":"#/components/parameters/idempotencyRequired"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SmartCreationInput"}}}},"responses":{"201":{"description":"Resource or preparation created, or the original idempotent result returned.","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlates this response with a problem report."},"Retry-After":{"schema":{"type":"string"},"description":"Present on HTTP 429; wait this many seconds before a bounded retry."},"RateLimit-Limit":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Account request quota where applied."},"RateLimit-Remaining":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Remaining account quota where applied."}},"content":{"application/json":{"schema":{"type":"object","properties":{"creation":{"$ref":"#/components/schemas/SmartCreation"}},"required":["creation"],"additionalProperties":false}}}},"default":{"$ref":"#/components/responses/Problem"}},"x-auth":{"scheme":"eip712-request-signature","ownerOnly":true,"requiredBotScopes":[],"idempotencyRequired":true}}},"/api/v1/smart-accounts/bindings/{id}/plans":{"post":{"operationId":"createSmartAccountTransactionPlan","summary":"Create a durable plan for a currently verified smart-account binding","tags":["Wallets"],"description":"The draft account must equal the exact bound Safe. Use contract_calls or a catalog operation and preserve the creating principal. Prepare its execution through /user-operations; an API grant or binding cannot supply a Safe-owner signature or session authority.","parameters":[{"$ref":"#/components/parameters/account"},{"$ref":"#/components/parameters/signer"},{"$ref":"#/components/parameters/issuedAt"},{"$ref":"#/components/parameters/expiresAt"},{"$ref":"#/components/parameters/nonce"},{"$ref":"#/components/parameters/signature"},{"$ref":"#/components/parameters/grant"},{"$ref":"#/components/parameters/idempotencyRequired"},{"name":"id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/Hash"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePlan"}}}},"responses":{"201":{"description":"Resource or preparation created, or the original idempotent result returned.","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlates this response with a problem report."},"Retry-After":{"schema":{"type":"string"},"description":"Present on HTTP 429; wait this many seconds before a bounded retry."},"RateLimit-Limit":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Account request quota where applied."},"RateLimit-Remaining":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Remaining account quota where applied."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Plan"}}}},"default":{"$ref":"#/components/responses/Problem"}},"x-auth":{"scheme":"eip712-request-signature","ownerOnly":false,"requiredBotScopes":["plan"],"idempotencyRequired":true}}},"/api/v1/smart-accounts/sessions":{"post":{"operationId":"prepareSmartAccountSession","summary":"Compile and persist an immutable bounded session generation","tags":["Sessions"],"description":"Requires a complete verified binding, active read+plan+relay grant, reviewed compiler, asset/action targets and mandatory gas-only sponsorship budget. URI-only sessions may use allocations:[]. Preparation returns prepared and no standing authority. Generation, salt, policy nonce and permission identities cannot be reused.","parameters":[{"$ref":"#/components/parameters/account"},{"$ref":"#/components/parameters/signer"},{"$ref":"#/components/parameters/issuedAt"},{"$ref":"#/components/parameters/expiresAt"},{"$ref":"#/components/parameters/nonce"},{"$ref":"#/components/parameters/signature"},{"$ref":"#/components/parameters/grant"},{"$ref":"#/components/parameters/idempotencyRequired"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionPreparationInput"}}}},"responses":{"201":{"description":"Resource or preparation created, or the original idempotent result returned.","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlates this response with a problem report."},"Retry-After":{"schema":{"type":"string"},"description":"Present on HTTP 429; wait this many seconds before a bounded retry."},"RateLimit-Limit":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Account request quota where applied."},"RateLimit-Remaining":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Remaining account quota where applied."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoredSession"}}}},"default":{"$ref":"#/components/responses/Problem"}},"x-auth":{"scheme":"eip712-request-signature","ownerOnly":false,"requiredBotScopes":["plan"],"idempotencyRequired":true},"x-runtime-capability":"sessions.activationReady","x-onchain-authority":"Exact installed policy and current canonical evidence, never the database record alone."},"get":{"operationId":"listSmartAccountSessions","summary":"List immutable sessions visible to the owner or exact bound bot","tags":["Sessions"],"description":"Ordered by session UUID. Follow optional `nextCursor` unchanged. The owner can inspect account sessions; a bot sees only the session's exact grant. Listing does not refresh chain evidence.","parameters":[{"$ref":"#/components/parameters/account"},{"$ref":"#/components/parameters/signer"},{"$ref":"#/components/parameters/issuedAt"},{"$ref":"#/components/parameters/expiresAt"},{"$ref":"#/components/parameters/nonce"},{"$ref":"#/components/parameters/signature"},{"$ref":"#/components/parameters/grant"},{"$ref":"#/components/parameters/idempotencyKey"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},{"name":"cursor","in":"query","required":false,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"responses":{"200":{"description":"Successful route-specific JSON response.","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlates this response with a problem report."},"Retry-After":{"schema":{"type":"string"},"description":"Present on HTTP 429; wait this many seconds before a bounded retry."},"RateLimit-Limit":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Account request quota where applied."},"RateLimit-Remaining":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Remaining account quota where applied."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionPage"}}}},"default":{"$ref":"#/components/responses/Problem"}},"x-auth":{"scheme":"eip712-request-signature","ownerOnly":false,"requiredBotScopes":["read"],"idempotencyRequired":false}}},"/api/v1/smart-accounts/sessions/{id}":{"get":{"operationId":"getSmartAccountSession","summary":"Read or refresh exact installed-policy and counter evidence","tags":["Sessions"],"description":"Refreshes sessions with an activation claim by default. refresh=false returns stored history. Reorgs, counter resets and configuration changes suspend execution; stale proofs do not restore a generation. A failed verifier can return a problem while recording stale state.","parameters":[{"$ref":"#/components/parameters/account"},{"$ref":"#/components/parameters/signer"},{"$ref":"#/components/parameters/issuedAt"},{"$ref":"#/components/parameters/expiresAt"},{"$ref":"#/components/parameters/nonce"},{"$ref":"#/components/parameters/signature"},{"$ref":"#/components/parameters/grant"},{"$ref":"#/components/parameters/idempotencyKey"},{"name":"id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}},{"name":"refresh","in":"query","required":false,"schema":{"type":"boolean","default":true}}],"responses":{"200":{"description":"Successful route-specific JSON response.","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlates this response with a problem report."},"Retry-After":{"schema":{"type":"string"},"description":"Present on HTTP 429; wait this many seconds before a bounded retry."},"RateLimit-Limit":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Account request quota where applied."},"RateLimit-Remaining":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Remaining account quota where applied."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoredSession"}}}},"default":{"$ref":"#/components/responses/Problem"}},"x-auth":{"scheme":"eip712-request-signature","ownerOnly":false,"requiredBotScopes":["read"],"idempotencyRequired":false}}},"/api/v1/smart-accounts/sessions/{id}/quota":{"get":{"operationId":"getSmartAccountSessionQuota","summary":"Read approved allocations and freshly observed onchain counters","tags":["Sessions"],"description":"Refreshes available installed evidence. Preserve chain and asset units. Database limits do not establish token balances or reusable cross-chain budget; policy validation can consume limits even when execution fails.","parameters":[{"$ref":"#/components/parameters/account"},{"$ref":"#/components/parameters/signer"},{"$ref":"#/components/parameters/issuedAt"},{"$ref":"#/components/parameters/expiresAt"},{"$ref":"#/components/parameters/nonce"},{"$ref":"#/components/parameters/signature"},{"$ref":"#/components/parameters/grant"},{"$ref":"#/components/parameters/idempotencyKey"},{"name":"id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"responses":{"200":{"description":"Successful route-specific JSON response.","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlates this response with a problem report."},"Retry-After":{"schema":{"type":"string"},"description":"Present on HTTP 429; wait this many seconds before a bounded retry."},"RateLimit-Limit":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Account request quota where applied."},"RateLimit-Remaining":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Remaining account quota where applied."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionQuota"}}}},"default":{"$ref":"#/components/responses/Problem"}},"x-auth":{"scheme":"eip712-request-signature","ownerOnly":false,"requiredBotScopes":["read"],"idempotencyRequired":false}}},"/api/v1/smart-accounts/sessions/{id}/activation-plans":{"post":{"operationId":"createSessionActivationPlan","summary":"Prepare the owner's exact session activation plan","tags":["Sessions"],"description":"Only the API owner can request this plan, acknowledging the exact `compiledHash`. Separately prepare a UserOperation from the returned plan, obtain the current Safe-owner threshold signatures, submit and refresh the session. Only the currently admitted lifecycle plan may execute. An expired plan with no admitted transport or attempt can be replaced with fresh owner consent and a new idempotency key, preserving up to 32 superseded approvals. Replacement cannot reinitialize an observed active generation. Only one generation per physical wallet may remain admitted, across keys, grants, assets and time windows. Release requires finalized disabled state with an advanced enable nonce; API revocation, unlinking or expiry alone cannot release it.","parameters":[{"$ref":"#/components/parameters/account"},{"$ref":"#/components/parameters/signer"},{"$ref":"#/components/parameters/issuedAt"},{"$ref":"#/components/parameters/expiresAt"},{"$ref":"#/components/parameters/nonce"},{"$ref":"#/components/parameters/signature"},{"$ref":"#/components/parameters/grant"},{"$ref":"#/components/parameters/idempotencyRequired"},{"name":"id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionPlanInput"}}}},"responses":{"201":{"description":"Resource or preparation created, or the original idempotent result returned.","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlates this response with a problem report."},"Retry-After":{"schema":{"type":"string"},"description":"Present on HTTP 429; wait this many seconds before a bounded retry."},"RateLimit-Limit":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Account request quota where applied."},"RateLimit-Remaining":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Remaining account quota where applied."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionPlanResult"}}}},"default":{"$ref":"#/components/responses/Problem"}},"x-auth":{"scheme":"eip712-request-signature","ownerOnly":true,"requiredBotScopes":[],"idempotencyRequired":true},"x-runtime-capability":"sessions.activationReady","x-onchain-authority":"Exact installed policy and current canonical evidence, never the database record alone."}},"/api/v1/smart-accounts/sessions/{id}/revocation-plans":{"post":{"operationId":"createSessionRevocationPlan","summary":"Prepare the owner's exact session revocation plan","tags":["Sessions"],"description":"Only the API owner can request this plan, acknowledging the exact `compiledHash`. Separately prepare a UserOperation from the returned plan, obtain the current Safe-owner threshold signatures, submit and refresh the session. Only the currently admitted lifecycle plan may execute. An expired plan with no admitted transport or attempt can be replaced with fresh owner consent and a new idempotency key, preserving up to 32 superseded approvals. Replacement cannot reinitialize an observed active generation. Only one generation per physical wallet may remain admitted, across keys, grants, assets and time windows. Release requires finalized disabled state with an advanced enable nonce; API revocation, unlinking or expiry alone cannot release it.","parameters":[{"$ref":"#/components/parameters/account"},{"$ref":"#/components/parameters/signer"},{"$ref":"#/components/parameters/issuedAt"},{"$ref":"#/components/parameters/expiresAt"},{"$ref":"#/components/parameters/nonce"},{"$ref":"#/components/parameters/signature"},{"$ref":"#/components/parameters/grant"},{"$ref":"#/components/parameters/idempotencyRequired"},{"name":"id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionPlanInput"}}}},"responses":{"201":{"description":"Resource or preparation created, or the original idempotent result returned.","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlates this response with a problem report."},"Retry-After":{"schema":{"type":"string"},"description":"Present on HTTP 429; wait this many seconds before a bounded retry."},"RateLimit-Limit":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Account request quota where applied."},"RateLimit-Remaining":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Remaining account quota where applied."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionPlanResult"}}}},"default":{"$ref":"#/components/responses/Problem"}},"x-auth":{"scheme":"eip712-request-signature","ownerOnly":true,"requiredBotScopes":[],"idempotencyRequired":true},"x-runtime-capability":"sessions.activationReady","x-onchain-authority":"Exact installed policy and current canonical evidence, never the database record alone."}},"/api/v1/wallet/payment-reviews":{"post":{"operationId":"prepareWalletPaymentReview","summary":"Prepare an exact passkey payment review for the current app","tags":["WalletPayments"],"description":"Requires a current typed wallet-app grant. The server loads its existing prepared operation and derives the payment and SafeOp digest. Neither API owners nor legacy bot grants can use this route. The saved allowlist callback supplies the return location. No signature, nonce reservation or submission occurs here.","parameters":[{"$ref":"#/components/parameters/account"},{"$ref":"#/components/parameters/signer"},{"$ref":"#/components/parameters/issuedAt"},{"$ref":"#/components/parameters/expiresAt"},{"$ref":"#/components/parameters/nonce"},{"$ref":"#/components/parameters/signature"},{"$ref":"#/components/parameters/grant"},{"$ref":"#/components/parameters/idempotencyRequired"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrepareWalletPaymentReview"}}}},"responses":{"201":{"description":"Resource or preparation created, or the original idempotent result returned.","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlates this response with a problem report."},"Retry-After":{"schema":{"type":"string"},"description":"Present on HTTP 429; wait this many seconds before a bounded retry."},"RateLimit-Limit":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Account request quota where applied."},"RateLimit-Remaining":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Remaining account quota where applied."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WalletPaymentReview"}}}},"default":{"$ref":"#/components/responses/Problem"}},"x-auth":{"scheme":"eip712-request-signature","ownerOnly":false,"requiredBotScopes":["plan"],"idempotencyRequired":true},"x-principal-kind":"wallet-app"}},"/api/v1/wallet/payment-reviews/{id}":{"get":{"operationId":"getWalletPaymentReview","summary":"Read the original app review and any live owner approval","tags":["WalletPayments"],"description":"Only the original current app grant and incarnation can retrieve its review. Approval requires a separate explicit passkey ceremony on the central wallet origin. A winning signature is returned only while the review and authority remain live. Submit it through the original UserOperation endpoint with unchanged fields. After review expiry, reconcile the original UserOperation; expiry does not establish a safe replacement.","parameters":[{"$ref":"#/components/parameters/account"},{"$ref":"#/components/parameters/signer"},{"$ref":"#/components/parameters/issuedAt"},{"$ref":"#/components/parameters/expiresAt"},{"$ref":"#/components/parameters/nonce"},{"$ref":"#/components/parameters/signature"},{"$ref":"#/components/parameters/grant"},{"$ref":"#/components/parameters/idempotencyKey"},{"name":"id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"responses":{"200":{"description":"Successful route-specific JSON response.","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlates this response with a problem report."},"Retry-After":{"schema":{"type":"string"},"description":"Present on HTTP 429; wait this many seconds before a bounded retry."},"RateLimit-Limit":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Account request quota where applied."},"RateLimit-Remaining":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Remaining account quota where applied."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WalletPaymentAppReview"}}}},"default":{"$ref":"#/components/responses/Problem"}},"x-auth":{"scheme":"eip712-request-signature","ownerOnly":false,"requiredBotScopes":["read"],"idempotencyRequired":false},"x-principal-kind":"wallet-app"}},"/api/v1/user-operations":{"post":{"operationId":"prepareUserOperation","summary":"Prepare exact EntryPoint v0.7 bytes and the appropriate signing payload","tags":["UserOperations"],"description":"Requires configured provider/runtime policies and the source smart-account plan's creating principal. Select increasing step indices. Owner mode permits 1–16 calls on one chain and returns SafeOp typed data. Session mode requires the exact active bound bot, selects one call and returns an EIP-191 payload. Provider estimation and sponsorship are checked before signing; no execution occurs during preparation.","parameters":[{"$ref":"#/components/parameters/account"},{"$ref":"#/components/parameters/signer"},{"$ref":"#/components/parameters/issuedAt"},{"$ref":"#/components/parameters/expiresAt"},{"$ref":"#/components/parameters/nonce"},{"$ref":"#/components/parameters/signature"},{"$ref":"#/components/parameters/grant"},{"$ref":"#/components/parameters/idempotencyRequired"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrepareUserOperation"}}}},"responses":{"201":{"description":"Resource or preparation created, or the original idempotent result returned.","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlates this response with a problem report."},"Retry-After":{"schema":{"type":"string"},"description":"Present on HTTP 429; wait this many seconds before a bounded retry."},"RateLimit-Limit":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Account request quota where applied."},"RateLimit-Remaining":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Remaining account quota where applied."}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/UserOperation"},{"$ref":"#/components/schemas/SponsoredPaymentPreparation"}]}}}},"default":{"$ref":"#/components/responses/Problem"}},"x-auth":{"scheme":"eip712-request-signature","ownerOnly":false,"requiredBotScopes":["plan"],"idempotencyRequired":true},"x-runtime-capability":"userOperations.preparation"}},"/api/v1/user-operations/{id}/submissions":{"post":{"operationId":"submitUserOperation","summary":"Verify and publish one externally signed UserOperation","tags":["UserOperations"],"description":"Submit only the complete account signature envelope for the returned operation; all other fields remain immutable. Outside a session, current Safe-owner threshold signatures bind a fresh finite validity window. Inside a session, the installed bot key signs the exact operation and admission rechecks grant, generation and canonical counters. The API request signature is separate in both modes. Nonce and plan transport are reserved before publication. A timeout becomes submission_unknown and never permits an automatic second provider POST.","parameters":[{"$ref":"#/components/parameters/account"},{"$ref":"#/components/parameters/signer"},{"$ref":"#/components/parameters/issuedAt"},{"$ref":"#/components/parameters/expiresAt"},{"$ref":"#/components/parameters/nonce"},{"$ref":"#/components/parameters/signature"},{"$ref":"#/components/parameters/grant"},{"$ref":"#/components/parameters/idempotencyRequired"},{"name":"id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubmitUserOperation"}}}},"responses":{"202":{"description":"Submission processed. Admission, broadcast, confirmation and bridge settlement remain separate.","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlates this response with a problem report."},"Retry-After":{"schema":{"type":"string"},"description":"Present on HTTP 429; wait this many seconds before a bounded retry."},"RateLimit-Limit":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Account request quota where applied."},"RateLimit-Remaining":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Remaining account quota where applied."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserOperation"}}}},"default":{"$ref":"#/components/responses/Problem"}},"x-auth":{"scheme":"eip712-request-signature","ownerOnly":false,"requiredBotScopes":["relay"],"idempotencyRequired":true},"x-runtime-capability":"userOperations.relay","x-signature-schemas":[{"$ref":"#/components/schemas/SafeOwnerUserOperationSigning"},{"$ref":"#/components/schemas/SessionUserOperationSigning"}]}},"/api/v1/user-operations/{id}/retirement":{"post":{"operationId":"retireUserOperation","summary":"Retire an approved operation that was refused before any send","tags":["UserOperations"],"description":"Only an owner operation approved in a payment review can be retired. Under the same lock as the nonce claim, an operation nothing has claimed becomes retired: it is never claimed, sent or approved again, and until the chain settles it, Signa prepares or admits another operation from the same Safe (under any account or nonce key) only at its exact nonce, so at most one of them executes. It settles when its nonce is unchanged on a canonical head two minutes past its signed validity, or when Signa's own operation holding that nonce executed in a successful bundle; a nonce consumed any other way blocks further operations from that Safe, since the retired approval may have run. One a submission already claimed comes back unchanged with that submission; follow it instead.","parameters":[{"$ref":"#/components/parameters/account"},{"$ref":"#/components/parameters/signer"},{"$ref":"#/components/parameters/issuedAt"},{"$ref":"#/components/parameters/expiresAt"},{"$ref":"#/components/parameters/nonce"},{"$ref":"#/components/parameters/signature"},{"$ref":"#/components/parameters/grant"},{"$ref":"#/components/parameters/idempotencyRequired"},{"name":"id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":false}}}},"responses":{"200":{"description":"Successful route-specific JSON response.","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlates this response with a problem report."},"Retry-After":{"schema":{"type":"string"},"description":"Present on HTTP 429; wait this many seconds before a bounded retry."},"RateLimit-Limit":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Account request quota where applied."},"RateLimit-Remaining":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Remaining account quota where applied."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserOperation"}}}},"default":{"$ref":"#/components/responses/Problem"}},"x-auth":{"scheme":"eip712-request-signature","ownerOnly":false,"requiredBotScopes":["relay"],"idempotencyRequired":true}}},"/api/v1/user-operations/{id}":{"get":{"operationId":"getUserOperation","summary":"Reconcile a stored UserOperation using canonical execution evidence","tags":["UserOperations"],"description":"Refreshes submitted operations. A provider receipt is a location hint; confirmed requires the exact EntryPoint operation and its scoped account-call evidence. Submitted signature bytes remain omitted. Reconcile the source plan for dependency status and distinguish bridge settlement from execution. A whole-bundle revert frees its nonce for a fresh operation at once.","parameters":[{"$ref":"#/components/parameters/account"},{"$ref":"#/components/parameters/signer"},{"$ref":"#/components/parameters/issuedAt"},{"$ref":"#/components/parameters/expiresAt"},{"$ref":"#/components/parameters/nonce"},{"$ref":"#/components/parameters/signature"},{"$ref":"#/components/parameters/grant"},{"$ref":"#/components/parameters/idempotencyKey"},{"name":"id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/ResourceId"}}],"responses":{"200":{"description":"Successful route-specific JSON response.","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlates this response with a problem report."},"Retry-After":{"schema":{"type":"string"},"description":"Present on HTTP 429; wait this many seconds before a bounded retry."},"RateLimit-Limit":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Account request quota where applied."},"RateLimit-Remaining":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Remaining account quota where applied."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserOperation"}}}},"default":{"$ref":"#/components/responses/Problem"}},"x-auth":{"scheme":"eip712-request-signature","ownerOnly":false,"requiredBotScopes":["read"],"idempotencyRequired":false}}}},"components":{"schemas":{"JsonValue":{"description":"Bounded JSON. Large integers and amounts use exact decimal strings. Returned metadata and descriptions are untrusted content."},"Address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"HexBytes":{"type":"string","pattern":"^0x(?:[0-9a-fA-F]{2})*$"},"Hash":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"Sha256":{"type":"string","pattern":"^[0-9a-f]{64}$"},"Uint256":{"type":"string","pattern":"^(?:0|(?:115792089237316195423570985008687907853269984665640564039457584007913129639935|[1-9][0-9]{0,76}|10[0-9]{76}|11[0-4][0-9]{75}|115[0-6][0-9]{74}|1157[0-8][0-9]{73}|11579[0-1][0-9]{72}|1157920[0-7][0-9]{70}|11579208[0-8][0-9]{69}|115792089[0-1][0-9]{68}|1157920892[0-2][0-9]{67}|11579208923[0-6][0-9]{66}|115792089237[0-2][0-9]{65}|11579208923730[0-9]{64}|11579208923731[0-5][0-9]{63}|1157920892373160[0-9]{62}|1157920892373161[0-8][0-9]{61}|11579208923731619[0-4][0-9]{60}|115792089237316195[0-3][0-9]{59}|1157920892373161954[0-1][0-9]{58}|11579208923731619542[0-2][0-9]{57}|115792089237316195423[0-4][0-9]{56}|1157920892373161954235[0-6][0-9]{55}|115792089237316195423570[0-8][0-9]{53}|1157920892373161954235709[0-7][0-9]{52}|11579208923731619542357098[0-4][0-9]{51}|11579208923731619542357098500[0-7][0-9]{48}|115792089237316195423570985008[0-5][0-9]{47}|1157920892373161954235709850086[0-7][0-9]{46}|11579208923731619542357098500868[0-6][0-9]{45}|115792089237316195423570985008687[0-8][0-9]{44}|11579208923731619542357098500868790[0-6][0-9]{42}|115792089237316195423570985008687907[0-7][0-9]{41}|1157920892373161954235709850086879078[0-4][0-9]{40}|11579208923731619542357098500868790785[0-2][0-9]{39}|115792089237316195423570985008687907853[0-1][0-9]{38}|1157920892373161954235709850086879078532[0-5][0-9]{37}|11579208923731619542357098500868790785326[0-8][0-9]{36}|115792089237316195423570985008687907853269[0-8][0-9]{35}|1157920892373161954235709850086879078532699[0-7][0-9]{34}|11579208923731619542357098500868790785326998[0-3][0-9]{33}|115792089237316195423570985008687907853269984[0-5][0-9]{32}|1157920892373161954235709850086879078532699846[0-5][0-9]{31}|11579208923731619542357098500868790785326998466[0-4][0-9]{30}|115792089237316195423570985008687907853269984665[0-5][0-9]{29}|1157920892373161954235709850086879078532699846656[0-3][0-9]{28}|115792089237316195423570985008687907853269984665640[0-4][0-9]{26}|1157920892373161954235709850086879078532699846656405[0-5][0-9]{25}|11579208923731619542357098500868790785326998466564056[0-3][0-9]{24}|1157920892373161954235709850086879078532699846656405640[0-2][0-9]{22}|11579208923731619542357098500868790785326998466564056403[0-8][0-9]{21}|115792089237316195423570985008687907853269984665640564039[0-3][0-9]{20}|1157920892373161954235709850086879078532699846656405640394[0-4][0-9]{19}|11579208923731619542357098500868790785326998466564056403945[0-6][0-9]{18}|115792089237316195423570985008687907853269984665640564039457[0-4][0-9]{17}|1157920892373161954235709850086879078532699846656405640394575[0-7][0-9]{16}|11579208923731619542357098500868790785326998466564056403945758[0-3][0-9]{15}|11579208923731619542357098500868790785326998466564056403945758400[0-6][0-9]{12}|115792089237316195423570985008687907853269984665640564039457584007[0-8][0-9]{11}|11579208923731619542357098500868790785326998466564056403945758400790[0-9]{10}|11579208923731619542357098500868790785326998466564056403945758400791[0-2][0-9]{9}|1157920892373161954235709850086879078532699846656405640394575840079130[0-9]{8}|1157920892373161954235709850086879078532699846656405640394575840079131[0-1][0-9]{7}|11579208923731619542357098500868790785326998466564056403945758400791312[0-8][0-9]{6}|115792089237316195423570985008687907853269984665640564039457584007913129[0-5][0-9]{5}|1157920892373161954235709850086879078532699846656405640394575840079131296[0-2][0-9]{4}|11579208923731619542357098500868790785326998466564056403945758400791312963[0-8][0-9]{3}|115792089237316195423570985008687907853269984665640564039457584007913129639[0-8][0-9]{2}|1157920892373161954235709850086879078532699846656405640394575840079131296399[0-2][0-9]{1}|11579208923731619542357098500868790785326998466564056403945758400791312963993[0-4]))$","description":"uint256 as a lossless decimal string","examples":["0","1000000000000000000"]},"PositiveUint256":{"allOf":[{"$ref":"#/components/schemas/Uint256"},{"not":{"const":"0"}}],"description":"Positive uint256 as an exact decimal string."},"ChainId":{"type":"integer","enum":[1,10,8453,42161,84532,421614,11155111,11155420]},"ProtocolVersion":{"type":"integer","const":6},"UnixSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Unix timestamp in seconds."},"UnixMilliseconds":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Unix timestamp in milliseconds."},"AccountId":{"type":"string","pattern":"^eip155:[1-9][0-9]{0,15}:0x[0-9a-f]{40}$","description":"Authority chain and lowercase owner address; the authority chain is independent of a transaction's destination chain."},"GrantId":{"type":"string","format":"uuid"},"ResourceId":{"type":"string","format":"uuid","pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"},"PrincipalId":{"type":"string","pattern":"^(?:owner:eip155:[1-9][0-9]{0,15}:0x[0-9a-f]{40}|bot:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})$","description":"Exact plan-creating principal. Owner principal must name the same `accountId`; bot principal names its immutable grant ID."},"ApprovalNonce":{"type":"string","pattern":"^0x[0-9a-f]{64}$"},"OwnerSignature":{"type":"string","pattern":"^0x(?:[0-9a-fA-F]{2}){1,8192}$"},"ApprovalTime":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Positive Unix seconds. `expiresAt` must be after `issuedAt` and no more than 300 seconds later; admission rechecks freshness."},"TransactionApproval":{"type":"object","properties":{"accountId":{"$ref":"#/components/schemas/AccountId"},"principalId":{"$ref":"#/components/schemas/PrincipalId"},"planId":{"$ref":"#/components/schemas/ResourceId"},"commitment":{"$ref":"#/components/schemas/Hash"},"stepIndex":{"type":"integer","minimum":0,"maximum":31},"transactionHash":{"$ref":"#/components/schemas/Hash"},"issuedAt":{"$ref":"#/components/schemas/ApprovalTime"},"expiresAt":{"$ref":"#/components/schemas/ApprovalTime"},"nonce":{"$ref":"#/components/schemas/ApprovalNonce"},"signature":{"$ref":"#/components/schemas/OwnerSignature"}},"required":["accountId","principalId","planId","commitment","stepIndex","transactionHash","issuedAt","expiresAt","nonce","signature"],"additionalProperties":false,"description":"Fresh owner CenterTransactionApproval EIP-712 consent for this exact account, originating principal, plan commitment, step and serialized transaction hash. Required for a bot's new dispatch. Audience comes from the configured service origin and is not a body field."},"Problem":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer","minimum":400,"maximum":599},"detail":{"type":"string"},"code":{"type":"string"},"requestId":{"type":"string"},"retryable":{"type":"boolean"},"payFailure":{"$ref":"#/components/schemas/PayFailure"}},"required":["type","title","status","detail","code","requestId","retryable"],"additionalProperties":false},"PayFailure":{"type":"object","properties":{"reason":{"type":"string"},"received":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"minimum":{"type":"string","pattern":"^(0|[1-9][0-9]*)$"},"message":{"type":"string"}},"required":["reason","message"],"additionalProperties":false,"description":"Why one payment attempt reverts or reverted, decoded from its revert data only; advisory, never authority. It describes only the enclosing refused request or the reverted operation that carries it: never carry it to another payment or a later attempt, and its absence means the reason is unknown. `reason` is a stable SDK code and `message` its fixed sentence. `received` and `minimum` (uint256 integer strings, in the failing check's own units: project tokens for a terminal or buyback minimum, the converted token for a router conversion) are set only for a shortfall. Only a terminal or buyback minimum the payer set can be relaxed; a derived price floor or a conversion is not. Any changed minimum needs a fresh preparation, simulation and owner review. Its presence neither cancels an approval nor proves the operation was never sent. Present on a refused preparation or submission, and on a reverted operation's `observation`."},"SafeError":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"],"additionalProperties":false},"Profile":{"type":"object","properties":{"displayName":{"type":"string","x-maxUtf8Bytes":120},"bio":{"type":"string","x-maxUtf8Bytes":2000},"avatarUri":{"anyOf":[{"type":"string","pattern":"^(?:https|ipfs)://","x-maxUtf8Bytes":2048,"description":"Absolute HTTPS or IPFS URI without credentials. The account UI does not fetch it."},{"type":"null"}]}},"required":["displayName","bio","avatarUri"],"additionalProperties":false},"ProfileReplacement":{"type":"object","properties":{"displayName":{"type":"string","default":"","x-maxUtf8Bytes":120},"bio":{"type":"string","default":"","x-maxUtf8Bytes":2000},"avatarUri":{"anyOf":[{"type":"string","pattern":"^(?:https|ipfs)://","x-maxUtf8Bytes":2048},{"type":"null"}],"default":null}},"additionalProperties":false,"description":"Replaces the profile. Omitted `displayName`/`bio` reset to empty strings; omitted `avatarUri` resets to null."},"Account":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/AccountId"},"ownerAddress":{"$ref":"#/components/schemas/Address"},"authorityChainId":{"type":"integer","minimum":1,"maximum":9007199254740991},"profile":{"$ref":"#/components/schemas/Profile"},"createdAt":{"$ref":"#/components/schemas/UnixSeconds"},"updatedAt":{"$ref":"#/components/schemas/UnixSeconds"}},"required":["id","ownerAddress","authorityChainId","profile","createdAt","updatedAt"],"additionalProperties":false},"AccountResponse":{"type":"object","properties":{"account":{"$ref":"#/components/schemas/Account"}},"required":["account"],"additionalProperties":false},"BotScopes":{"type":"array","oneOf":[{"const":["read"]},{"const":["read","plan"]},{"const":["read","plan","relay"]}],"description":"Cumulative profiles in canonical order: read; read + plan; read + plan + relay. Validation never expands or reorders the signed list."},"BotRegistration":{"type":"object","properties":{"botAddress":{"$ref":"#/components/schemas/Address"},"scopes":{"$ref":"#/components/schemas/BotScopes","default":["read"]},"expiresAt":{"$ref":"#/components/schemas/UnixSeconds","description":"Future Unix seconds, no more than 365 days from server time."},"label":{"type":"string","default":"","x-maxUtf8Bytes":120},"proofSignature":{"type":"string","pattern":"^0x[0-9a-fA-F]{130}$","description":"Bot EOA's 65-byte CenterBotProof EIP-712 signature, bound to the owner request nonce and exact grant fields. The bot address must differ from the owner."}},"required":["botAddress","expiresAt","proofSignature"],"additionalProperties":false},"BotGrant":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/GrantId"},"accountId":{"$ref":"#/components/schemas/AccountId"},"botAddress":{"$ref":"#/components/schemas/Address"},"scopes":{"$ref":"#/components/schemas/BotScopes"},"label":{"type":"string"},"createdAt":{"$ref":"#/components/schemas/UnixSeconds"},"expiresAt":{"$ref":"#/components/schemas/UnixSeconds"},"revokedAt":{"anyOf":[{"$ref":"#/components/schemas/UnixSeconds"},{"type":"null"}]}},"required":["id","accountId","botAddress","scopes","label","createdAt","expiresAt","revokedAt"],"additionalProperties":false},"BotResponse":{"type":"object","properties":{"bot":{"$ref":"#/components/schemas/BotGrant"}},"required":["bot"],"additionalProperties":false},"BotsResponse":{"type":"object","properties":{"bots":{"type":"array","items":{"$ref":"#/components/schemas/BotGrant"}}},"required":["bots"],"additionalProperties":false},"BlockEvidence":{"type":"object","properties":{"chainId":{"$ref":"#/components/schemas/ChainId"},"blockNumber":{"$ref":"#/components/schemas/Uint256"},"blockHash":{"$ref":"#/components/schemas/Hash"},"timestamp":{"$ref":"#/components/schemas/Uint256"},"source":{"const":"onchain","type":"string"}},"required":["chainId","blockNumber","blockHash","timestamp","source"],"additionalProperties":false},"PrepareContractCall":{"type":"object","properties":{"chainId":{"$ref":"#/components/schemas/ChainId"},"contractId":{"type":"string","maxLength":400},"address":{"$ref":"#/components/schemas/Address"},"projectId":{"$ref":"#/components/schemas/PositiveUint256"},"function":{"type":"string","maxLength":4096,"description":"Full canonical signature from the exact deployed ABI; only payable/nonpayable methods."},"args":{"type":"array","items":{"$ref":"#/components/schemas/JsonValue"},"description":"Positional ABI arguments. Obtain the exact deployed ABI and inputJsonSchema from Juicebox Center's https://juicebox.center/api/v1/catalog/method using the resolved abiHash. Integer values are decimal strings."},"value":{"$ref":"#/components/schemas/Uint256","default":"0","description":"Native value in the chain's smallest unit; nonpayable functions require zero."},"dependsOn":{"type":"array","items":{"type":"integer","minimum":0,"maximum":31},"maxItems":31,"uniqueItems":true,"default":[],"description":"Distinct indices of earlier calls, never this call or a later one."}},"required":["chainId","contractId","function","args"],"additionalProperties":false},"PrepareContractCalls":{"type":"object","properties":{"account":{"$ref":"#/components/schemas/Address"},"calls":{"type":"array","items":{"$ref":"#/components/schemas/PrepareContractCall"},"minItems":1,"maxItems":32},"label":{"type":"string","maxLength":160}},"required":["account","calls"],"additionalProperties":false},"RestCall":{"type":"object","properties":{"chainId":{"$ref":"#/components/schemas/ChainId"},"to":{"$ref":"#/components/schemas/Address"},"data":{"$ref":"#/components/schemas/HexBytes"},"value":{"$ref":"#/components/schemas/Uint256"},"label":{"type":"string"},"dependsOn":{"type":"array","items":{"type":"integer","minimum":0,"maximum":31}},"decoded":{"$ref":"#/components/schemas/JsonValue"}},"required":["chainId","to","data","value","label","dependsOn","decoded"],"additionalProperties":false},"PlanDraft":{"type":"object","properties":{"operation":{"type":"string"},"account":{"$ref":"#/components/schemas/Address"},"project":{"type":"object","properties":{"chainId":{"$ref":"#/components/schemas/ChainId"},"projectId":{"$ref":"#/components/schemas/Uint256"},"version":{"$ref":"#/components/schemas/ProtocolVersion"}},"required":["chainId","projectId"],"additionalProperties":false},"calls":{"type":"array","items":{"$ref":"#/components/schemas/RestCall"},"minItems":1,"maxItems":32},"evidence":{"type":"array","items":{"$ref":"#/components/schemas/BlockEvidence"},"minItems":1,"maxItems":8},"summary":{"$ref":"#/components/schemas/JsonValue"},"warnings":{"type":"array","items":{"type":"string"}}},"required":["operation","account","calls","evidence","summary","warnings"],"additionalProperties":false},"SemanticResult":{"type":"object","properties":{"status":{"type":"string","enum":["verified","failed","unknown","unmodeled"]},"details":{"$ref":"#/components/schemas/JsonValue"}},"required":["status"],"additionalProperties":false},"TransactionReceipt":{"type":"object","properties":{"transactionHash":{"$ref":"#/components/schemas/Hash"},"blockHash":{"$ref":"#/components/schemas/Hash"},"blockNumber":{"$ref":"#/components/schemas/Uint256"},"status":{"type":"string","enum":["success","reverted"]},"confirmations":{"type":"integer","minimum":0,"maximum":9007199254740991},"canonical":{"type":"boolean"},"observedAt":{"$ref":"#/components/schemas/UnixMilliseconds"},"logs":{"type":"array","items":{"$ref":"#/components/schemas/JsonValue"}},"logCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"logsHash":{"$ref":"#/components/schemas/Hash"},"logsStored":{"type":"boolean"}},"required":["transactionHash","blockHash","blockNumber","status","confirmations","canonical","observedAt","logs"],"additionalProperties":false},"SubmittedTransaction":{"type":"object","properties":{"hash":{"$ref":"#/components/schemas/Hash"},"sender":{"$ref":"#/components/schemas/Address"},"chainId":{"$ref":"#/components/schemas/ChainId"},"nonce":{"$ref":"#/components/schemas/Uint256"},"type":{"type":"string","enum":["legacy","eip2930","eip1559"]},"gas":{"$ref":"#/components/schemas/Uint256"},"maximumFeePerGas":{"$ref":"#/components/schemas/Uint256"},"maximumCost":{"$ref":"#/components/schemas/Uint256"},"costScope":{"type":"string","description":"Maximum cost covers native value and gas limit times fee cap. Additional chain-specific data or operator fees are excluded."},"dispatchCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"reservedAt":{"$ref":"#/components/schemas/UnixMilliseconds"},"broadcastAt":{"$ref":"#/components/schemas/UnixMilliseconds"},"lastError":{"$ref":"#/components/schemas/SafeError"}},"required":["hash","sender","chainId","nonce","type","gas","maximumFeePerGas","maximumCost","costScope","dispatchCount","reservedAt"],"additionalProperties":false},"ForwardedExecution":{"type":"object","properties":{"transport":{"type":"string","enum":["relayr-prepaid-erc2771","eip4337-user-operation"]},"bindingId":{"type":"string"},"chainId":{"$ref":"#/components/schemas/ChainId"},"hash":{"$ref":"#/components/schemas/Hash"}},"required":["transport","bindingId","chainId"],"additionalProperties":false},"PlanStep":{"type":"object","properties":{"index":{"type":"integer","minimum":0,"maximum":31},"state":{"type":"string","enum":["waiting","reserved","submitted","unknown","confirming","confirmed","reverted","reorged"]},"transaction":{"$ref":"#/components/schemas/SubmittedTransaction"},"execution":{"$ref":"#/components/schemas/ForwardedExecution"},"receipt":{"$ref":"#/components/schemas/TransactionReceipt"},"semantic":{"$ref":"#/components/schemas/SemanticResult"},"blockedBy":{"type":"array","items":{"type":"integer","minimum":0,"maximum":31}}},"required":["index","state","blockedBy"],"additionalProperties":false},"Plan":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"account":{"$ref":"#/components/schemas/Address"},"operation":{"type":"string"},"draft":{"$ref":"#/components/schemas/PlanDraft"},"commitment":{"$ref":"#/components/schemas/Hash"},"createdAt":{"$ref":"#/components/schemas/UnixMilliseconds"},"expiresAt":{"$ref":"#/components/schemas/UnixMilliseconds"},"revision":{"type":"integer","minimum":0,"maximum":9007199254740991},"smartAccount":{"type":"object","properties":{"bindingId":{"$ref":"#/components/schemas/Hash"},"stateHash":{"$ref":"#/components/schemas/Hash"},"chainId":{"$ref":"#/components/schemas/ChainId"},"address":{"$ref":"#/components/schemas/Address"},"manifestRevision":{"$ref":"#/components/schemas/Hash"}},"required":["bindingId","stateHash","chainId","address","manifestRevision"],"additionalProperties":false},"status":{"type":"string","enum":["prepared","pending","partial","blocked","reorged","expired","transactions_confirmed"]},"steps":{"type":"array","items":{"$ref":"#/components/schemas/PlanStep"},"minItems":1,"maxItems":32},"confirmationScope":{"type":"string"}},"required":["id","account","operation","draft","commitment","createdAt","expiresAt","revision","status","steps","confirmationScope"],"additionalProperties":false},"PlanPage":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Plan"},"maxItems":100},"nextCursor":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}]}},"required":["items","nextCursor"],"additionalProperties":false},"Simulation":{"type":"object","properties":{"planId":{"type":"string","format":"uuid"},"commitment":{"$ref":"#/components/schemas/Hash"},"stepIndex":{"type":"integer","minimum":0,"maximum":31},"simulated":{"const":true,"type":"boolean"},"blockNumber":{"$ref":"#/components/schemas/Uint256"},"blockHash":{"$ref":"#/components/schemas/Hash"},"result":{"$ref":"#/components/schemas/HexBytes"},"estimatedGas":{"$ref":"#/components/schemas/Uint256"},"limitations":{"type":"array","items":{"type":"string"}}},"required":["planId","commitment","stepIndex","simulated","blockNumber","blockHash","result","estimatedGas","limitations"],"additionalProperties":false},"SignedTransactionSubmission":{"type":"object","properties":{"rawSignedTransaction":{"$ref":"#/components/schemas/HexBytes","description":"Exact serialized EIP-155 legacy, EIP-2930, or EIP-1559 transaction signed by the plan wallet. Server policy bounds size, nonce, gas, fees, and cost."},"ownerApproval":{"$ref":"#/components/schemas/TransactionApproval"}},"required":["rawSignedTransaction"],"additionalProperties":false},"BundleSubmission":{"type":"object","properties":{"submissions":{"type":"array","items":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":0,"maximum":31},"rawSignedTransaction":{"$ref":"#/components/schemas/HexBytes"},"ownerApproval":{"$ref":"#/components/schemas/TransactionApproval"}},"required":["stepIndex","rawSignedTransaction"],"additionalProperties":false},"minItems":1,"maxItems":32}},"required":["submissions"],"additionalProperties":false},"Dispatch":{"type":"object","properties":{"status":{"type":"string","enum":["already-observed","in-flight","submitted","unknown"]},"hash":{"$ref":"#/components/schemas/Hash"},"error":{"$ref":"#/components/schemas/SafeError"}},"required":["status","hash"],"additionalProperties":false},"SubmissionResult":{"type":"object","properties":{"plan":{"$ref":"#/components/schemas/Plan"},"dispatch":{"$ref":"#/components/schemas/Dispatch"}},"required":["plan","dispatch"],"additionalProperties":false},"BundleResult":{"type":"object","properties":{"atomic":{"type":"boolean","const":false},"complete":{"type":"boolean"},"results":{"type":"array","items":{"$ref":"#/components/schemas/SubmissionResult"},"maxItems":32},"plan":{"$ref":"#/components/schemas/Plan"},"stoppedAt":{"type":"integer","minimum":0,"maximum":31},"error":{"$ref":"#/components/schemas/SafeError"},"remainingStepIndices":{"type":"array","items":{"type":"integer","minimum":0,"maximum":31}},"note":{"type":"string"}},"required":["atomic","complete","results","plan"],"additionalProperties":false},"SponsorshipApproval":{"type":"object","properties":{"accountId":{"$ref":"#/components/schemas/AccountId"},"principalId":{"$ref":"#/components/schemas/PrincipalId"},"sponsorshipId":{"$ref":"#/components/schemas/ResourceId"},"commitment":{"$ref":"#/components/schemas/Hash"},"submissionHash":{"$ref":"#/components/schemas/Hash"},"issuedAt":{"$ref":"#/components/schemas/ApprovalTime"},"expiresAt":{"$ref":"#/components/schemas/ApprovalTime"},"nonce":{"$ref":"#/components/schemas/ApprovalNonce"},"signature":{"$ref":"#/components/schemas/OwnerSignature"}},"required":["accountId","principalId","sponsorshipId","commitment","submissionHash","issuedAt","expiresAt","nonce","signature"],"additionalProperties":false,"description":"Fresh owner CenterSponsorshipApproval EIP-712 consent for this exact publication. `submissionHash` commits to the preparation commitment and ordered lowercase forward signatures. Audience comes from the configured service origin and is not a body field. A long-lived ForwardRequest signature alone does not authorize a new bot publication."},"CreateSponsorship":{"type":"object","properties":{"planId":{"$ref":"#/components/schemas/ResourceId"},"stepIndexes":{"type":"array","items":{"type":"integer","minimum":0,"maximum":31},"minItems":1,"maxItems":32,"uniqueItems":true,"description":"Omit to select all source steps, subject to the same limit. Multiple calls per chain execute in plan order; prerequisites must already be confirmed. This is Center’s plan capacity, not a provider limit."}},"required":["planId"],"additionalProperties":false},"SubmitSponsorship":{"type":"object","properties":{"signatures":{"type":"array","items":{"type":"string","pattern":"^0x[0-9a-fA-F]{130}$"},"minItems":1,"maxItems":32,"description":"One owner ECDSA ForwardRequest signature per returned authorization, in the same order."},"ownerApproval":{"$ref":"#/components/schemas/SponsorshipApproval"}},"required":["signatures"],"additionalProperties":false},"CreateSponsorshipFundingPlan":{"type":"object","properties":{"chainId":{"type":"integer","enum":[1,10,8453,42161]},"payer":{"$ref":"#/components/schemas/Address","description":"Must equal the authenticated API owner's wallet. The resulting unsigned funding plan requires separate owner review and signing."}},"required":["chainId","payer"],"additionalProperties":false},"ForwardRequest":{"type":"object","properties":{"from":{"$ref":"#/components/schemas/Address"},"to":{"$ref":"#/components/schemas/Address"},"value":{"$ref":"#/components/schemas/Uint256"},"gas":{"$ref":"#/components/schemas/Uint256"},"nonce":{"$ref":"#/components/schemas/Uint256"},"deadline":{"type":"string","pattern":"^(?:0|281474976710655|[1-9][0-9]{0,13}|1[0-9]{14}|2[0-7][0-9]{13}|280[0-9]{12}|281[0-3][0-9]{11}|2814[0-6][0-9]{10}|28147[0-3][0-9]{9}|281474[0-8][0-9]{8}|2814749[0-6][0-9]{7}|28147497[0-5][0-9]{6}|281474976[0-6][0-9]{5}|28147497670[0-9]{4}|281474976710[0-5][0-9]{2}|2814749767106[0-4][0-9]{1}|28147497671065[0-4][0-9]{0})$","description":"Exact uint48 Unix seconds. This onchain authorization deadline can outlive the shorter source-plan publication cutoff."},"data":{"$ref":"#/components/schemas/HexBytes"}},"required":["from","to","value","gas","nonce","deadline","data"],"additionalProperties":false},"ForwardAuthorization":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":0,"maximum":31},"chainId":{"type":"integer","enum":[1,10,8453,42161]},"forwarder":{"$ref":"#/components/schemas/Address"},"forwarderCodeHash":{"$ref":"#/components/schemas/Hash"},"targetCodeHash":{"$ref":"#/components/schemas/Hash"},"domain":{"type":"object","properties":{"name":{"type":"string"},"version":{"type":"string"},"chainId":{"type":"integer","enum":[1,10,8453,42161]},"verifyingContract":{"$ref":"#/components/schemas/Address"}},"required":["name","version","chainId","verifyingContract"],"additionalProperties":false},"message":{"$ref":"#/components/schemas/ForwardRequest"},"evidence":{"$ref":"#/components/schemas/BlockEvidence"},"primaryType":{"type":"string","const":"ForwardRequest"},"types":{"type":"object","const":{"ForwardRequest":[{"name":"from","type":"address"},{"name":"to","type":"address"},{"name":"value","type":"uint256"},{"name":"gas","type":"uint256"},{"name":"nonce","type":"uint256"},{"name":"deadline","type":"uint48"},{"name":"data","type":"bytes"}]}}},"required":["stepIndex","chainId","forwarder","forwarderCodeHash","targetCodeHash","domain","message","evidence","primaryType","types"],"additionalProperties":false},"SponsorshipPayment":{"type":"object","properties":{"chainId":{"type":"integer","enum":[1,10,8453,42161]},"to":{"$ref":"#/components/schemas/Address"},"data":{"$ref":"#/components/schemas/HexBytes"},"value":{"$ref":"#/components/schemas/Uint256"},"deadline":{"$ref":"#/components/schemas/Uint256"}},"required":["chainId","to","data","value","deadline"],"additionalProperties":false},"SponsorshipObservation":{"type":"object","properties":{"stepIndex":{"type":"integer","minimum":0,"maximum":31},"chainId":{"type":"integer","enum":[1,10,8453,42161]},"providerState":{"type":"string"},"state":{"type":"string","enum":["pending","unknown","confirming","confirmed","reverted"]},"hash":{"$ref":"#/components/schemas/Hash"},"receipt":{"$ref":"#/components/schemas/TransactionReceipt"},"semantic":{"$ref":"#/components/schemas/SemanticResult"},"reason":{"type":"string"}},"required":["stepIndex","chainId","providerState","state"],"additionalProperties":false},"Sponsorship":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/ResourceId"},"planId":{"$ref":"#/components/schemas/ResourceId"},"planCommitment":{"$ref":"#/components/schemas/Hash"},"commitment":{"$ref":"#/components/schemas/Hash"},"state":{"type":"string","enum":["prepared","submitting","submission_unknown","quoted"]},"availability":{"type":"string","enum":["available","submission_unknown","requires_verification","funding_quote_available","execution_verified","completed"],"description":"funding_quote_available does not establish that the bundle is unpaid. execution_verified confirms exact inner execution; completed additionally requires verified modeled economic semantics."},"createdAt":{"$ref":"#/components/schemas/UnixMilliseconds"},"publicationExpiresAt":{"$ref":"#/components/schemas/UnixMilliseconds","description":"Original source-plan cutoff for new publication. It cannot revoke a ForwardRequest already published."},"revision":{"type":"integer","minimum":0,"maximum":9007199254740991},"authorizations":{"type":"array","items":{"$ref":"#/components/schemas/ForwardAuthorization"},"minItems":1,"maxItems":32},"submission":{"type":"object","properties":{"hash":{"$ref":"#/components/schemas/Hash"},"startedAt":{"$ref":"#/components/schemas/UnixMilliseconds"},"repeatPublicationAllowed":{"type":"boolean","const":false}},"required":["hash","startedAt","repeatPublicationAllowed"],"additionalProperties":false},"quote":{"type":"object","properties":{"bundleUuid":{"type":"string"},"commitment":{"$ref":"#/components/schemas/Hash"},"payments":{"type":"array","items":{"$ref":"#/components/schemas/SponsorshipPayment"},"maxItems":4},"runtimeVerified":{"type":"boolean"},"observedAt":{"$ref":"#/components/schemas/UnixMilliseconds"},"transactions":{"type":"array","items":{"type":"object","properties":{"txUuid":{"type":"string"},"chainId":{"type":"integer","enum":[1,10,8453,42161]},"outerCallHash":{"$ref":"#/components/schemas/Hash"}},"required":["txUuid","chainId","outerCallHash"],"additionalProperties":false},"maxItems":32}},"required":["bundleUuid","commitment","payments","runtimeVerified","observedAt","transactions"],"additionalProperties":false},"observations":{"type":"array","items":{"$ref":"#/components/schemas/SponsorshipObservation"},"maxItems":32},"authorizationNotice":{"type":"string"},"fundingNotice":{"type":"string"},"recovery":{"type":"string"},"economicCompletion":{"type":"boolean"}},"required":["id","planId","planCommitment","commitment","state","availability","createdAt","publicationExpiresAt","revision","authorizations","observations","authorizationNotice","fundingNotice","economicCompletion"],"additionalProperties":false},"SmartContractPin":{"type":"object","properties":{"address":{"$ref":"#/components/schemas/Address"},"runtimeCodeHash":{"$ref":"#/components/schemas/Hash"},"source":{"oneOf":[{"type":"object","properties":{"repository":{"type":"string","pattern":"^https://github\\.com/"},"commit":{"type":"string","pattern":"^[a-f0-9]{40}$"},"contentSha256":{"$ref":"#/components/schemas/Sha256"},"artifactSha256":{"$ref":"#/components/schemas/Sha256"}},"required":["repository","commit","artifactSha256"],"additionalProperties":false},{"type":"object","properties":{"repository":{"type":"string","const":"juicebox-center"},"contentSha256":{"$ref":"#/components/schemas/Sha256"},"artifactSha256":{"$ref":"#/components/schemas/Sha256"}},"required":["repository","contentSha256","artifactSha256"],"additionalProperties":false}]}},"required":["address","runtimeCodeHash","source"],"additionalProperties":false},"SmartPasskeyOwnerProfile":{"type":"object","properties":{"version":{"type":"string","const":"center-passkey-v1"},"signerFactory":{"$ref":"#/components/schemas/SmartContractPin"},"signerSingleton":{"$ref":"#/components/schemas/SmartContractPin"},"p256Verifier":{"$ref":"#/components/schemas/SmartContractPin"}},"required":["version","signerFactory","signerSingleton","p256Verifier"],"additionalProperties":false},"SmartPasskeyCreationProfile":{"type":"object","properties":{"version":{"type":"string","const":"center-passkey-bootstrap-v1"},"multiSend":{"$ref":"#/components/schemas/SmartContractPin"}},"required":["version","multiSend"],"additionalProperties":false},"SmartPasskeyOwnerState":{"type":"object","properties":{"version":{"type":"string","const":"center-passkey-v1"},"signer":{"type":"object","properties":{"address":{"$ref":"#/components/schemas/Address"},"kind":{"type":"string","const":"contract"},"x":{"$ref":"#/components/schemas/Hash"},"y":{"$ref":"#/components/schemas/Hash"},"verifiers":{"type":"string","pattern":"^0x[0-9a-fA-F]{44}$"},"runtimeCodeHash":{"$ref":"#/components/schemas/Hash"}},"required":["address","kind","x","y","verifiers","runtimeCodeHash"],"additionalProperties":false},"devices":{"type":"array","items":{"type":"object","properties":{"address":{"$ref":"#/components/schemas/Address"},"kind":{"type":"string","const":"contract"},"x":{"$ref":"#/components/schemas/Hash"},"y":{"$ref":"#/components/schemas/Hash"},"verifiers":{"type":"string","pattern":"^0x[0-9a-fA-F]{44}$"},"runtimeCodeHash":{"$ref":"#/components/schemas/Hash"}},"required":["address","kind","x","y","verifiers","runtimeCodeHash"],"additionalProperties":false}},"recoveryOwner":{"type":"object","properties":{"address":{"$ref":"#/components/schemas/Address"},"kind":{"type":"string","const":"ecdsa"}},"required":["address","kind"],"additionalProperties":false}},"required":["version","signer","recoveryOwner"],"additionalProperties":false},"SmartAccountManifest":{"type":"object","properties":{"id":{"type":"string"},"mode":{"type":"string","enum":["ownership-only","execution-candidate"]},"chainId":{"type":"integer","minimum":1,"maximum":9007199254740991},"revision":{"$ref":"#/components/schemas/Hash"},"safeVersion":{"type":"string","const":"1.4.1"},"proxyRuntimeCodeHash":{"$ref":"#/components/schemas/Hash"},"singleton":{"$ref":"#/components/schemas/SmartContractPin"},"factory":{"$ref":"#/components/schemas/SmartContractPin"},"safe7579":{"$ref":"#/components/schemas/SmartContractPin"},"launchpad":{"$ref":"#/components/schemas/SmartContractPin"},"entryPoint":{"type":"object","properties":{"address":{"$ref":"#/components/schemas/Address"},"runtimeCodeHash":{"$ref":"#/components/schemas/Hash"},"source":{"oneOf":[{"type":"object","properties":{"repository":{"type":"string","pattern":"^https://github\\.com/"},"commit":{"type":"string","pattern":"^[a-f0-9]{40}$"},"contentSha256":{"$ref":"#/components/schemas/Sha256"},"artifactSha256":{"$ref":"#/components/schemas/Sha256"}},"required":["repository","commit","artifactSha256"],"additionalProperties":false},{"type":"object","properties":{"repository":{"type":"string","const":"juicebox-center"},"contentSha256":{"$ref":"#/components/schemas/Sha256"},"artifactSha256":{"$ref":"#/components/schemas/Sha256"}},"required":["repository","contentSha256","artifactSha256"],"additionalProperties":false}]},"version":{"type":"string","const":"0.7"}},"required":["address","runtimeCodeHash","source","version"],"additionalProperties":false},"smartSessions":{"type":"object","properties":{"address":{"$ref":"#/components/schemas/Address"},"runtimeCodeHash":{"$ref":"#/components/schemas/Hash"},"source":{"oneOf":[{"type":"object","properties":{"repository":{"type":"string","pattern":"^https://github\\.com/"},"commit":{"type":"string","pattern":"^[a-f0-9]{40}$"},"contentSha256":{"$ref":"#/components/schemas/Sha256"},"artifactSha256":{"$ref":"#/components/schemas/Sha256"}},"required":["repository","commit","artifactSha256"],"additionalProperties":false},{"type":"object","properties":{"repository":{"type":"string","const":"juicebox-center"},"contentSha256":{"$ref":"#/components/schemas/Sha256"},"artifactSha256":{"$ref":"#/components/schemas/Sha256"}},"required":["repository","contentSha256","artifactSha256"],"additionalProperties":false}]},"generation":{"type":"string","enum":["legacy-validator","emissary"]}},"required":["address","runtimeCodeHash","source","generation"],"additionalProperties":false},"policies":{"type":"array","items":{"$ref":"#/components/schemas/SmartContractPin"}},"moduleInspectorId":{"type":"string"},"ownerProfile":{"$ref":"#/components/schemas/SmartPasskeyOwnerProfile"},"creationProfile":{"$ref":"#/components/schemas/SmartPasskeyCreationProfile"}},"required":["id","mode","chainId","revision","safeVersion","proxyRuntimeCodeHash","singleton","factory","safe7579","launchpad","smartSessions","policies","moduleInspectorId"],"additionalProperties":false},"SmartDeploymentResearch":{"type":"object","properties":{"schemaVersion":{"type":"integer","const":1},"readOnly":{"type":"boolean","const":true},"observedAt":{"type":"string","format":"date-time"},"limitations":{"type":"array","items":{"type":"string"}},"contracts":{"type":"object","additionalProperties":{"type":"object","additionalProperties":true}},"chains":{"type":"array","items":{"type":"object","additionalProperties":true}},"compiledPolicySources":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"path":{"type":"string"},"sha256":{"$ref":"#/components/schemas/Sha256"},"keccak256":{"$ref":"#/components/schemas/Hash"},"verificationInputSha256":{"$ref":"#/components/schemas/Sha256"},"verificationInputUrl":{"type":"string","format":"uri"},"compiler":{"type":"string"},"artifactMetadataSourceKeccakMatches":{"type":"boolean"}},"required":["name","path","sha256","keccak256","verificationInputSha256","verificationInputUrl","compiler","artifactMetadataSourceKeccakMatches"],"additionalProperties":false}}},"required":["schemaVersion","readOnly","observedAt","limitations","contracts","chains"],"additionalProperties":true,"description":"Historical public source/code observations. Additional research fields are additive reference data. These are not active deployment manifests, account-configuration proof, session activation or execution support."},"SmartAccountCapabilities":{"type":"object","properties":{"deploymentResearch":{"$ref":"#/components/schemas/SmartDeploymentResearch"},"accountOwnershipVerification":{"type":"string","const":"safe-current-eoa-owner-threshold"},"sessionDurationsDays":{"type":"array","const":[7,30]},"walletCreation":{"type":"boolean"},"userOperations":{"type":"string","const":"/api/v1/capabilities"},"deployments":{"type":"array","items":{"type":"object","properties":{"manifestId":{"type":"string"},"mode":{"type":"string","enum":["ownership-only","execution-candidate"],"description":"Ownership-only manifests support association. Execution candidates still require current provider, deployed guard, account-history and policy verification."},"chainId":{"type":"integer","minimum":1,"maximum":9007199254740991},"revision":{"$ref":"#/components/schemas/Hash"},"manifest":{"$ref":"#/components/schemas/SmartAccountManifest"},"moduleGeneration":{"type":"string","enum":["legacy-validator","emissary"]},"entryPointSourceVerified":{"type":"boolean"},"moduleInspectionConfigured":{"type":"boolean"}},"required":["manifestId","mode","chainId","revision","manifest","moduleGeneration","entryPointSourceVerified","moduleInspectionConfigured"],"additionalProperties":false}},"requirements":{"type":"array","items":{"type":"string"}},"exclusions":{"type":"array","items":{"type":"string"}}},"required":["deploymentResearch","accountOwnershipVerification","sessionDurationsDays","walletCreation","userOperations","deployments","requirements","exclusions"],"additionalProperties":true},"SmartModuleEvidence":{"type":"object","properties":{"stateHash":{"$ref":"#/components/schemas/Hash"},"complete":{"type":"boolean","const":true},"arbitrarySigningDisabled":{"type":"boolean","const":true},"wildcardExecutionDisabled":{"type":"boolean","const":true},"details":{"$ref":"#/components/schemas/JsonValue"}},"required":["stateHash","complete","arbitrarySigningDisabled","wildcardExecutionDisabled","details"],"additionalProperties":false},"SmartAccountState":{"type":"object","properties":{"chainId":{"type":"integer","minimum":1,"maximum":9007199254740991},"address":{"$ref":"#/components/schemas/Address"},"manifestId":{"type":"string"},"manifestRevision":{"$ref":"#/components/schemas/Hash"},"owners":{"type":"array","items":{"$ref":"#/components/schemas/Address"},"minItems":1,"maxItems":16,"uniqueItems":true},"threshold":{"type":"integer","minimum":1,"maximum":16},"safeNonce":{"$ref":"#/components/schemas/Uint256"},"stateHash":{"$ref":"#/components/schemas/Hash"},"evidence":{"$ref":"#/components/schemas/BlockEvidence"},"codeHashes":{"type":"array","items":{"type":"object","properties":{"address":{"$ref":"#/components/schemas/Address"},"runtimeCodeHash":{"$ref":"#/components/schemas/Hash"}},"required":["address","runtimeCodeHash"],"additionalProperties":false}},"modules":{"anyOf":[{"$ref":"#/components/schemas/SmartModuleEvidence"},{"type":"null"}]},"moduleConfigurationVerified":{"type":"boolean"},"executionVerified":{"type":"boolean","const":false},"ownerProfile":{"$ref":"#/components/schemas/SmartPasskeyOwnerState"}},"required":["chainId","address","manifestId","manifestRevision","owners","threshold","safeNonce","stateHash","evidence","codeHashes","modules","moduleConfigurationVerified","executionVerified"],"additionalProperties":false},"SmartBindingChallengeInput":{"type":"object","properties":{"manifestId":{"type":"string"},"address":{"$ref":"#/components/schemas/Address"},"nonce":{"allOf":[{"$ref":"#/components/schemas/Hash"},{"not":{"const":"0x0000000000000000000000000000000000000000000000000000000000000000"}}]},"expiresAt":{"$ref":"#/components/schemas/UnixSeconds","description":"Future Unix seconds no more than 900 seconds after server time."}},"required":["manifestId","address","nonce","expiresAt"],"additionalProperties":false,"description":"Select a server-published reviewed manifest and an existing Safe distinct from the API owner EOA. The API owner must be a current Safe owner. Nonce must be nonzero."},"SmartBindingInput":{"type":"object","properties":{"manifestId":{"type":"string"},"address":{"$ref":"#/components/schemas/Address"},"nonce":{"allOf":[{"$ref":"#/components/schemas/Hash"},{"not":{"const":"0x0000000000000000000000000000000000000000000000000000000000000000"}}]},"expiresAt":{"$ref":"#/components/schemas/UnixSeconds","description":"Future Unix seconds no more than 900 seconds after server time."},"stateHash":{"$ref":"#/components/schemas/Hash"},"signature":{"type":"string","pattern":"^0x(?:[0-9a-fA-F]{130}){1,16}$","description":"Exactly the current threshold of concatenated 65-byte EOA owner signatures, sorted by ascending owner address. Only direct EIP-712 signatures with v=27 or v=28 are accepted."}},"required":["manifestId","address","nonce","expiresAt","stateHash","signature"],"additionalProperties":false},"SmartBindingChallenge":{"type":"object","properties":{"state":{"$ref":"#/components/schemas/SmartAccountState"},"digest":{"$ref":"#/components/schemas/Hash"},"typedData":{"type":"object","properties":{"domain":{"type":"object","properties":{"name":{"type":"string","const":"Juicebox Center Smart Account"},"version":{"type":"string","const":"1"},"chainId":{"type":"integer","minimum":1,"maximum":9007199254740991},"verifyingContract":{"$ref":"#/components/schemas/Address"},"salt":{"$ref":"#/components/schemas/Hash"}},"required":["name","version","chainId","verifyingContract","salt"],"additionalProperties":false},"primaryType":{"type":"string","const":"BindSmartAccount"},"types":{"type":"object","const":{"BindSmartAccount":[{"name":"accountId","type":"string"},{"name":"owner","type":"address"},{"name":"stateHash","type":"bytes32"},{"name":"nonce","type":"bytes32"},{"name":"expiresAt","type":"uint64"}]}},"message":{"type":"object","properties":{"accountId":{"$ref":"#/components/schemas/AccountId"},"owner":{"$ref":"#/components/schemas/Address"},"stateHash":{"$ref":"#/components/schemas/Hash"},"nonce":{"allOf":[{"$ref":"#/components/schemas/Hash"},{"not":{"const":"0x0000000000000000000000000000000000000000000000000000000000000000"}}]},"expiresAt":{"type":"string","pattern":"^(?:0|9007199254740991|[1-9][0-9]{0,14}|[1-8][0-9]{15}|900[0-6][0-9]{12}|90070[0-9]{11}|90071[0-8][0-9]{10}|900719[0-8][0-9]{9}|9007199[0-1][0-9]{8}|90071992[0-4][0-9]{7}|900719925[0-3][0-9]{6}|9007199254[0-6][0-9]{5}|90071992547[0-3][0-9]{4}|9007199254740[0-8][0-9]{2}|90071992547409[0-8][0-9]{1}|9007199254740990[0-9]{0})$","description":"Uint64 typed-data value serialized as a decimal string. Challenge request `expiresAt` uses a JSON integer in Unix seconds."}},"required":["accountId","owner","stateHash","nonce","expiresAt"],"additionalProperties":false}},"required":["domain","primaryType","types","message"],"additionalProperties":false}},"required":["state","digest","typedData"],"additionalProperties":false},"SmartOnboardingGrant":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"},"botAddress":{"allOf":[{"$ref":"#/components/schemas/Address"},{"not":{"enum":["0x0000000000000000000000000000000000000000","0x0000000000000000000000000000000000000001"]}}]},"scopes":{"type":"array","const":["read","plan","relay"]},"expiresAt":{"$ref":"#/components/schemas/UnixSeconds","description":"After the setup authorization expires and no more than 3600 seconds after its issuedAt."},"label":{"type":"string","pattern":"^[^\\u0000-\\u001f\\u007f]*$","x-maxUtf8Bytes":120}},"required":["id","botAddress","scopes","expiresAt","label"],"additionalProperties":false,"description":"Browser-selected lowercase UUID v4 and distinct browser API key. Scopes must be exactly read, plan, relay in that order; no onchain signing or spending authority."},"SmartOnboardingChallengeInput":{"type":"object","properties":{"owner":{"allOf":[{"$ref":"#/components/schemas/Address"},{"not":{"enum":["0x0000000000000000000000000000000000000000","0x0000000000000000000000000000000000000001"]}}]},"address":{"allOf":[{"$ref":"#/components/schemas/Address"},{"not":{"enum":["0x0000000000000000000000000000000000000000","0x0000000000000000000000000000000000000001"]}}]},"manifestId":{"type":"string","pattern":"^[a-zA-Z0-9:_-]{1,192}$"},"nonce":{"allOf":[{"$ref":"#/components/schemas/Hash"},{"not":{"const":"0x0000000000000000000000000000000000000000000000000000000000000000"}}]},"issuedAt":{"$ref":"#/components/schemas/UnixSeconds","description":"No more than 30 seconds ahead of server time."},"expiresAt":{"$ref":"#/components/schemas/UnixSeconds","description":"Future Unix seconds, after issuedAt and no more than 300 seconds later."},"grant":{"$ref":"#/components/schemas/SmartOnboardingGrant"}},"required":["owner","address","manifestId","nonce","issuedAt","expiresAt","grant"],"additionalProperties":false,"description":"Public read for one canonically deployed sole-owner Base Safe without spending sessions. Owner, wallet and browser key must be distinct. All fields are required; unknown fields are rejected. This read neither enrolls an account nor consumes the nonce."},"SmartOnboardingInput":{"type":"object","properties":{"owner":{"allOf":[{"$ref":"#/components/schemas/Address"},{"not":{"enum":["0x0000000000000000000000000000000000000000","0x0000000000000000000000000000000000000001"]}}]},"address":{"allOf":[{"$ref":"#/components/schemas/Address"},{"not":{"enum":["0x0000000000000000000000000000000000000000","0x0000000000000000000000000000000000000001"]}}]},"manifestId":{"type":"string","pattern":"^[a-zA-Z0-9:_-]{1,192}$"},"nonce":{"allOf":[{"$ref":"#/components/schemas/Hash"},{"not":{"const":"0x0000000000000000000000000000000000000000000000000000000000000000"}}]},"issuedAt":{"$ref":"#/components/schemas/UnixSeconds","description":"No more than 30 seconds ahead of server time."},"expiresAt":{"$ref":"#/components/schemas/UnixSeconds","description":"Future Unix seconds, after issuedAt and no more than 300 seconds later."},"grant":{"$ref":"#/components/schemas/SmartOnboardingGrant"},"manifestRevision":{"$ref":"#/components/schemas/Hash"},"initializerHash":{"$ref":"#/components/schemas/Hash"},"stateHash":{"$ref":"#/components/schemas/Hash"},"signature":{"type":"string","pattern":"^0x[0-9a-fA-F]{128}(?:1[bBcC])$","description":"Current sole owner's signature over the exact returned SetupAccount document."},"proofSignature":{"type":"string","pattern":"^0x[0-9a-fA-F]{128}(?:1[bBcC])$","description":"Browser key's CenterSetupProof signature over {setupDigest: challenge.digest}, using the SetupAccount domain. This is not a CenterBotProof signature."}},"required":["owner","address","manifestId","nonce","issuedAt","expiresAt","grant","manifestRevision","initializerHash","stateHash","signature","proofSignature"],"additionalProperties":false,"description":"Purpose-signed body; no generic CenterRequest signature is needed. Rechecks canonical state and atomically enrolls the API identity if absent, binds the wallet and creates the exact signed grant. Authorizes no transaction, onchain session or broader API grant."},"SmartOnboardingChallenge":{"type":"object","properties":{"state":{"$ref":"#/components/schemas/SmartAccountState"},"digest":{"$ref":"#/components/schemas/Hash"},"typedData":{"type":"object","properties":{"domain":{"type":"object","properties":{"name":{"type":"string","const":"Juicebox Center Account Setup"},"version":{"type":"string","const":"1"},"chainId":{"type":"integer","const":8453},"verifyingContract":{"$ref":"#/components/schemas/Address"},"salt":{"$ref":"#/components/schemas/Hash"}},"required":["name","version","chainId","verifyingContract","salt"],"additionalProperties":false},"primaryType":{"type":"string","const":"SetupAccount"},"types":{"type":"object","const":{"SetupAccount":[{"name":"accountId","type":"string"},{"name":"owner","type":"address"},{"name":"manifestId","type":"string"},{"name":"manifestRevision","type":"bytes32"},{"name":"initializerHash","type":"bytes32"},{"name":"stateHash","type":"bytes32"},{"name":"nonce","type":"bytes32"},{"name":"issuedAt","type":"uint64"},{"name":"expiresAt","type":"uint64"},{"name":"grantId","type":"string"},{"name":"botAddress","type":"address"},{"name":"scopes","type":"string[]"},{"name":"grantExpiresAt","type":"uint64"},{"name":"label","type":"string"}]}},"message":{"type":"object","properties":{"accountId":{"$ref":"#/components/schemas/AccountId"},"owner":{"allOf":[{"$ref":"#/components/schemas/Address"},{"not":{"enum":["0x0000000000000000000000000000000000000000","0x0000000000000000000000000000000000000001"]}}]},"manifestId":{"type":"string","pattern":"^[a-zA-Z0-9:_-]{1,192}$"},"manifestRevision":{"$ref":"#/components/schemas/Hash"},"initializerHash":{"$ref":"#/components/schemas/Hash"},"stateHash":{"$ref":"#/components/schemas/Hash"},"nonce":{"allOf":[{"$ref":"#/components/schemas/Hash"},{"not":{"const":"0x0000000000000000000000000000000000000000000000000000000000000000"}}]},"issuedAt":{"type":"string","pattern":"^(?:0|9007199254740991|[1-9][0-9]{0,14}|[1-8][0-9]{15}|900[0-6][0-9]{12}|90070[0-9]{11}|90071[0-8][0-9]{10}|900719[0-8][0-9]{9}|9007199[0-1][0-9]{8}|90071992[0-4][0-9]{7}|900719925[0-3][0-9]{6}|9007199254[0-6][0-9]{5}|90071992547[0-3][0-9]{4}|9007199254740[0-8][0-9]{2}|90071992547409[0-8][0-9]{1}|9007199254740990[0-9]{0})$","description":"Typed-data uint64 serialized as a decimal string. Request timestamps use JSON integers in Unix seconds."},"expiresAt":{"type":"string","pattern":"^(?:0|9007199254740991|[1-9][0-9]{0,14}|[1-8][0-9]{15}|900[0-6][0-9]{12}|90070[0-9]{11}|90071[0-8][0-9]{10}|900719[0-8][0-9]{9}|9007199[0-1][0-9]{8}|90071992[0-4][0-9]{7}|900719925[0-3][0-9]{6}|9007199254[0-6][0-9]{5}|90071992547[0-3][0-9]{4}|9007199254740[0-8][0-9]{2}|90071992547409[0-8][0-9]{1}|9007199254740990[0-9]{0})$","description":"Typed-data uint64 serialized as a decimal string. Request timestamps use JSON integers in Unix seconds."},"grantId":{"type":"string","format":"uuid","pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"},"botAddress":{"allOf":[{"$ref":"#/components/schemas/Address"},{"not":{"enum":["0x0000000000000000000000000000000000000000","0x0000000000000000000000000000000000000001"]}}]},"scopes":{"type":"array","const":["read","plan","relay"]},"grantExpiresAt":{"type":"string","pattern":"^(?:0|9007199254740991|[1-9][0-9]{0,14}|[1-8][0-9]{15}|900[0-6][0-9]{12}|90070[0-9]{11}|90071[0-8][0-9]{10}|900719[0-8][0-9]{9}|9007199[0-1][0-9]{8}|90071992[0-4][0-9]{7}|900719925[0-3][0-9]{6}|9007199254[0-6][0-9]{5}|90071992547[0-3][0-9]{4}|9007199254740[0-8][0-9]{2}|90071992547409[0-8][0-9]{1}|9007199254740990[0-9]{0})$","description":"Typed-data uint64 serialized as a decimal string. Request timestamps use JSON integers in Unix seconds."},"label":{"type":"string","pattern":"^[^\\u0000-\\u001f\\u007f]*$","x-maxUtf8Bytes":120}},"required":["accountId","owner","manifestId","manifestRevision","initializerHash","stateHash","nonce","issuedAt","expiresAt","grantId","botAddress","scopes","grantExpiresAt","label"],"additionalProperties":false}},"required":["domain","primaryType","types","message"],"additionalProperties":false}},"required":["state","digest","typedData"],"additionalProperties":false},"SmartAccountBinding":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Hash"},"ownerAccountId":{"$ref":"#/components/schemas/AccountId"},"ownerAddress":{"$ref":"#/components/schemas/Address"},"wallet":{"type":"object","properties":{"chainId":{"type":"integer","minimum":1,"maximum":9007199254740991},"address":{"$ref":"#/components/schemas/Address"}},"required":["chainId","address"],"additionalProperties":false},"manifestId":{"type":"string"},"authorization":{"oneOf":[{"type":"object","properties":{"digest":{"$ref":"#/components/schemas/Hash"},"nonce":{"allOf":[{"$ref":"#/components/schemas/Hash"},{"not":{"const":"0x0000000000000000000000000000000000000000000000000000000000000000"}}]},"expiresAt":{"$ref":"#/components/schemas/UnixSeconds"},"method":{"type":"string","enum":["safe-current-owner-threshold","center-wallet-passkey-creation-v1"]}},"required":["digest","nonce","expiresAt","method"],"additionalProperties":false},{"type":"object","properties":{"digest":{"$ref":"#/components/schemas/Hash"},"nonce":{"allOf":[{"$ref":"#/components/schemas/Hash"},{"not":{"const":"0x0000000000000000000000000000000000000000000000000000000000000000"}}]},"expiresAt":{"$ref":"#/components/schemas/UnixSeconds"},"method":{"type":"string","enum":["safe-current-owner-threshold-and-api-grant","safe-passkey-owner-threshold-and-api-grant"]},"setup":{"type":"object","properties":{"manifestRevision":{"$ref":"#/components/schemas/Hash"},"initializerHash":{"$ref":"#/components/schemas/Hash"},"issuedAt":{"$ref":"#/components/schemas/UnixSeconds"},"grantId":{"type":"string","format":"uuid","pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"},"botAddress":{"allOf":[{"$ref":"#/components/schemas/Address"},{"not":{"enum":["0x0000000000000000000000000000000000000000","0x0000000000000000000000000000000000000001"]}}]},"scopes":{"type":"array","const":["read","plan","relay"]},"grantExpiresAt":{"$ref":"#/components/schemas/UnixSeconds"},"label":{"type":"string","pattern":"^[^\\u0000-\\u001f\\u007f]*$","x-maxUtf8Bytes":120}},"required":["manifestRevision","initializerHash","issuedAt","grantId","botAddress","scopes","grantExpiresAt","label"],"additionalProperties":false}},"required":["digest","nonce","expiresAt","method","setup"],"additionalProperties":false}]},"state":{"$ref":"#/components/schemas/SmartAccountState"}},"required":["id","ownerAccountId","ownerAddress","wallet","manifestId","authorization","state"],"additionalProperties":false},"SmartOnboardingResult":{"type":"object","properties":{"account":{"$ref":"#/components/schemas/Account"},"binding":{"$ref":"#/components/schemas/SmartAccountBinding"},"grant":{"$ref":"#/components/schemas/BotGrant"}},"required":["account","binding","grant"],"additionalProperties":false},"SmartBindingList":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Hash"},"wallet":{"type":"object","properties":{"chainId":{"type":"integer","minimum":1,"maximum":9007199254740991},"address":{"$ref":"#/components/schemas/Address"}},"required":["chainId","address"],"additionalProperties":false},"manifestId":{"type":"string"},"stateHash":{"$ref":"#/components/schemas/Hash"},"evidence":{"$ref":"#/components/schemas/BlockEvidence"},"moduleConfigurationVerified":{"type":"boolean"},"executionVerified":{"type":"boolean","const":false},"observation":{"type":"string","const":"stored-binding-snapshot"}},"required":["id","wallet","manifestId","stateHash","evidence","moduleConfigurationVerified","executionVerified","observation"],"additionalProperties":false}}},"required":["items"],"additionalProperties":false},"SmartBindingUnlinked":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/Hash"},"status":{"type":"string","const":"unlinked"},"onchainSessionRevoked":{"type":"boolean","const":false},"reason":{"type":"string"}},"required":["id","status","onchainSessionRevoked","reason"],"additionalProperties":false},"SmartCreationInput":{"type":"object","properties":{"manifestId":{"type":"string"},"owners":{"type":"array","items":{"$ref":"#/components/schemas/Address"},"minItems":1,"maxItems":16,"uniqueItems":true},"threshold":{"type":"integer","minimum":1,"maximum":16},"saltNonce":{"$ref":"#/components/schemas/Uint256"}},"required":["manifestId","owners","threshold","saltNonce"],"additionalProperties":false},"SmartCreation":{"type":"object","properties":{"chainId":{"type":"integer","minimum":1,"maximum":9007199254740991},"manifestId":{"type":"string"},"manifestRevision":{"$ref":"#/components/schemas/Hash"},"address":{"$ref":"#/components/schemas/Address"},"owners":{"type":"array","items":{"$ref":"#/components/schemas/Address"},"minItems":1,"maxItems":16,"uniqueItems":true},"threshold":{"type":"integer","minimum":1,"maximum":16},"saltNonce":{"$ref":"#/components/schemas/Uint256"},"initializer":{"$ref":"#/components/schemas/HexBytes"},"initializerHash":{"$ref":"#/components/schemas/Hash"},"transaction":{"type":"object","properties":{"to":{"$ref":"#/components/schemas/Address"},"value":{"type":"string","const":"0"},"data":{"$ref":"#/components/schemas/HexBytes"}},"required":["to","value","data"],"additionalProperties":false},"initialAuthority":{"type":"object","properties":{"validator":{"$ref":"#/components/schemas/Address"},"enabledSessions":{"type":"integer","const":0},"executors":{"type":"array","maxItems":0},"hooks":{"type":"array","maxItems":0},"fallbacks":{"type":"array","maxItems":0},"registryEnforced":{"type":"boolean","const":false}},"required":["validator","enabledSessions","executors","hooks","fallbacks","registryEnforced"],"additionalProperties":false},"evidence":{"$ref":"#/components/schemas/BlockEvidence"},"deploymentConfirmed":{"type":"boolean","const":false}},"required":["chainId","manifestId","manifestRevision","address","owners","threshold","saltNonce","initializer","initializerHash","transaction","initialAuthority","evidence","deploymentConfirmed"],"additionalProperties":false},"SessionAllocation":{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,100}$"},"chainId":{"type":"integer","minimum":1,"maximum":9007199254740991},"asset":{"$ref":"#/components/schemas/Address"},"limit":{"$ref":"#/components/schemas/PositiveUint256"}},"required":["id","chainId","asset","limit"],"additionalProperties":false},"SessionAllocationGroup":{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,100}$"},"total":{"$ref":"#/components/schemas/PositiveUint256"},"allocations":{"type":"array","items":{"$ref":"#/components/schemas/SessionAllocation"},"minItems":1,"maxItems":8}},"required":["id","total","allocations"],"additionalProperties":false},"ReviewedSessionAllocation":{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,100}$"},"chainId":{"type":"integer","minimum":1,"maximum":9007199254740991},"asset":{"$ref":"#/components/schemas/Address"},"limit":{"$ref":"#/components/schemas/PositiveUint256"},"assetReviewId":{"type":"string"}},"required":["id","chainId","asset","limit","assetReviewId"],"additionalProperties":false},"ReviewedSessionAllocationGroup":{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,100}$"},"assetIdentity":{"type":"string"},"decimals":{"type":"integer","minimum":0,"maximum":255},"total":{"$ref":"#/components/schemas/PositiveUint256"},"allocations":{"type":"array","items":{"$ref":"#/components/schemas/ReviewedSessionAllocation"},"minItems":1,"maxItems":8}},"required":["id","assetIdentity","decimals","total","allocations"],"additionalProperties":false},"SessionAction":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"v6-project-uri"},"controller":{"$ref":"#/components/schemas/Address"},"projectId":{"$ref":"#/components/schemas/PositiveUint256"}},"required":["kind","controller","projectId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"erc20-transfer"},"allocationId":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,100}$"},"beneficiary":{"$ref":"#/components/schemas/Address"},"perCallLimit":{"$ref":"#/components/schemas/PositiveUint256"},"totalLimit":{"$ref":"#/components/schemas/PositiveUint256"}},"required":["kind","allocationId","beneficiary","perCallLimit","totalLimit"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"v6-pay"},"allocationId":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,100}$"},"beneficiary":{"$ref":"#/components/schemas/Address"},"perCallLimit":{"$ref":"#/components/schemas/PositiveUint256"},"totalLimit":{"$ref":"#/components/schemas/PositiveUint256"},"terminal":{"$ref":"#/components/schemas/Address"},"projectId":{"$ref":"#/components/schemas/PositiveUint256"},"minReturnedTokens":{"$ref":"#/components/schemas/Uint256"}},"required":["kind","allocationId","beneficiary","perCallLimit","totalLimit","terminal","projectId","minReturnedTokens"],"additionalProperties":false}]},"ReviewedSessionAction":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"v6-project-uri"},"chainId":{"type":"integer","minimum":1,"maximum":9007199254740991},"target":{"$ref":"#/components/schemas/Address"},"targetReviewId":{"type":"string"},"runtimeCodeHash":{"$ref":"#/components/schemas/Hash"},"selector":{"type":"string","pattern":"^0x[0-9a-fA-F]{8}$"},"projectId":{"$ref":"#/components/schemas/PositiveUint256"},"requiredEnforcement":{"type":"array","items":{"type":"string"}}},"required":["kind","chainId","target","targetReviewId","runtimeCodeHash","selector","projectId","requiredEnforcement"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"erc20-transfer"},"allocationId":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,100}$"},"beneficiary":{"$ref":"#/components/schemas/Address"},"perCallLimit":{"$ref":"#/components/schemas/PositiveUint256"},"totalLimit":{"$ref":"#/components/schemas/PositiveUint256"},"chainId":{"type":"integer","minimum":1,"maximum":9007199254740991},"asset":{"$ref":"#/components/schemas/Address"},"target":{"$ref":"#/components/schemas/Address"},"targetReviewId":{"type":"string"},"runtimeCodeHash":{"$ref":"#/components/schemas/Hash"},"selector":{"type":"string","pattern":"^0x[0-9a-fA-F]{8}$"},"requiredEnforcement":{"type":"array","items":{"type":"string"}}},"required":["kind","allocationId","beneficiary","perCallLimit","totalLimit","chainId","asset","target","targetReviewId","runtimeCodeHash","selector","requiredEnforcement"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"v6-pay"},"allocationId":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,100}$"},"beneficiary":{"$ref":"#/components/schemas/Address"},"perCallLimit":{"$ref":"#/components/schemas/PositiveUint256"},"totalLimit":{"$ref":"#/components/schemas/PositiveUint256"},"chainId":{"type":"integer","minimum":1,"maximum":9007199254740991},"asset":{"$ref":"#/components/schemas/Address"},"target":{"$ref":"#/components/schemas/Address"},"targetReviewId":{"type":"string"},"runtimeCodeHash":{"$ref":"#/components/schemas/Hash"},"selector":{"type":"string","pattern":"^0x[0-9a-fA-F]{8}$"},"requiredEnforcement":{"type":"array","items":{"type":"string"}},"projectId":{"$ref":"#/components/schemas/PositiveUint256"},"minReturnedTokens":{"$ref":"#/components/schemas/Uint256"},"memo":{"type":"string","const":""},"metadata":{"type":"string","const":"0x"}},"required":["kind","allocationId","beneficiary","perCallLimit","totalLimit","chainId","asset","target","targetReviewId","runtimeCodeHash","selector","requiredEnforcement","projectId","minReturnedTokens","memo","metadata"],"additionalProperties":false}]},"SessionMaximumCalls":{"allOf":[{"type":"string","pattern":"^(?:0|100000|[1-9][0-9]{0,4})$","description":"Exact nonnegative decimal string no greater than 100000."},{"not":{"const":"0"}}]},"SessionGasBudget":{"type":"object","properties":{"paymaster":{"$ref":"#/components/schemas/Address"},"maxGasPerOperation":{"allOf":[{"type":"string","pattern":"^(?:0|(?:340282366920938463463374607431768211455|[1-9][0-9]{0,37}|[1-2][0-9]{38}|3[0-3][0-9]{37}|340[0-1][0-9]{35}|3402[0-7][0-9]{34}|34028[0-1][0-9]{33}|340282[0-2][0-9]{32}|3402823[0-5][0-9]{31}|34028236[0-5][0-9]{30}|340282366[0-8][0-9]{29}|3402823669[0-1][0-9]{28}|340282366920[0-8][0-9]{26}|3402823669209[0-2][0-9]{25}|34028236692093[0-7][0-9]{24}|340282366920938[0-3][0-9]{23}|3402823669209384[0-5][0-9]{22}|34028236692093846[0-2][0-9]{21}|340282366920938463[0-3][0-9]{20}|3402823669209384634[0-5][0-9]{19}|34028236692093846346[0-2][0-9]{18}|340282366920938463463[0-2][0-9]{17}|3402823669209384634633[0-6][0-9]{16}|34028236692093846346337[0-3][0-9]{15}|340282366920938463463374[0-5][0-9]{14}|34028236692093846346337460[0-6][0-9]{12}|340282366920938463463374607[0-3][0-9]{11}|3402823669209384634633746074[0-2][0-9]{10}|340282366920938463463374607430[0-9]{9}|340282366920938463463374607431[0-6][0-9]{8}|3402823669209384634633746074317[0-5][0-9]{7}|34028236692093846346337460743176[0-7][0-9]{6}|340282366920938463463374607431768[0-1][0-9]{5}|34028236692093846346337460743176820[0-9]{4}|340282366920938463463374607431768210[0-9]{3}|340282366920938463463374607431768211[0-3][0-9]{2}|3402823669209384634633746074317682114[0-4][0-9]{1}|34028236692093846346337460743176821145[0-4]))$","description":"uint128 as a lossless decimal string"},{"not":{"const":"0"}}]},"maxFeePerGas":{"allOf":[{"type":"string","pattern":"^(?:0|(?:340282366920938463463374607431768211455|[1-9][0-9]{0,37}|[1-2][0-9]{38}|3[0-3][0-9]{37}|340[0-1][0-9]{35}|3402[0-7][0-9]{34}|34028[0-1][0-9]{33}|340282[0-2][0-9]{32}|3402823[0-5][0-9]{31}|34028236[0-5][0-9]{30}|340282366[0-8][0-9]{29}|3402823669[0-1][0-9]{28}|340282366920[0-8][0-9]{26}|3402823669209[0-2][0-9]{25}|34028236692093[0-7][0-9]{24}|340282366920938[0-3][0-9]{23}|3402823669209384[0-5][0-9]{22}|34028236692093846[0-2][0-9]{21}|340282366920938463[0-3][0-9]{20}|3402823669209384634[0-5][0-9]{19}|34028236692093846346[0-2][0-9]{18}|340282366920938463463[0-2][0-9]{17}|3402823669209384634633[0-6][0-9]{16}|34028236692093846346337[0-3][0-9]{15}|340282366920938463463374[0-5][0-9]{14}|34028236692093846346337460[0-6][0-9]{12}|340282366920938463463374607[0-3][0-9]{11}|3402823669209384634633746074[0-2][0-9]{10}|340282366920938463463374607430[0-9]{9}|340282366920938463463374607431[0-6][0-9]{8}|3402823669209384634633746074317[0-5][0-9]{7}|34028236692093846346337460743176[0-7][0-9]{6}|340282366920938463463374607431768[0-1][0-9]{5}|34028236692093846346337460743176820[0-9]{4}|340282366920938463463374607431768210[0-9]{3}|340282366920938463463374607431768211[0-3][0-9]{2}|3402823669209384634633746074317682114[0-4][0-9]{1}|34028236692093846346337460743176821145[0-4]))$","description":"uint128 as a lossless decimal string"},{"not":{"const":"0"}}]},"maxPriorityFeePerGas":{"type":"string","pattern":"^(?:0|(?:340282366920938463463374607431768211455|[1-9][0-9]{0,37}|[1-2][0-9]{38}|3[0-3][0-9]{37}|340[0-1][0-9]{35}|3402[0-7][0-9]{34}|34028[0-1][0-9]{33}|340282[0-2][0-9]{32}|3402823[0-5][0-9]{31}|34028236[0-5][0-9]{30}|340282366[0-8][0-9]{29}|3402823669[0-1][0-9]{28}|340282366920[0-8][0-9]{26}|3402823669209[0-2][0-9]{25}|34028236692093[0-7][0-9]{24}|340282366920938[0-3][0-9]{23}|3402823669209384[0-5][0-9]{22}|34028236692093846[0-2][0-9]{21}|340282366920938463[0-3][0-9]{20}|3402823669209384634[0-5][0-9]{19}|34028236692093846346[0-2][0-9]{18}|340282366920938463463[0-2][0-9]{17}|3402823669209384634633[0-6][0-9]{16}|34028236692093846346337[0-3][0-9]{15}|340282366920938463463374[0-5][0-9]{14}|34028236692093846346337460[0-6][0-9]{12}|340282366920938463463374607[0-3][0-9]{11}|3402823669209384634633746074[0-2][0-9]{10}|340282366920938463463374607430[0-9]{9}|340282366920938463463374607431[0-6][0-9]{8}|3402823669209384634633746074317[0-5][0-9]{7}|34028236692093846346337460743176[0-7][0-9]{6}|340282366920938463463374607431768[0-1][0-9]{5}|34028236692093846346337460743176820[0-9]{4}|340282366920938463463374607431768210[0-9]{3}|340282366920938463463374607431768211[0-3][0-9]{2}|3402823669209384634633746074317682114[0-4][0-9]{1}|34028236692093846346337460743176821145[0-4]))$","description":"uint128 as a lossless decimal string"},"totalGasLimit":{"allOf":[{"type":"string","pattern":"^(?:0|(?:340282366920938463463374607431768211455|[1-9][0-9]{0,37}|[1-2][0-9]{38}|3[0-3][0-9]{37}|340[0-1][0-9]{35}|3402[0-7][0-9]{34}|34028[0-1][0-9]{33}|340282[0-2][0-9]{32}|3402823[0-5][0-9]{31}|34028236[0-5][0-9]{30}|340282366[0-8][0-9]{29}|3402823669[0-1][0-9]{28}|340282366920[0-8][0-9]{26}|3402823669209[0-2][0-9]{25}|34028236692093[0-7][0-9]{24}|340282366920938[0-3][0-9]{23}|3402823669209384[0-5][0-9]{22}|34028236692093846[0-2][0-9]{21}|340282366920938463[0-3][0-9]{20}|3402823669209384634[0-5][0-9]{19}|34028236692093846346[0-2][0-9]{18}|340282366920938463463[0-2][0-9]{17}|3402823669209384634633[0-6][0-9]{16}|34028236692093846346337[0-3][0-9]{15}|340282366920938463463374[0-5][0-9]{14}|34028236692093846346337460[0-6][0-9]{12}|340282366920938463463374607[0-3][0-9]{11}|3402823669209384634633746074[0-2][0-9]{10}|340282366920938463463374607430[0-9]{9}|340282366920938463463374607431[0-6][0-9]{8}|3402823669209384634633746074317[0-5][0-9]{7}|34028236692093846346337460743176[0-7][0-9]{6}|340282366920938463463374607431768[0-1][0-9]{5}|34028236692093846346337460743176820[0-9]{4}|340282366920938463463374607431768210[0-9]{3}|340282366920938463463374607431768211[0-3][0-9]{2}|3402823669209384634633746074317682114[0-4][0-9]{1}|34028236692093846346337460743176821145[0-4]))$","description":"uint128 as a lossless decimal string"},{"not":{"const":"0"}}]},"totalSponsoredCostLimit":{"$ref":"#/components/schemas/PositiveUint256"},"maxPaymasterDataLength":{"type":"integer","const":130}},"required":["paymaster","maxGasPerOperation","maxFeePerGas","maxPriorityFeePerGas","totalGasLimit","totalSponsoredCostLimit","maxPaymasterDataLength"],"additionalProperties":false,"description":"Host-reviewed gas-only paymaster on the wallet chain. Per-operation gas must fit `totalGasLimit`; priority fee must not exceed fee cap; `maxGasPerOperation` × `maxFeePerGas` must fit `totalSponsoredCostLimit`. No account asset charge or new allowance is authorized."},"ReviewedSessionGasBudget":{"type":"object","properties":{"paymaster":{"$ref":"#/components/schemas/Address"},"maxGasPerOperation":{"allOf":[{"type":"string","pattern":"^(?:0|(?:340282366920938463463374607431768211455|[1-9][0-9]{0,37}|[1-2][0-9]{38}|3[0-3][0-9]{37}|340[0-1][0-9]{35}|3402[0-7][0-9]{34}|34028[0-1][0-9]{33}|340282[0-2][0-9]{32}|3402823[0-5][0-9]{31}|34028236[0-5][0-9]{30}|340282366[0-8][0-9]{29}|3402823669[0-1][0-9]{28}|340282366920[0-8][0-9]{26}|3402823669209[0-2][0-9]{25}|34028236692093[0-7][0-9]{24}|340282366920938[0-3][0-9]{23}|3402823669209384[0-5][0-9]{22}|34028236692093846[0-2][0-9]{21}|340282366920938463[0-3][0-9]{20}|3402823669209384634[0-5][0-9]{19}|34028236692093846346[0-2][0-9]{18}|340282366920938463463[0-2][0-9]{17}|3402823669209384634633[0-6][0-9]{16}|34028236692093846346337[0-3][0-9]{15}|340282366920938463463374[0-5][0-9]{14}|34028236692093846346337460[0-6][0-9]{12}|340282366920938463463374607[0-3][0-9]{11}|3402823669209384634633746074[0-2][0-9]{10}|340282366920938463463374607430[0-9]{9}|340282366920938463463374607431[0-6][0-9]{8}|3402823669209384634633746074317[0-5][0-9]{7}|34028236692093846346337460743176[0-7][0-9]{6}|340282366920938463463374607431768[0-1][0-9]{5}|34028236692093846346337460743176820[0-9]{4}|340282366920938463463374607431768210[0-9]{3}|340282366920938463463374607431768211[0-3][0-9]{2}|3402823669209384634633746074317682114[0-4][0-9]{1}|34028236692093846346337460743176821145[0-4]))$","description":"uint128 as a lossless decimal string"},{"not":{"const":"0"}}]},"maxFeePerGas":{"allOf":[{"type":"string","pattern":"^(?:0|(?:340282366920938463463374607431768211455|[1-9][0-9]{0,37}|[1-2][0-9]{38}|3[0-3][0-9]{37}|340[0-1][0-9]{35}|3402[0-7][0-9]{34}|34028[0-1][0-9]{33}|340282[0-2][0-9]{32}|3402823[0-5][0-9]{31}|34028236[0-5][0-9]{30}|340282366[0-8][0-9]{29}|3402823669[0-1][0-9]{28}|340282366920[0-8][0-9]{26}|3402823669209[0-2][0-9]{25}|34028236692093[0-7][0-9]{24}|340282366920938[0-3][0-9]{23}|3402823669209384[0-5][0-9]{22}|34028236692093846[0-2][0-9]{21}|340282366920938463[0-3][0-9]{20}|3402823669209384634[0-5][0-9]{19}|34028236692093846346[0-2][0-9]{18}|340282366920938463463[0-2][0-9]{17}|3402823669209384634633[0-6][0-9]{16}|34028236692093846346337[0-3][0-9]{15}|340282366920938463463374[0-5][0-9]{14}|34028236692093846346337460[0-6][0-9]{12}|340282366920938463463374607[0-3][0-9]{11}|3402823669209384634633746074[0-2][0-9]{10}|340282366920938463463374607430[0-9]{9}|340282366920938463463374607431[0-6][0-9]{8}|3402823669209384634633746074317[0-5][0-9]{7}|34028236692093846346337460743176[0-7][0-9]{6}|340282366920938463463374607431768[0-1][0-9]{5}|34028236692093846346337460743176820[0-9]{4}|340282366920938463463374607431768210[0-9]{3}|340282366920938463463374607431768211[0-3][0-9]{2}|3402823669209384634633746074317682114[0-4][0-9]{1}|34028236692093846346337460743176821145[0-4]))$","description":"uint128 as a lossless decimal string"},{"not":{"const":"0"}}]},"maxPriorityFeePerGas":{"type":"string","pattern":"^(?:0|(?:340282366920938463463374607431768211455|[1-9][0-9]{0,37}|[1-2][0-9]{38}|3[0-3][0-9]{37}|340[0-1][0-9]{35}|3402[0-7][0-9]{34}|34028[0-1][0-9]{33}|340282[0-2][0-9]{32}|3402823[0-5][0-9]{31}|34028236[0-5][0-9]{30}|340282366[0-8][0-9]{29}|3402823669[0-1][0-9]{28}|340282366920[0-8][0-9]{26}|3402823669209[0-2][0-9]{25}|34028236692093[0-7][0-9]{24}|340282366920938[0-3][0-9]{23}|3402823669209384[0-5][0-9]{22}|34028236692093846[0-2][0-9]{21}|340282366920938463[0-3][0-9]{20}|3402823669209384634[0-5][0-9]{19}|34028236692093846346[0-2][0-9]{18}|340282366920938463463[0-2][0-9]{17}|3402823669209384634633[0-6][0-9]{16}|34028236692093846346337[0-3][0-9]{15}|340282366920938463463374[0-5][0-9]{14}|34028236692093846346337460[0-6][0-9]{12}|340282366920938463463374607[0-3][0-9]{11}|3402823669209384634633746074[0-2][0-9]{10}|340282366920938463463374607430[0-9]{9}|340282366920938463463374607431[0-6][0-9]{8}|3402823669209384634633746074317[0-5][0-9]{7}|34028236692093846346337460743176[0-7][0-9]{6}|340282366920938463463374607431768[0-1][0-9]{5}|34028236692093846346337460743176820[0-9]{4}|340282366920938463463374607431768210[0-9]{3}|340282366920938463463374607431768211[0-3][0-9]{2}|3402823669209384634633746074317682114[0-4][0-9]{1}|34028236692093846346337460743176821145[0-4]))$","description":"uint128 as a lossless decimal string"},"totalGasLimit":{"allOf":[{"type":"string","pattern":"^(?:0|(?:340282366920938463463374607431768211455|[1-9][0-9]{0,37}|[1-2][0-9]{38}|3[0-3][0-9]{37}|340[0-1][0-9]{35}|3402[0-7][0-9]{34}|34028[0-1][0-9]{33}|340282[0-2][0-9]{32}|3402823[0-5][0-9]{31}|34028236[0-5][0-9]{30}|340282366[0-8][0-9]{29}|3402823669[0-1][0-9]{28}|340282366920[0-8][0-9]{26}|3402823669209[0-2][0-9]{25}|34028236692093[0-7][0-9]{24}|340282366920938[0-3][0-9]{23}|3402823669209384[0-5][0-9]{22}|34028236692093846[0-2][0-9]{21}|340282366920938463[0-3][0-9]{20}|3402823669209384634[0-5][0-9]{19}|34028236692093846346[0-2][0-9]{18}|340282366920938463463[0-2][0-9]{17}|3402823669209384634633[0-6][0-9]{16}|34028236692093846346337[0-3][0-9]{15}|340282366920938463463374[0-5][0-9]{14}|34028236692093846346337460[0-6][0-9]{12}|340282366920938463463374607[0-3][0-9]{11}|3402823669209384634633746074[0-2][0-9]{10}|340282366920938463463374607430[0-9]{9}|340282366920938463463374607431[0-6][0-9]{8}|3402823669209384634633746074317[0-5][0-9]{7}|34028236692093846346337460743176[0-7][0-9]{6}|340282366920938463463374607431768[0-1][0-9]{5}|34028236692093846346337460743176820[0-9]{4}|340282366920938463463374607431768210[0-9]{3}|340282366920938463463374607431768211[0-3][0-9]{2}|3402823669209384634633746074317682114[0-4][0-9]{1}|34028236692093846346337460743176821145[0-4]))$","description":"uint128 as a lossless decimal string"},{"not":{"const":"0"}}]},"totalSponsoredCostLimit":{"$ref":"#/components/schemas/PositiveUint256"},"maxPaymasterDataLength":{"type":"integer","const":130},"paymasterCodeHash":{"$ref":"#/components/schemas/Hash"},"paymasterReviewId":{"type":"string"}},"required":["paymaster","maxGasPerOperation","maxFeePerGas","maxPriorityFeePerGas","totalGasLimit","totalSponsoredCostLimit","maxPaymasterDataLength","paymasterCodeHash","paymasterReviewId"],"additionalProperties":false},"SessionReviewInput":{"type":"object","properties":{"bindingId":{"$ref":"#/components/schemas/Hash"},"grantId":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,100}$"},"generation":{"$ref":"#/components/schemas/PositiveUint256"},"nonce":{"allOf":[{"$ref":"#/components/schemas/Hash"},{"not":{"const":"0x0000000000000000000000000000000000000000000000000000000000000000"}}]},"validAfter":{"$ref":"#/components/schemas/UnixSeconds","description":"Start at or after server time, within the next 86400 seconds. The complete chosen duration must fit the active bot grant's expiry."},"durationDays":{"type":"integer","enum":[7,30]},"maximumCalls":{"$ref":"#/components/schemas/SessionMaximumCalls"},"gasBudget":{"$ref":"#/components/schemas/SessionGasBudget"},"allocations":{"type":"array","items":{"$ref":"#/components/schemas/SessionAllocationGroup"},"maxItems":16},"actions":{"type":"array","items":{"$ref":"#/components/schemas/SessionAction"},"minItems":1,"maxItems":16}},"required":["bindingId","grantId","generation","nonce","validAfter","durationDays","maximumCalls","allocations","actions"],"additionalProperties":false,"description":"Review does not activate authority. The selected grant must be active with read+plan+relay; a bot can review only its own grant. Groups, chain/asset coordinates, allocation IDs and target/selector actions must be unique. Assets require reviewed identities and matching decimals; action caps must fit allocations. URI-only policies can have no asset groups, but executable sessions still require the sponsored gas budget. V6 project URI permission must belong to the smart account."},"ReviewedSessionPolicy":{"type":"object","properties":{"schemaVersion":{"type":"integer","const":1},"ownerAccountId":{"$ref":"#/components/schemas/AccountId"},"bindingId":{"$ref":"#/components/schemas/Hash"},"chainId":{"type":"integer","minimum":1,"maximum":9007199254740991},"wallet":{"$ref":"#/components/schemas/Address"},"grantId":{"$ref":"#/components/schemas/GrantId"},"sessionKey":{"$ref":"#/components/schemas/Address"},"generation":{"$ref":"#/components/schemas/PositiveUint256"},"nonce":{"allOf":[{"$ref":"#/components/schemas/Hash"},{"not":{"const":"0x0000000000000000000000000000000000000000000000000000000000000000"}}]},"validAfter":{"$ref":"#/components/schemas/UnixSeconds"},"validUntil":{"$ref":"#/components/schemas/UnixSeconds"},"maximumCalls":{"$ref":"#/components/schemas/SessionMaximumCalls"},"salt":{"$ref":"#/components/schemas/Hash"},"restrictToActions":{"type":"boolean","const":true},"signing":{"type":"object","properties":{"mode":{"type":"string","const":"disabled"}},"required":["mode"],"additionalProperties":false},"crossChainPermits":{"type":"boolean","const":false},"claimPolicies":{"type":"boolean","const":false},"wildcardFallback":{"type":"boolean","const":false},"gasBudget":{"$ref":"#/components/schemas/ReviewedSessionGasBudget"},"allocations":{"type":"array","items":{"$ref":"#/components/schemas/ReviewedSessionAllocationGroup"},"maxItems":16},"actions":{"type":"array","items":{"$ref":"#/components/schemas/ReviewedSessionAction"},"minItems":1,"maxItems":16}},"required":["schemaVersion","ownerAccountId","bindingId","chainId","wallet","grantId","sessionKey","generation","nonce","validAfter","validUntil","maximumCalls","salt","restrictToActions","signing","crossChainPermits","claimPolicies","wildcardFallback","allocations","actions"],"additionalProperties":false},"SessionReview":{"type":"object","properties":{"status":{"type":"string","const":"reviewable-not-activated"},"policy":{"$ref":"#/components/schemas/ReviewedSessionPolicy"},"policyHash":{"$ref":"#/components/schemas/Hash"},"walletStateHash":{"$ref":"#/components/schemas/Hash"},"manifestRevision":{"$ref":"#/components/schemas/Hash"},"evidence":{"$ref":"#/components/schemas/BlockEvidence"},"ownerApproval":{"type":"object","properties":{"required":{"type":"boolean","const":true},"signerRole":{"type":"string","const":"smart-account-owner-threshold"},"action":{"type":"string","const":"install-or-enable-exact-session-policy"},"noPermanentBotProjectPermission":{"type":"boolean","const":true}},"required":["required","signerRole","action","noPermanentBotProjectPermission"],"additionalProperties":false},"activationRequirements":{"type":"array","items":{"type":"string"}},"warnings":{"type":"array","items":{"type":"string"}}},"required":["status","policy","policyHash","walletStateHash","manifestRevision","evidence","ownerApproval","activationRequirements","warnings"],"additionalProperties":false},"SessionCapabilities":{"type":"object","properties":{"durationsDays":{"type":"array","const":[7,30]},"availableActions":{"type":"array","items":{"type":"string","enum":["erc20-transfer","v6-pay","v6-project-uri"]}},"configuredChainIds":{"type":"array","items":{"type":"integer","minimum":1,"maximum":9007199254740991},"uniqueItems":true},"requiresVerifiedGuardDeployment":{"type":"boolean","const":true},"activationReady":{"type":"boolean"}},"required":["durationsDays","availableActions","configuredChainIds","requiresVerifiedGuardDeployment","activationReady"],"additionalProperties":true},"CompiledSessionPolicy":{"type":"object","properties":{"kind":{"type":"string","enum":["time-frame","universal-action","value-limit","usage-limit","gas-budget"]},"policy":{"$ref":"#/components/schemas/SmartContractPin"},"configId":{"$ref":"#/components/schemas/Hash"},"scope":{"type":"string","enum":["user-operation","action"]},"actionId":{"$ref":"#/components/schemas/Hash"},"initData":{"$ref":"#/components/schemas/HexBytes"},"decoded":{"$ref":"#/components/schemas/JsonValue"}},"required":["kind","policy","configId","scope","initData","decoded"],"additionalProperties":false},"LegacySessionTuple":{"type":"object","properties":{"sessionValidator":{"$ref":"#/components/schemas/Address"},"sessionValidatorInitData":{"$ref":"#/components/schemas/HexBytes"},"salt":{"$ref":"#/components/schemas/Hash"},"userOpPolicies":{"type":"array","items":{"type":"object","properties":{"policy":{"$ref":"#/components/schemas/Address"},"initData":{"$ref":"#/components/schemas/HexBytes"}},"required":["policy","initData"],"additionalProperties":false}},"erc7739Policies":{"type":"object","properties":{"allowedERC7739Content":{"type":"array","maxItems":0},"erc1271Policies":{"type":"array","maxItems":0}},"required":["allowedERC7739Content","erc1271Policies"],"additionalProperties":false},"actions":{"type":"array","items":{"type":"object","properties":{"actionTargetSelector":{"type":"string","pattern":"^0x[0-9a-fA-F]{8}$"},"actionTarget":{"$ref":"#/components/schemas/Address"},"actionPolicies":{"type":"array","items":{"type":"object","properties":{"policy":{"$ref":"#/components/schemas/Address"},"initData":{"$ref":"#/components/schemas/HexBytes"}},"required":["policy","initData"],"additionalProperties":false}}},"required":["actionTargetSelector","actionTarget","actionPolicies"],"additionalProperties":false},"minItems":1,"maxItems":16},"permitERC4337Paymaster":{"type":"boolean","const":true}},"required":["sessionValidator","sessionValidatorInitData","salt","userOpPolicies","erc7739Policies","actions","permitERC4337Paymaster"],"additionalProperties":false},"CompiledSession":{"type":"object","properties":{"schemaVersion":{"type":"integer","const":1},"stack":{"type":"string","const":"legacy-f24dddf-safe7579-f22a194"},"ownerAccountId":{"$ref":"#/components/schemas/AccountId"},"bindingId":{"$ref":"#/components/schemas/Hash"},"grantId":{"$ref":"#/components/schemas/ResourceId"},"sessionKey":{"$ref":"#/components/schemas/Address"},"chainId":{"type":"integer","minimum":1,"maximum":9007199254740991},"wallet":{"$ref":"#/components/schemas/Address"},"generation":{"$ref":"#/components/schemas/PositiveUint256"},"nonce":{"$ref":"#/components/schemas/Hash"},"validAfter":{"$ref":"#/components/schemas/UnixSeconds"},"validUntil":{"$ref":"#/components/schemas/UnixSeconds"},"salt":{"$ref":"#/components/schemas/Hash"},"policyHash":{"$ref":"#/components/schemas/Hash"},"compiledHash":{"$ref":"#/components/schemas/Hash"},"permissionId":{"$ref":"#/components/schemas/Hash"},"manifestRevision":{"$ref":"#/components/schemas/Hash"},"activationEnableNonce":{"$ref":"#/components/schemas/Uint256"},"reviewedPolicy":{"allOf":[{"$ref":"#/components/schemas/ReviewedSessionPolicy"},{"type":"object","required":["gasBudget"]}]},"smartSessions":{"$ref":"#/components/schemas/SmartContractPin"},"sessionValidator":{"$ref":"#/components/schemas/SmartContractPin"},"session":{"$ref":"#/components/schemas/LegacySessionTuple"},"configurations":{"type":"array","items":{"$ref":"#/components/schemas/CompiledSessionPolicy"},"maxItems":64}},"required":["schemaVersion","stack","ownerAccountId","bindingId","grantId","sessionKey","chainId","wallet","generation","nonce","validAfter","validUntil","salt","policyHash","compiledHash","permissionId","manifestRevision","activationEnableNonce","reviewedPolicy","smartSessions","sessionValidator","session","configurations"],"additionalProperties":false},"SessionCounter":{"type":"object","properties":{"policy":{"$ref":"#/components/schemas/Address"},"configId":{"$ref":"#/components/schemas/Hash"},"name":{"type":"string","minLength":1,"maxLength":128},"used":{"$ref":"#/components/schemas/Uint256"},"limit":{"$ref":"#/components/schemas/Uint256"}},"required":["policy","configId","name","used","limit"],"additionalProperties":false},"SessionAdministrationBaseline":{"type":"object","properties":{"epoch":{"$ref":"#/components/schemas/Uint256"},"hash":{"$ref":"#/components/schemas/Hash"}},"required":["epoch","hash"],"additionalProperties":false},"SessionAdministrationObservation":{"type":"object","properties":{"epoch":{"$ref":"#/components/schemas/Uint256"},"hash":{"$ref":"#/components/schemas/Hash"},"lastInitialization":{"type":"object","properties":{"epoch":{"$ref":"#/components/schemas/Uint256"},"permissionIds":{"type":"array","items":{"$ref":"#/components/schemas/Hash"},"maxItems":16}},"required":["epoch","permissionIds"],"additionalProperties":false}},"required":["epoch","hash"],"additionalProperties":false},"InstalledSessionObservation":{"type":"object","properties":{"permissionId":{"$ref":"#/components/schemas/Hash"},"compiledHash":{"$ref":"#/components/schemas/Hash"},"account":{"$ref":"#/components/schemas/Address"},"chainId":{"type":"integer","minimum":1,"maximum":9007199254740991},"enabled":{"type":"boolean"},"enableNonce":{"$ref":"#/components/schemas/Uint256"},"configurationHash":{"$ref":"#/components/schemas/Hash"},"evidence":{"$ref":"#/components/schemas/BlockEvidence"},"counters":{"type":"array","items":{"$ref":"#/components/schemas/SessionCounter"},"maxItems":256},"administration":{"$ref":"#/components/schemas/SessionAdministrationObservation"}},"required":["permissionId","compiledHash","account","chainId","enabled","enableNonce","configurationHash","evidence","counters"],"additionalProperties":false,"allOf":[{"if":{"properties":{"enabled":{"const":true}},"required":["enabled"]},"then":{"required":["administration"],"properties":{"administration":{"required":["lastInitialization"]}}}}],"description":"Enabled observations include complete canonical administration history. Admission requires exactly one initialization after the immutable preparation baseline, containing only this permission; changed administration invalidates the generation."},"SessionCanonicalObservation":{"type":"object","properties":{"installed":{"$ref":"#/components/schemas/InstalledSessionObservation"},"observedAt":{"$ref":"#/components/schemas/UnixMilliseconds"},"finalized":{"type":"boolean"},"proofHash":{"$ref":"#/components/schemas/Hash"}},"required":["installed","observedAt","finalized","proofHash"],"additionalProperties":false},"SessionOwnerPlanApproval":{"type":"object","properties":{"kind":{"type":"string","enum":["activation","revocation"]},"accountId":{"$ref":"#/components/schemas/AccountId"},"sessionId":{"$ref":"#/components/schemas/ResourceId"},"policyHash":{"$ref":"#/components/schemas/Hash"},"compiledHash":{"$ref":"#/components/schemas/Hash"},"planId":{"$ref":"#/components/schemas/ResourceId"},"planCommitment":{"$ref":"#/components/schemas/Hash"},"digest":{"$ref":"#/components/schemas/Hash"},"issuedAt":{"$ref":"#/components/schemas/UnixSeconds"},"expiresAt":{"$ref":"#/components/schemas/UnixSeconds"}},"required":["kind","accountId","sessionId","policyHash","compiledHash","planId","planCommitment","digest","issuedAt","expiresAt"],"additionalProperties":false,"description":"Stored server-verified consent for the owner's exact lifecycle-plan request. It is not an HTTP proof submission or an onchain Safe signature."},"SessionInvalidation":{"type":"object","properties":{"reason":{"type":"string","enum":["reorg","configuration-changed","counter-reset","grant-inactive","binding-unlinked","verification-unavailable"]},"priorProofHash":{"anyOf":[{"$ref":"#/components/schemas/Hash"},{"type":"null"}]},"observedAt":{"$ref":"#/components/schemas/UnixMilliseconds"}},"required":["reason","priorProofHash","observedAt"],"additionalProperties":false},"SessionState":{"type":"string","enum":["prepared","installing","active","revoking","revoked","expired","stale"]},"StoredSession":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/ResourceId"},"actor":{"type":"object","properties":{"accountId":{"$ref":"#/components/schemas/AccountId"},"principalId":{"$ref":"#/components/schemas/PrincipalId"}},"required":["accountId","principalId"],"additionalProperties":false},"compiled":{"$ref":"#/components/schemas/CompiledSession"},"preparedAdministration":{"$ref":"#/components/schemas/SessionAdministrationBaseline"},"allocationGroups":{"type":"array","items":{"$ref":"#/components/schemas/ReviewedSessionAllocationGroup"},"maxItems":16},"allocationManifestHash":{"$ref":"#/components/schemas/Hash"},"createdAt":{"$ref":"#/components/schemas/UnixMilliseconds"},"updatedAt":{"$ref":"#/components/schemas/UnixMilliseconds"},"revision":{"type":"integer","minimum":0,"maximum":9007199254740991},"state":{"$ref":"#/components/schemas/SessionState"},"activation":{"$ref":"#/components/schemas/SessionOwnerPlanApproval"},"revocation":{"$ref":"#/components/schemas/SessionOwnerPlanApproval"},"observation":{"$ref":"#/components/schemas/SessionCanonicalObservation"},"invalidation":{"$ref":"#/components/schemas/SessionInvalidation"},"reservationsReleased":{"type":"boolean"},"supersededApprovals":{"type":"array","items":{"type":"object","properties":{"approval":{"$ref":"#/components/schemas/SessionOwnerPlanApproval"},"supersededAt":{"$ref":"#/components/schemas/UnixMilliseconds"}},"required":["approval","supersededAt"],"additionalProperties":false},"maxItems":32}},"required":["id","actor","compiled","preparedAdministration","allocationGroups","allocationManifestHash","createdAt","updatedAt","revision","state","reservationsReleased"],"additionalProperties":false,"description":"Immutable approved policy plus revisioned lifecycle evidence. Only active with fresh canonical proof permits bot execution. Expiry, API revocation and unlinking do not release wallet reservations; finalized disabled state with an advanced enable nonce is required."},"SessionPreparationInput":{"allOf":[{"$ref":"#/components/schemas/SessionReviewInput"},{"type":"object","required":["gasBudget"]}],"description":"Compile and store an exact seven- or thirty-day session. Requires a reviewed gas-only sponsor and complete runtime/module verification. Preparation does not install authority."},"SessionPage":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/StoredSession"},"maxItems":100},"nextCursor":{"$ref":"#/components/schemas/ResourceId"}},"required":["items"],"additionalProperties":false},"SessionPlanInput":{"type":"object","properties":{"compiledHash":{"$ref":"#/components/schemas/Hash"}},"required":["compiledHash"],"additionalProperties":false},"SessionPlanResult":{"type":"object","properties":{"session":{"$ref":"#/components/schemas/StoredSession"},"plan":{"$ref":"#/components/schemas/Plan"},"installationConfirmed":{"type":"boolean","description":"New lifecycle plans return false. An idempotent replay of the admitted plan returns true when the stored session is already active; the response does not perform another installation or refresh chain evidence."}},"required":["session","plan","installationConfirmed"],"additionalProperties":false},"SessionQuota":{"type":"object","properties":{"sessionId":{"$ref":"#/components/schemas/ResourceId"},"state":{"$ref":"#/components/schemas/SessionState"},"allocationManifestHash":{"$ref":"#/components/schemas/Hash"},"approvedGroups":{"type":"array","items":{"$ref":"#/components/schemas/ReviewedSessionAllocationGroup"}},"localAllocations":{"type":"array","items":{"$ref":"#/components/schemas/ReviewedSessionAllocation"}},"counters":{"anyOf":[{"type":"array","items":{"$ref":"#/components/schemas/SessionCounter"}},{"type":"null"}]},"observation":{"anyOf":[{"$ref":"#/components/schemas/SessionCanonicalObservation"},{"type":"null"}]},"reservationsReleased":{"type":"boolean"},"executionAuthority":{"type":"boolean","const":false},"balanceSource":{"type":"string","const":"onchain-only"},"atomicAcrossChains":{"type":"boolean","const":false}},"required":["sessionId","state","allocationManifestHash","approvedGroups","localAllocations","counters","observation","reservationsReleased","executionAuthority","balanceSource","atomicAcrossChains"],"additionalProperties":false,"description":"Approved allocations and observed policy counters. This is not a spendable database balance or a cross-chain atomic budget."},"UserOperationSessionBinding":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/ResourceId"},"policyHash":{"$ref":"#/components/schemas/Hash"},"compiledHash":{"$ref":"#/components/schemas/Hash"},"generation":{"$ref":"#/components/schemas/PositiveUint256"},"grantId":{"$ref":"#/components/schemas/ResourceId"},"permissionId":{"$ref":"#/components/schemas/Hash"},"sessionKey":{"$ref":"#/components/schemas/Address"},"observationHash":{"$ref":"#/components/schemas/Hash"}},"required":["id","policyHash","compiledHash","generation","grantId","permissionId","sessionKey","observationHash"],"additionalProperties":false},"UserOperationCapabilities":{"type":"object","properties":{"transport":{"type":"string","const":"eip4337-user-operation"},"version":{"type":"string","const":"0.7"},"providers":{"type":"array","items":{"type":"object","properties":{"chainId":{"type":"integer","minimum":1,"maximum":9007199254740991},"providerId":{"type":"string"},"entryPoint":{"$ref":"#/components/schemas/Address"},"version":{"type":"string","const":"0.7"},"paymasterConfigured":{"type":"boolean"}},"required":["chainId","providerId","entryPoint","version","paymasterConfigured"],"additionalProperties":false}},"preparation":{"type":"boolean"},"relay":{"type":"boolean"},"privateKeysStored":{"type":"boolean","const":false},"automaticResubmission":{"type":"boolean","const":false},"sessionMaximumCallsPerOperation":{"type":"integer","const":1},"ownerMaximumCallsPerOperation":{"type":"integer","const":16},"freshOwnerApprovalOutsideSession":{"type":"boolean","const":true},"activationRequirements":{"type":"array","items":{"type":"string"}}},"required":["transport","version","providers","preparation","relay","privateKeysStored","automaticResubmission","sessionMaximumCallsPerOperation","ownerMaximumCallsPerOperation","freshOwnerApprovalOutsideSession","activationRequirements"],"additionalProperties":false},"PrepareUserOperation":{"oneOf":[{"type":"object","properties":{"planId":{"$ref":"#/components/schemas/ResourceId"},"stepIndexes":{"type":"array","items":{"type":"integer","minimum":0,"maximum":31},"minItems":1,"maxItems":16,"uniqueItems":true},"sessionId":{"$ref":"#/components/schemas/ResourceId"},"sponsorAuthorization":{"type":"string","minLength":1,"maxLength":4096,"description":"Short-lived server-issued application sponsorship voucher bound to this principal and idempotency key, and to the plan by id and steps or by its exact calls and manifest. Not accepted with sessionId."}},"required":["planId","stepIndexes"],"additionalProperties":false,"allOf":[{"if":{"required":["sessionId"]},"then":{"properties":{"stepIndexes":{"maxItems":1}}}}],"description":"Use the creating principal of a durable smart-account plan. Indices must increase in original order. Omit `sessionId` for current Safe-owner threshold signing; a bound bot supplies `sessionId` for one approved action."},{"type":"object","properties":{"plan":{"type":"object","properties":{"bindingId":{"$ref":"#/components/schemas/Hash"},"operation":{"type":"string","minLength":1,"maxLength":128},"input":{},"idempotencyKey":{"type":"string","pattern":"^[A-Za-z0-9:_-]{1,128}$"}},"required":["bindingId","operation","input","idempotencyKey"],"additionalProperties":false,"description":"A smart-account plan created here, idempotent on its own key, exactly as POST /smart-accounts/bindings/{id}/plans would."},"sponsorAuthorization":{"type":"string","minLength":1,"maxLength":4096,"description":"A voucher bound to the plan's exact calls and manifest."}},"required":["plan","sponsorAuthorization"],"additionalProperties":false,"description":"One call for a sponsored payment: the plan and the operation over every one of its steps. When the voucher does not cover the plan built, the answer carries the plan alone with `sponsorship: refused`."}]},"SponsoredPaymentPreparation":{"type":"object","properties":{"plan":{"$ref":"#/components/schemas/Plan"},"operation":{"$ref":"#/components/schemas/UserOperation"},"sponsorship":{"type":"string","enum":["accepted","refused"]}},"required":["plan","sponsorship"],"additionalProperties":false,"description":"The plan, and the operation when the sponsorship covered it."},"UserOperationV07":{"type":"object","properties":{"sender":{"$ref":"#/components/schemas/Address"},"nonce":{"type":"string","pattern":"^0x(?:0|[1-9a-f][0-9a-f]{0,63})$","description":"Canonical lowercase hexadecimal RPC quantity, with no leading zeros."},"factory":{"$ref":"#/components/schemas/Address"},"factoryData":{"$ref":"#/components/schemas/HexBytes"},"callData":{"$ref":"#/components/schemas/HexBytes","maxLength":131074},"callGasLimit":{"type":"string","pattern":"^0x(?:0|[1-9a-f][0-9a-f]{0,31})$","description":"Canonical lowercase hexadecimal RPC quantity, with no leading zeros."},"verificationGasLimit":{"type":"string","pattern":"^0x(?:0|[1-9a-f][0-9a-f]{0,31})$","description":"Canonical lowercase hexadecimal RPC quantity, with no leading zeros."},"preVerificationGas":{"type":"string","pattern":"^0x(?:0|[1-9a-f][0-9a-f]{0,63})$","description":"Canonical lowercase hexadecimal RPC quantity, with no leading zeros."},"maxFeePerGas":{"type":"string","pattern":"^0x(?:0|[1-9a-f][0-9a-f]{0,31})$","description":"Canonical lowercase hexadecimal RPC quantity, with no leading zeros."},"maxPriorityFeePerGas":{"type":"string","pattern":"^0x(?:0|[1-9a-f][0-9a-f]{0,31})$","description":"Canonical lowercase hexadecimal RPC quantity, with no leading zeros."},"paymaster":{"$ref":"#/components/schemas/Address"},"paymasterVerificationGasLimit":{"type":"string","pattern":"^0x(?:0|[1-9a-f][0-9a-f]{0,31})$","description":"Canonical lowercase hexadecimal RPC quantity, with no leading zeros."},"paymasterPostOpGasLimit":{"type":"string","pattern":"^0x(?:0|[1-9a-f][0-9a-f]{0,31})$","description":"Canonical lowercase hexadecimal RPC quantity, with no leading zeros."},"paymasterData":{"$ref":"#/components/schemas/HexBytes"},"signature":{"type":"string","const":"0x","description":"Public preparations and reads always omit submitted account signature bytes."}},"required":["sender","nonce","callData","callGasLimit","verificationGasLimit","preVerificationGas","maxFeePerGas","maxPriorityFeePerGas","signature"],"additionalProperties":false,"dependentRequired":{"factory":["factoryData"],"factoryData":["factory"],"paymaster":["paymasterVerificationGasLimit","paymasterPostOpGasLimit","paymasterData"],"paymasterVerificationGasLimit":["paymaster"],"paymasterPostOpGasLimit":["paymaster"],"paymasterData":["paymaster"]},"description":"Unpacked EntryPoint v0.7 operation. RPC integers are hexadecimal quantities; reviewed policy amounts use decimal strings. No v0.8 or EIP-7702 extensions."},"SafeOwnerUserOperationSigning":{"type":"object","properties":{"scheme":{"type":"string","const":"eip712-safe7579-owner"},"digest":{"$ref":"#/components/schemas/Hash"},"validAfter":{"type":"string","pattern":"^(?:0|281474976710655|[1-9][0-9]{0,13}|1[0-9]{14}|2[0-7][0-9]{13}|280[0-9]{12}|281[0-3][0-9]{11}|2814[0-6][0-9]{10}|28147[0-3][0-9]{9}|281474[0-8][0-9]{8}|2814749[0-6][0-9]{7}|28147497[0-5][0-9]{6}|281474976[0-6][0-9]{5}|28147497670[0-9]{4}|281474976710[0-5][0-9]{2}|2814749767106[0-4][0-9]{1}|28147497671065[0-4][0-9]{0})$","description":"Exact nonnegative decimal string no greater than 281474976710655."},"validUntil":{"type":"string","pattern":"^(?:0|281474976710655|[1-9][0-9]{0,13}|1[0-9]{14}|2[0-7][0-9]{13}|280[0-9]{12}|281[0-3][0-9]{11}|2814[0-6][0-9]{10}|28147[0-3][0-9]{9}|281474[0-8][0-9]{8}|2814749[0-6][0-9]{7}|28147497[0-5][0-9]{6}|281474976[0-6][0-9]{5}|28147497670[0-9]{4}|281474976710[0-5][0-9]{2}|2814749767106[0-4][0-9]{1}|28147497671065[0-4][0-9]{0})$","description":"Exact nonnegative decimal string no greater than 281474976710655."},"typedData":{"type":"object","properties":{"domain":{"type":"object","properties":{"chainId":{"type":"integer","minimum":1,"maximum":9007199254740991},"verifyingContract":{"$ref":"#/components/schemas/Address"}},"required":["chainId","verifyingContract"],"additionalProperties":false},"types":{"type":"object","const":{"EIP712Domain":[{"name":"chainId","type":"uint256"},{"name":"verifyingContract","type":"address"}],"SafeOp":[{"name":"safe","type":"address"},{"name":"nonce","type":"uint256"},{"name":"initCode","type":"bytes"},{"name":"callData","type":"bytes"},{"name":"verificationGasLimit","type":"uint128"},{"name":"callGasLimit","type":"uint128"},{"name":"preVerificationGas","type":"uint256"},{"name":"maxPriorityFeePerGas","type":"uint128"},{"name":"maxFeePerGas","type":"uint128"},{"name":"paymasterAndData","type":"bytes"},{"name":"validAfter","type":"uint48"},{"name":"validUntil","type":"uint48"},{"name":"entryPoint","type":"address"}]}},"primaryType":{"type":"string","const":"SafeOp"},"message":{"type":"object","properties":{"safe":{"$ref":"#/components/schemas/Address"},"nonce":{"$ref":"#/components/schemas/Uint256"},"initCode":{"$ref":"#/components/schemas/HexBytes"},"callData":{"$ref":"#/components/schemas/HexBytes"},"verificationGasLimit":{"$ref":"#/components/schemas/Uint256"},"callGasLimit":{"$ref":"#/components/schemas/Uint256"},"preVerificationGas":{"$ref":"#/components/schemas/Uint256"},"maxPriorityFeePerGas":{"$ref":"#/components/schemas/Uint256"},"maxFeePerGas":{"$ref":"#/components/schemas/Uint256"},"paymasterAndData":{"$ref":"#/components/schemas/HexBytes"},"validAfter":{"type":"string","pattern":"^(?:0|281474976710655|[1-9][0-9]{0,13}|1[0-9]{14}|2[0-7][0-9]{13}|280[0-9]{12}|281[0-3][0-9]{11}|2814[0-6][0-9]{10}|28147[0-3][0-9]{9}|281474[0-8][0-9]{8}|2814749[0-6][0-9]{7}|28147497[0-5][0-9]{6}|281474976[0-6][0-9]{5}|28147497670[0-9]{4}|281474976710[0-5][0-9]{2}|2814749767106[0-4][0-9]{1}|28147497671065[0-4][0-9]{0})$","description":"Exact nonnegative decimal string no greater than 281474976710655."},"validUntil":{"type":"string","pattern":"^(?:0|281474976710655|[1-9][0-9]{0,13}|1[0-9]{14}|2[0-7][0-9]{13}|280[0-9]{12}|281[0-3][0-9]{11}|2814[0-6][0-9]{10}|28147[0-3][0-9]{9}|281474[0-8][0-9]{8}|2814749[0-6][0-9]{7}|28147497[0-5][0-9]{6}|281474976[0-6][0-9]{5}|28147497670[0-9]{4}|281474976710[0-5][0-9]{2}|2814749767106[0-4][0-9]{1}|28147497671065[0-4][0-9]{0})$","description":"Exact nonnegative decimal string no greater than 281474976710655."},"entryPoint":{"$ref":"#/components/schemas/Address"}},"required":["safe","nonce","initCode","callData","verificationGasLimit","callGasLimit","preVerificationGas","maxPriorityFeePerGas","maxFeePerGas","paymasterAndData","validAfter","validUntil","entryPoint"],"additionalProperties":false}},"required":["domain","types","primaryType","message"],"additionalProperties":false}},"required":["scheme","digest","validAfter","validUntil","typedData"],"additionalProperties":false},"PasskeyOwnerUserOperationSigning":{"type":"object","properties":{"scheme":{"type":"string","const":"eip712-safe7579-owner"},"digest":{"$ref":"#/components/schemas/Hash"},"validAfter":{"type":"string","pattern":"^(?:0|281474976710655|[1-9][0-9]{0,13}|1[0-9]{14}|2[0-7][0-9]{13}|280[0-9]{12}|281[0-3][0-9]{11}|2814[0-6][0-9]{10}|28147[0-3][0-9]{9}|281474[0-8][0-9]{8}|2814749[0-6][0-9]{7}|28147497[0-5][0-9]{6}|281474976[0-6][0-9]{5}|28147497670[0-9]{4}|281474976710[0-5][0-9]{2}|2814749767106[0-4][0-9]{1}|28147497671065[0-4][0-9]{0})$","description":"Exact nonnegative decimal string no greater than 281474976710655."},"validUntil":{"type":"string","pattern":"^(?:0|281474976710655|[1-9][0-9]{0,13}|1[0-9]{14}|2[0-7][0-9]{13}|280[0-9]{12}|281[0-3][0-9]{11}|2814[0-6][0-9]{10}|28147[0-3][0-9]{9}|281474[0-8][0-9]{8}|2814749[0-6][0-9]{7}|28147497[0-5][0-9]{6}|281474976[0-6][0-9]{5}|28147497670[0-9]{4}|281474976710[0-5][0-9]{2}|2814749767106[0-4][0-9]{1}|28147497671065[0-4][0-9]{0})$","description":"Exact nonnegative decimal string no greater than 281474976710655."},"typedData":{"type":"object","properties":{"domain":{"type":"object","properties":{"chainId":{"type":"integer","minimum":1,"maximum":9007199254740991},"verifyingContract":{"$ref":"#/components/schemas/Address"}},"required":["chainId","verifyingContract"],"additionalProperties":false},"types":{"type":"object","const":{"EIP712Domain":[{"name":"chainId","type":"uint256"},{"name":"verifyingContract","type":"address"}],"SafeOp":[{"name":"safe","type":"address"},{"name":"nonce","type":"uint256"},{"name":"initCode","type":"bytes"},{"name":"callData","type":"bytes"},{"name":"verificationGasLimit","type":"uint128"},{"name":"callGasLimit","type":"uint128"},{"name":"preVerificationGas","type":"uint256"},{"name":"maxPriorityFeePerGas","type":"uint128"},{"name":"maxFeePerGas","type":"uint128"},{"name":"paymasterAndData","type":"bytes"},{"name":"validAfter","type":"uint48"},{"name":"validUntil","type":"uint48"},{"name":"entryPoint","type":"address"}]}},"primaryType":{"type":"string","const":"SafeOp"},"message":{"type":"object","properties":{"safe":{"$ref":"#/components/schemas/Address"},"nonce":{"$ref":"#/components/schemas/Uint256"},"initCode":{"$ref":"#/components/schemas/HexBytes"},"callData":{"$ref":"#/components/schemas/HexBytes"},"verificationGasLimit":{"$ref":"#/components/schemas/Uint256"},"callGasLimit":{"$ref":"#/components/schemas/Uint256"},"preVerificationGas":{"$ref":"#/components/schemas/Uint256"},"maxPriorityFeePerGas":{"$ref":"#/components/schemas/Uint256"},"maxFeePerGas":{"$ref":"#/components/schemas/Uint256"},"paymasterAndData":{"$ref":"#/components/schemas/HexBytes"},"validAfter":{"type":"string","pattern":"^(?:0|281474976710655|[1-9][0-9]{0,13}|1[0-9]{14}|2[0-7][0-9]{13}|280[0-9]{12}|281[0-3][0-9]{11}|2814[0-6][0-9]{10}|28147[0-3][0-9]{9}|281474[0-8][0-9]{8}|2814749[0-6][0-9]{7}|28147497[0-5][0-9]{6}|281474976[0-6][0-9]{5}|28147497670[0-9]{4}|281474976710[0-5][0-9]{2}|2814749767106[0-4][0-9]{1}|28147497671065[0-4][0-9]{0})$","description":"Exact nonnegative decimal string no greater than 281474976710655."},"validUntil":{"type":"string","pattern":"^(?:0|281474976710655|[1-9][0-9]{0,13}|1[0-9]{14}|2[0-7][0-9]{13}|280[0-9]{12}|281[0-3][0-9]{11}|2814[0-6][0-9]{10}|28147[0-3][0-9]{9}|281474[0-8][0-9]{8}|2814749[0-6][0-9]{7}|28147497[0-5][0-9]{6}|281474976[0-6][0-9]{5}|28147497670[0-9]{4}|281474976710[0-5][0-9]{2}|2814749767106[0-4][0-9]{1}|28147497671065[0-4][0-9]{0})$","description":"Exact nonnegative decimal string no greater than 281474976710655."},"entryPoint":{"$ref":"#/components/schemas/Address"}},"required":["safe","nonce","initCode","callData","verificationGasLimit","callGasLimit","preVerificationGas","maxPriorityFeePerGas","maxFeePerGas","paymasterAndData","validAfter","validUntil","entryPoint"],"additionalProperties":false}},"required":["domain","types","primaryType","message"],"additionalProperties":false},"ownerProfile":{"type":"string","const":"center-passkey-v1"},"signedData":{"type":"string","pattern":"^0x1901[0-9a-fA-F]{128}$","description":"Exact 66-byte SafeOp EIP-712 preimage supplied to the Safe contract owner's legacy bytes selector; its keccak256 is digest."}},"required":["scheme","digest","validAfter","validUntil","typedData","ownerProfile","signedData"],"additionalProperties":false,"description":"Explicit opt-in owner signature encoding. This field does not establish a production deployment, configured provider, or successful execution. Passkey contract bodies are bounded to 2,240 bytes and complete owner envelopes to 2,349 bytes; the independent recovery EOA can sign the same digest."},"SessionUserOperationSigning":{"type":"object","properties":{"scheme":{"type":"string","const":"eip191-legacy-ownable-user-operation"},"operationHash":{"$ref":"#/components/schemas/Hash"},"digest":{"$ref":"#/components/schemas/Hash"},"message":{"type":"object","properties":{"raw":{"$ref":"#/components/schemas/Hash"}},"required":["raw"],"additionalProperties":false},"permissionId":{"$ref":"#/components/schemas/Hash"},"signaturePrefix":{"type":"string","pattern":"^0x00[0-9a-fA-F]{64}$"}},"required":["scheme","operationHash","digest","message","permissionId","signaturePrefix"],"additionalProperties":false},"SubmitUserOperation":{"type":"object","properties":{"signature":{"type":"string","pattern":"^0x(?:[0-9a-fA-F]{2}){1,16384}$","description":"Complete account signature envelope for the exact prepared operation. Owner mode wraps sorted threshold SafeOp signatures and validity bounds. Session mode wraps the installed bot key's EIP-191 signature using the returned permission prefix."}},"required":["signature"],"additionalProperties":false},"UserOperationObservation":{"type":"object","properties":{"state":{"type":"string","enum":["pending","unknown","confirming","confirmed","reverted","expired"]},"operationHash":{"$ref":"#/components/schemas/Hash"},"transactionHash":{"$ref":"#/components/schemas/Hash"},"receipt":{"$ref":"#/components/schemas/TransactionReceipt"},"scopedLogs":{"type":"array","items":{"$ref":"#/components/schemas/JsonValue"}},"semantic":{"$ref":"#/components/schemas/SemanticResult"},"reason":{"type":"string"},"payFailure":{"$ref":"#/components/schemas/PayFailure"}},"required":["state","operationHash"],"additionalProperties":false},"UserOperation":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/ResourceId"},"planId":{"$ref":"#/components/schemas/ResourceId"},"planCommitment":{"$ref":"#/components/schemas/Hash"},"stepIndexes":{"type":"array","items":{"type":"integer","minimum":0,"maximum":31},"minItems":1,"maxItems":16,"uniqueItems":true},"chainId":{"type":"integer","minimum":1,"maximum":9007199254740991},"entryPoint":{"$ref":"#/components/schemas/Address"},"operation":{"$ref":"#/components/schemas/UserOperationV07"},"operationHash":{"$ref":"#/components/schemas/Hash"},"commitment":{"$ref":"#/components/schemas/Hash"},"accountBindingId":{"$ref":"#/components/schemas/Hash"},"accountStateHash":{"$ref":"#/components/schemas/Hash"},"session":{"$ref":"#/components/schemas/UserOperationSessionBinding"},"gasPolicyId":{"type":"string"},"providerId":{"type":"string"},"createdAt":{"$ref":"#/components/schemas/UnixMilliseconds"},"expiresAt":{"$ref":"#/components/schemas/UnixMilliseconds"},"revision":{"type":"integer","minimum":0,"maximum":9007199254740991},"state":{"type":"string","enum":["prepared","submitting","submission_unknown","pending","unknown","confirming","confirmed","reverted","expired","retired"]},"signing":{"oneOf":[{"$ref":"#/components/schemas/SafeOwnerUserOperationSigning"},{"$ref":"#/components/schemas/PasskeyOwnerUserOperationSigning"},{"$ref":"#/components/schemas/SessionUserOperationSigning"}]},"submission":{"type":"object","properties":{"commitment":{"$ref":"#/components/schemas/Hash"},"startedAt":{"$ref":"#/components/schemas/UnixMilliseconds"}},"required":["commitment","startedAt"],"additionalProperties":false},"observation":{"$ref":"#/components/schemas/UserOperationObservation"}},"required":["id","planId","planCommitment","stepIndexes","chainId","entryPoint","operation","operationHash","commitment","accountBindingId","accountStateHash","gasPolicyId","providerId","createdAt","expiresAt","revision","state","signing"],"additionalProperties":false},"PrepareWalletPaymentReview":{"type":"object","properties":{"operationId":{"$ref":"#/components/schemas/ResourceId"},"state":{"type":"string","pattern":"^[A-Za-z0-9_-]{43}$","description":"Canonical base64url encoding of 32 random bytes retained by the initiating app."},"id":{"$ref":"#/components/schemas/ResourceId"}},"required":["operationId","state"],"additionalProperties":false},"WalletPaymentReview":{"type":"object","properties":{"version":{"type":"string","const":"center-wallet-payment-review-v1"},"id":{"$ref":"#/components/schemas/ResourceId"},"state":{"type":"string","pattern":"^[A-Za-z0-9_-]{43}$","description":"Canonical base64url encoding of 32 random bytes retained by the initiating app."},"issuer":{"type":"string","format":"uri"},"accountId":{"$ref":"#/components/schemas/AccountId"},"app":{"type":"object","properties":{"origin":{"type":"string","format":"uri"},"callbackUri":{"type":"string","format":"uri"},"grantId":{"$ref":"#/components/schemas/ResourceId"},"grantIncarnation":{"$ref":"#/components/schemas/PositiveUint256"}},"required":["origin","callbackUri","grantId","grantIncarnation"],"additionalProperties":false},"planId":{"$ref":"#/components/schemas/ResourceId"},"planCommitment":{"$ref":"#/components/schemas/Hash"},"operationId":{"$ref":"#/components/schemas/ResourceId"},"operationCommitment":{"$ref":"#/components/schemas/Hash"},"operationHash":{"$ref":"#/components/schemas/Hash"},"stepIndexes":{"type":"array","items":{"type":"integer","minimum":0,"maximum":31},"minItems":1,"maxItems":3,"uniqueItems":true},"operation":{"$ref":"#/components/schemas/UserOperationV07"},"chainId":{"type":"integer","const":8453},"entryPoint":{"$ref":"#/components/schemas/Address"},"safe7579":{"$ref":"#/components/schemas/Address"},"payment":{"type":"object","properties":{"kind":{"const":"v6-usdc-pay","type":"string"},"chainId":{"const":8453,"type":"integer"},"account":{"$ref":"#/components/schemas/Address"},"token":{"$ref":"#/components/schemas/Address"},"terminal":{"$ref":"#/components/schemas/Address"},"projectId":{"$ref":"#/components/schemas/Uint256"},"amount":{"$ref":"#/components/schemas/PositiveUint256"},"beneficiary":{"$ref":"#/components/schemas/Address"},"minimumReturnedTokens":{"$ref":"#/components/schemas/Uint256"},"memo":{"type":"string","maxLength":32768},"metadata":{"$ref":"#/components/schemas/HexBytes","description":"Empty (0x), or Juicebox hook metadata in the JBMetadataResolver format (for example prepareUserPay metadata with 721 tiers). The review page shows it through the SDK review decoder; entries it cannot name show as raw hook data under their id. minimumReturnedTokens is what the beneficiary must receive; a buyback minimum in the metadata covers the swap and mint before the reserved split, so it can be higher."},"stepIndexes":{"type":"array","items":{"type":"integer","minimum":0,"maximum":31},"minItems":1,"maxItems":3,"uniqueItems":true},"approvalStepIndexes":{"type":"array","items":{"type":"integer","minimum":0,"maximum":31},"minItems":0,"maxItems":2,"uniqueItems":true},"paymentStepIndex":{"type":"integer","minimum":0,"maximum":31},"resetAllowance":{"type":"boolean"}},"required":["kind","chainId","account","token","terminal","projectId","amount","beneficiary","minimumReturnedTokens","memo","metadata","stepIndexes","approvalStepIndexes","paymentStepIndex","resetAllowance"],"additionalProperties":false},"signing":{"type":"object","properties":{"digest":{"$ref":"#/components/schemas/Hash"},"signedData":{"$ref":"#/components/schemas/HexBytes"},"validAfter":{"$ref":"#/components/schemas/Uint256"},"validUntil":{"$ref":"#/components/schemas/Uint256"}},"required":["digest","signedData","validAfter","validUntil"],"additionalProperties":false},"createdAtMs":{"type":"integer","minimum":0,"maximum":9007199254740991},"expiresAtMs":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["pending","approved","cancelled"]},"approvedAtMs":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"cancelledAtMs":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"operationState":{"type":"string"}},"required":["version","id","state","issuer","accountId","app","planId","planCommitment","operationId","operationCommitment","operationHash","stepIndexes","operation","chainId","entryPoint","safe7579","payment","signing","createdAtMs","expiresAtMs","status","approvedAtMs","cancelledAtMs","operationState"],"additionalProperties":false},"WalletPaymentAppReview":{"type":"object","properties":{"version":{"type":"string","const":"center-wallet-payment-review-v1"},"id":{"$ref":"#/components/schemas/ResourceId"},"state":{"type":"string","pattern":"^[A-Za-z0-9_-]{43}$","description":"Canonical base64url encoding of 32 random bytes retained by the initiating app."},"issuer":{"type":"string","format":"uri"},"accountId":{"$ref":"#/components/schemas/AccountId"},"app":{"type":"object","properties":{"origin":{"type":"string","format":"uri"},"callbackUri":{"type":"string","format":"uri"},"grantId":{"$ref":"#/components/schemas/ResourceId"},"grantIncarnation":{"$ref":"#/components/schemas/PositiveUint256"}},"required":["origin","callbackUri","grantId","grantIncarnation"],"additionalProperties":false},"planId":{"$ref":"#/components/schemas/ResourceId"},"planCommitment":{"$ref":"#/components/schemas/Hash"},"operationId":{"$ref":"#/components/schemas/ResourceId"},"operationCommitment":{"$ref":"#/components/schemas/Hash"},"operationHash":{"$ref":"#/components/schemas/Hash"},"stepIndexes":{"type":"array","items":{"type":"integer","minimum":0,"maximum":31},"minItems":1,"maxItems":3,"uniqueItems":true},"operation":{"$ref":"#/components/schemas/UserOperationV07"},"chainId":{"type":"integer","const":8453},"entryPoint":{"$ref":"#/components/schemas/Address"},"safe7579":{"$ref":"#/components/schemas/Address"},"payment":{"type":"object","properties":{"kind":{"const":"v6-usdc-pay","type":"string"},"chainId":{"const":8453,"type":"integer"},"account":{"$ref":"#/components/schemas/Address"},"token":{"$ref":"#/components/schemas/Address"},"terminal":{"$ref":"#/components/schemas/Address"},"projectId":{"$ref":"#/components/schemas/Uint256"},"amount":{"$ref":"#/components/schemas/PositiveUint256"},"beneficiary":{"$ref":"#/components/schemas/Address"},"minimumReturnedTokens":{"$ref":"#/components/schemas/Uint256"},"memo":{"type":"string","maxLength":32768},"metadata":{"$ref":"#/components/schemas/HexBytes","description":"Empty (0x), or Juicebox hook metadata in the JBMetadataResolver format (for example prepareUserPay metadata with 721 tiers). The review page shows it through the SDK review decoder; entries it cannot name show as raw hook data under their id. minimumReturnedTokens is what the beneficiary must receive; a buyback minimum in the metadata covers the swap and mint before the reserved split, so it can be higher."},"stepIndexes":{"type":"array","items":{"type":"integer","minimum":0,"maximum":31},"minItems":1,"maxItems":3,"uniqueItems":true},"approvalStepIndexes":{"type":"array","items":{"type":"integer","minimum":0,"maximum":31},"minItems":0,"maxItems":2,"uniqueItems":true},"paymentStepIndex":{"type":"integer","minimum":0,"maximum":31},"resetAllowance":{"type":"boolean"}},"required":["kind","chainId","account","token","terminal","projectId","amount","beneficiary","minimumReturnedTokens","memo","metadata","stepIndexes","approvalStepIndexes","paymentStepIndex","resetAllowance"],"additionalProperties":false},"signing":{"type":"object","properties":{"digest":{"$ref":"#/components/schemas/Hash"},"signedData":{"$ref":"#/components/schemas/HexBytes"},"validAfter":{"$ref":"#/components/schemas/Uint256"},"validUntil":{"$ref":"#/components/schemas/Uint256"}},"required":["digest","signedData","validAfter","validUntil"],"additionalProperties":false},"createdAtMs":{"type":"integer","minimum":0,"maximum":9007199254740991},"expiresAtMs":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["pending","approved","cancelled"]},"approvedAtMs":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"cancelledAtMs":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"operationState":{"type":"string"},"approval":{"anyOf":[{"type":"object","properties":{"signature":{"$ref":"#/components/schemas/HexBytes"},"signedCommitment":{"$ref":"#/components/schemas/Hash"}},"required":["signature","signedCommitment"],"additionalProperties":false},{"type":"null"}]}},"required":["version","id","state","issuer","accountId","app","planId","planCommitment","operationId","operationCommitment","operationHash","stepIndexes","operation","chainId","entryPoint","safe7579","payment","signing","createdAtMs","expiresAtMs","status","approvedAtMs","cancelledAtMs","operationState","approval"],"additionalProperties":false},"OperationInput_prepare_pay":{"type":"object","properties":{"memo":{"type":"string"},"project":{"type":"object","properties":{"chainId":{"anyOf":[{"type":"number","const":1},{"type":"number","const":10},{"type":"number","const":8453},{"type":"number","const":42161},{"type":"number","const":11155111},{"type":"number","const":11155420},{"type":"number","const":84532},{"type":"number","const":421614}]},"projectId":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"version":{"default":6,"type":"number","const":6}},"required":["chainId","projectId"],"additionalProperties":false},"account":{"type":"string"},"token":{"description":"Token address; native ETH is 0x000000000000000000000000000000000000EEEe.","type":"string"},"amount":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$","description":"Input asset amount in its smallest units, as an exact integer string."},"beneficiary":{"type":"string"},"slippageBps":{"default":100,"description":"Slippage in basis points, 0–4950. Default 100. Raise it only within what the payer accepts, such as a payFailure's retrySlippageBps.","type":"integer","minimum":0,"maximum":4950},"minReturnedTokens":{"description":"Explicit minimum project tokens for the beneficiary, in 18-decimal base units, replacing beneficiaryTokenCount less slippageBps. To accept 2% below the fill, take the quote's simulatedBeneficiaryTokenCount less 2%. A warning names a figure above the simulated fill. jb_prepare_pay requires it when the default would protect nothing (PAY_MINIMUM_PROTECTS_NOTHING) or sits above the simulated fill (PAY_DEFAULT_MINIMUM_ABOVE_FILL). \"0\" accepts receiving no project tokens.","type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"metadata":{"type":"string","maxLength":262146,"pattern":"^0x(?:[a-fA-F0-9]{2})*$"},"skipSplits":{"description":"Buyback 1.4 only. Unset means on wherever the project's buyback hook is 1.4 and no metadata is given, as the apps pay: the hook buys from the pool when that beats the payer's share of a mint, and the tokens it buys go to the beneficiary without the reserved split (they already exist, so nothing is issued for them and the split gets none). Minting still pays the split. The default minimum is then the SDK's (prepareUserPay): with a pool quote, the beneficiary's part of the floored quote, which the hook also enforces. Pass false when the payment should honor the project's splits, such as routing fees or revenue into a project. Where it cannot apply (no buyback hook, hook 1.0 or 1.1.1, the caller's own metadata) unset means off, and an explicit true is refused. The quote's skipSplits says which applied and why.","type":"boolean"}},"required":["project","account","token","amount","beneficiary"],"additionalProperties":false},"OperationInput_prepare_cash_out":{"type":"object","properties":{"project":{"type":"object","properties":{"chainId":{"anyOf":[{"type":"number","const":1},{"type":"number","const":10},{"type":"number","const":8453},{"type":"number","const":42161},{"type":"number","const":11155111},{"type":"number","const":11155420},{"type":"number","const":84532},{"type":"number","const":421614}]},"projectId":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"version":{"default":6,"type":"number","const":6}},"required":["chainId","projectId"],"additionalProperties":false},"holder":{"type":"string"},"cashOutCount":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$","description":"Project token count in 18-decimal base units."},"tokenToReclaim":{"description":"Token address; native ETH is 0x000000000000000000000000000000000000EEEe.","type":"string"},"beneficiary":{"type":"string"},"account":{"type":"string"},"slippageBps":{"default":100,"description":"Slippage in basis points, 0–1000. Default 100 (1%).","type":"integer","minimum":0,"maximum":1000},"terminal":{"type":"string"}},"required":["project","holder","cashOutCount","tokenToReclaim","beneficiary","account"],"additionalProperties":false},"OperationInput_prepare_payout":{"type":"object","properties":{"project":{"type":"object","properties":{"chainId":{"anyOf":[{"type":"number","const":1},{"type":"number","const":10},{"type":"number","const":8453},{"type":"number","const":42161},{"type":"number","const":11155111},{"type":"number","const":11155420},{"type":"number","const":84532},{"type":"number","const":421614}]},"projectId":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"version":{"default":6,"type":"number","const":6}},"required":["chainId","projectId"],"additionalProperties":false},"account":{"type":"string"},"token":{"description":"Token address; native ETH is 0x000000000000000000000000000000000000EEEe.","type":"string"},"amount":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$","description":"Payout amount in accounting token decimals, denominated in currency."},"currency":{"type":"integer","minimum":1,"maximum":4294967295,"description":"Currency that amount is in; it must match a payout limit currency. JB currency ID: uint32(uint160(token)) for a token (native ETH is 0x000000000000000000000000000000000000EEEe, currency 61166), or 1 = ETH and 2 = USD."},"slippageBps":{"default":100,"description":"Slippage in basis points, 0–1000. Default 100 (1%).","type":"integer","minimum":0,"maximum":1000},"terminal":{"type":"string"}},"required":["project","account","token","amount","currency"],"additionalProperties":false},"OperationInput_prepare_ruleset_change":{"type":"object","properties":{"project":{"type":"object","properties":{"chainId":{"anyOf":[{"type":"number","const":1},{"type":"number","const":10},{"type":"number","const":8453},{"type":"number","const":42161},{"type":"number","const":11155111},{"type":"number","const":11155420},{"type":"number","const":84532},{"type":"number","const":421614}]},"projectId":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"version":{"default":6,"type":"number","const":6}},"required":["chainId","projectId"],"additionalProperties":false},"account":{"type":"string"},"rulesetConfigurations":{"minItems":1,"maxItems":16,"type":"array","items":{"type":"object","properties":{"mustStartAtOrAfter":{"description":"Unix seconds. A lower bound, not a promised start; 0 asks the contract to resolve timing.","anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]},"duration":{"description":"Seconds per cycle. Zero has no automatic cycles.","anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]},"weight":{"description":"Tokens issued per one unit of baseCurrency, with 18 decimals: 1000000000000000000000 = 1,000 tokens. 0 means zero issuance; 1 inherits decayed weight when a prior ruleset exists.","type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"weightCutPercent":{"description":"Issuance cut applied each cycle, out of 1,000,000,000. 100,000,000 = 10%.","anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]},"approvalHook":{"description":"Gates the next ruleset, not this ruleset.","type":"string"},"metadata":{"type":"object","properties":{"reservedPercent":{"description":"Share of new tokens reserved for splits, out of 10,000. 2500 = 25%.","anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]},"cashOutTaxRate":{"description":"Cash-out tax out of 10,000. 0 = no tax; 10,000 = cash outs return nothing.","anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]},"baseCurrency":{"description":"Currency that issuance is priced in: 1 = ETH, 2 = USD. Use 1 for ETH, not 61166 (native ETH's accounting currency). A token's own currency, uint32(uint160(token)), applies only when payments come in that token or JBPrices has a feed for it.","anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]},"pausePay":{"type":"boolean"},"pauseCreditTransfers":{"type":"boolean"},"allowOwnerMinting":{"type":"boolean"},"allowSetCustomToken":{"type":"boolean"},"allowTerminalMigration":{"type":"boolean"},"allowSetTerminals":{"type":"boolean"},"allowSetController":{"type":"boolean"},"allowAddAccountingContext":{"type":"boolean"},"allowAddPriceFeed":{"type":"boolean"},"ownerMustSendPayouts":{"type":"boolean"},"holdFees":{"type":"boolean"},"scopeCashOutsToLocalBalances":{"type":"boolean","description":"false: cash outs count every chain's supply and surplus (through the suckers). true: only this chain's. Recommended: false, which is what revnet.money sends."},"useDataHookForPay":{"type":"boolean"},"useDataHookForCashOut":{"type":"boolean"},"dataHook":{"type":"string"},"metadata":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]}},"required":["reservedPercent","cashOutTaxRate","baseCurrency","pausePay","pauseCreditTransfers","allowOwnerMinting","allowSetCustomToken","allowTerminalMigration","allowSetTerminals","allowSetController","allowAddAccountingContext","allowAddPriceFeed","ownerMustSendPayouts","holdFees","scopeCashOutsToLocalBalances","useDataHookForPay","useDataHookForCashOut","dataHook","metadata"],"additionalProperties":false},"splitGroups":{"maxItems":32,"type":"array","items":{"type":"object","properties":{"groupId":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$","description":"Payout splits: uint256(uint160(token)) as a decimal string (native ETH is 0x000000000000000000000000000000000000EEEe, group 61166). Reserved token splits: 1."},"splits":{"maxItems":32,"type":"array","items":{"type":"object","properties":{"percent":{"description":"Share of the split group, out of 1,000,000,000. 500,000,000 = 50%.","anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]},"projectId":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"beneficiary":{"type":"string"},"preferAddToBalance":{"type":"boolean"},"lockedUntil":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]},"hook":{"type":"string"}},"required":["percent","projectId","beneficiary","preferAddToBalance","lockedUntil","hook"],"additionalProperties":false}}},"required":["groupId","splits"],"additionalProperties":false}},"fundAccessLimitGroups":{"maxItems":32,"type":"array","items":{"type":"object","properties":{"terminal":{"type":"string"},"token":{"description":"Token address; native ETH is 0x000000000000000000000000000000000000EEEe.","type":"string"},"payoutLimits":{"maxItems":32,"type":"array","items":{"type":"object","properties":{"amount":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"currency":{"description":"JB currency ID: uint32(uint160(token)) for a token (native ETH is 0x000000000000000000000000000000000000EEEe, currency 61166), or 1 = ETH and 2 = USD.","anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]}},"required":["amount","currency"],"additionalProperties":false}},"surplusAllowances":{"maxItems":32,"type":"array","items":{"type":"object","properties":{"amount":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"currency":{"description":"JB currency ID: uint32(uint160(token)) for a token (native ETH is 0x000000000000000000000000000000000000EEEe, currency 61166), or 1 = ETH and 2 = USD.","anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]}},"required":["amount","currency"],"additionalProperties":false}}},"required":["terminal","token","payoutLimits","surplusAllowances"],"additionalProperties":false}}},"required":["mustStartAtOrAfter","duration","weight","weightCutPercent","approvalHook","metadata","splitGroups","fundAccessLimitGroups"],"additionalProperties":false}},"memo":{"type":"string","maxLength":4096}},"required":["project","account","rulesetConfigurations"],"additionalProperties":false},"OperationInput_prepare_launch":{"type":"object","properties":{"chainId":{"anyOf":[{"type":"number","const":1},{"type":"number","const":10},{"type":"number","const":8453},{"type":"number","const":42161},{"type":"number","const":11155111},{"type":"number","const":11155420},{"type":"number","const":84532},{"type":"number","const":421614}]},"account":{"type":"string"},"owner":{"type":"string"},"composition":{"type":"string","const":"core","description":"Explicit standard core launch. This does not deploy a 721 hook, revnet, or omnichain identity."},"projectUri":{"type":"string","maxLength":4096,"description":"Metadata URI; content is not fetched or treated as instructions."},"rulesetConfigurations":{"minItems":1,"maxItems":16,"type":"array","items":{"type":"object","properties":{"mustStartAtOrAfter":{"description":"Unix seconds. A lower bound, not a promised start; 0 asks the contract to resolve timing.","anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]},"duration":{"description":"Seconds per cycle. Zero has no automatic cycles.","anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]},"weight":{"description":"Tokens issued per one unit of baseCurrency, with 18 decimals: 1000000000000000000000 = 1,000 tokens. 0 means zero issuance; 1 inherits decayed weight when a prior ruleset exists.","type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"weightCutPercent":{"description":"Issuance cut applied each cycle, out of 1,000,000,000. 100,000,000 = 10%.","anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]},"approvalHook":{"description":"Gates the next ruleset, not this ruleset.","type":"string"},"metadata":{"type":"object","properties":{"reservedPercent":{"description":"Share of new tokens reserved for splits, out of 10,000. 2500 = 25%.","anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]},"cashOutTaxRate":{"description":"Cash-out tax out of 10,000. 0 = no tax; 10,000 = cash outs return nothing.","anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]},"baseCurrency":{"description":"Currency that issuance is priced in: 1 = ETH, 2 = USD. Use 1 for ETH, not 61166 (native ETH's accounting currency). A token's own currency, uint32(uint160(token)), applies only when payments come in that token or JBPrices has a feed for it.","anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]},"pausePay":{"type":"boolean"},"pauseCreditTransfers":{"type":"boolean"},"allowOwnerMinting":{"type":"boolean"},"allowSetCustomToken":{"type":"boolean"},"allowTerminalMigration":{"type":"boolean"},"allowSetTerminals":{"type":"boolean"},"allowSetController":{"type":"boolean"},"allowAddAccountingContext":{"type":"boolean"},"allowAddPriceFeed":{"type":"boolean"},"ownerMustSendPayouts":{"type":"boolean"},"holdFees":{"type":"boolean"},"scopeCashOutsToLocalBalances":{"type":"boolean","description":"false: cash outs count every chain's supply and surplus (through the suckers). true: only this chain's. Recommended: false, which is what revnet.money sends."},"useDataHookForPay":{"type":"boolean"},"useDataHookForCashOut":{"type":"boolean"},"dataHook":{"type":"string"},"metadata":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]}},"required":["reservedPercent","cashOutTaxRate","baseCurrency","pausePay","pauseCreditTransfers","allowOwnerMinting","allowSetCustomToken","allowTerminalMigration","allowSetTerminals","allowSetController","allowAddAccountingContext","allowAddPriceFeed","ownerMustSendPayouts","holdFees","scopeCashOutsToLocalBalances","useDataHookForPay","useDataHookForCashOut","dataHook","metadata"],"additionalProperties":false},"splitGroups":{"maxItems":32,"type":"array","items":{"type":"object","properties":{"groupId":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$","description":"Payout splits: uint256(uint160(token)) as a decimal string (native ETH is 0x000000000000000000000000000000000000EEEe, group 61166). Reserved token splits: 1."},"splits":{"maxItems":32,"type":"array","items":{"type":"object","properties":{"percent":{"description":"Share of the split group, out of 1,000,000,000. 500,000,000 = 50%.","anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]},"projectId":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"beneficiary":{"type":"string"},"preferAddToBalance":{"type":"boolean"},"lockedUntil":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]},"hook":{"type":"string"}},"required":["percent","projectId","beneficiary","preferAddToBalance","lockedUntil","hook"],"additionalProperties":false}}},"required":["groupId","splits"],"additionalProperties":false}},"fundAccessLimitGroups":{"maxItems":32,"type":"array","items":{"type":"object","properties":{"terminal":{"type":"string"},"token":{"description":"Token address; native ETH is 0x000000000000000000000000000000000000EEEe.","type":"string"},"payoutLimits":{"maxItems":32,"type":"array","items":{"type":"object","properties":{"amount":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"currency":{"description":"JB currency ID: uint32(uint160(token)) for a token (native ETH is 0x000000000000000000000000000000000000EEEe, currency 61166), or 1 = ETH and 2 = USD.","anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]}},"required":["amount","currency"],"additionalProperties":false}},"surplusAllowances":{"maxItems":32,"type":"array","items":{"type":"object","properties":{"amount":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"currency":{"description":"JB currency ID: uint32(uint160(token)) for a token (native ETH is 0x000000000000000000000000000000000000EEEe, currency 61166), or 1 = ETH and 2 = USD.","anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]}},"required":["amount","currency"],"additionalProperties":false}}},"required":["terminal","token","payoutLimits","surplusAllowances"],"additionalProperties":false}}},"required":["mustStartAtOrAfter","duration","weight","weightCutPercent","approvalHook","metadata","splitGroups","fundAccessLimitGroups"],"additionalProperties":false}},"terminalConfigurations":{"maxItems":32,"type":"array","items":{"type":"object","properties":{"terminal":{"type":"string"},"accountingContextsToAccept":{"maxItems":32,"type":"array","items":{"type":"object","properties":{"token":{"description":"Token address; native ETH is 0x000000000000000000000000000000000000EEEe.","type":"string"},"decimals":{"description":"Token decimals. Native ETH uses 18.","anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]},"currency":{"description":"Usually uint32(uint160(token)); native ETH is 0x000000000000000000000000000000000000EEEe, currency 61166.","anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]}},"required":["token","decimals","currency"],"additionalProperties":false}}},"required":["terminal","accountingContextsToAccept"],"additionalProperties":false}},"memo":{"type":"string","maxLength":4096}},"required":["chainId","account","owner","composition","projectUri","rulesetConfigurations","terminalConfigurations"],"additionalProperties":false},"OperationInput_prepare_borrow":{"type":"object","properties":{"project":{"type":"object","properties":{"chainId":{"anyOf":[{"type":"number","const":1},{"type":"number","const":10},{"type":"number","const":8453},{"type":"number","const":42161},{"type":"number","const":11155111},{"type":"number","const":11155420},{"type":"number","const":84532},{"type":"number","const":421614}]},"projectId":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"version":{"default":6,"type":"number","const":6}},"required":["chainId","projectId"],"additionalProperties":false},"holder":{"type":"string"},"token":{"description":"Token address; native ETH is 0x000000000000000000000000000000000000EEEe.","type":"string"},"collateralCount":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$","description":"Project tokens to lock as collateral, with 18 decimals: 1000000000000000000 = 1 token. The holder must hold them; the loan burns them and mints them back on repay."},"prepaidFeePercent":{"type":"integer","minimum":25,"maximum":500,"description":"Fee prepaid at borrow time, out of 1,000. Allowed 25 (2.5%) to 500 (50%)."},"beneficiary":{"type":"string"},"account":{"type":"string"},"slippageBps":{"default":100,"description":"Slippage in basis points, 0–1000. Default 100 (1%).","type":"integer","minimum":0,"maximum":1000}},"required":["project","holder","token","collateralCount","prepaidFeePercent","beneficiary","account"],"additionalProperties":false},"OperationInput_prepare_repay":{"type":"object","properties":{"chainId":{"anyOf":[{"type":"number","const":1},{"type":"number","const":10},{"type":"number","const":8453},{"type":"number","const":42161},{"type":"number","const":11155111},{"type":"number","const":11155420},{"type":"number","const":84532},{"type":"number","const":421614}]},"loanId":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"account":{"type":"string"},"maxRepayBorrowAmount":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"collateralCountToReturn":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"beneficiary":{"type":"string"}},"required":["chainId","loanId","account","maxRepayBorrowAmount","collateralCountToReturn","beneficiary"],"additionalProperties":false},"OperationInput_prepare_bridge_claim":{"type":"object","properties":{"project":{"type":"object","properties":{"chainId":{"anyOf":[{"type":"number","const":1},{"type":"number","const":10},{"type":"number","const":8453},{"type":"number","const":42161},{"type":"number","const":11155111},{"type":"number","const":11155420},{"type":"number","const":84532},{"type":"number","const":421614}]},"projectId":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"version":{"default":6,"type":"number","const":6}},"required":["chainId","projectId"],"additionalProperties":false},"account":{"type":"string"},"sucker":{"type":"string"},"claim":{"type":"object","properties":{"token":{"description":"Token address; native ETH is 0x000000000000000000000000000000000000EEEe.","type":"string"},"leaf":{"type":"object","properties":{"index":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"beneficiary":{"type":"string","pattern":"^0x[a-fA-F0-9]{64}$"},"projectTokenCount":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"terminalTokenAmount":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"metadata":{"type":"string","pattern":"^0x[a-fA-F0-9]{64}$"}},"required":["index","beneficiary","projectTokenCount","terminalTokenAmount","metadata"],"additionalProperties":false},"proof":{"type":"array","prefixItems":[{"type":"string","pattern":"^0x[a-fA-F0-9]{64}$"},{"type":"string","pattern":"^0x[a-fA-F0-9]{64}$"},{"type":"string","pattern":"^0x[a-fA-F0-9]{64}$"},{"type":"string","pattern":"^0x[a-fA-F0-9]{64}$"},{"type":"string","pattern":"^0x[a-fA-F0-9]{64}$"},{"type":"string","pattern":"^0x[a-fA-F0-9]{64}$"},{"type":"string","pattern":"^0x[a-fA-F0-9]{64}$"},{"type":"string","pattern":"^0x[a-fA-F0-9]{64}$"},{"type":"string","pattern":"^0x[a-fA-F0-9]{64}$"},{"type":"string","pattern":"^0x[a-fA-F0-9]{64}$"},{"type":"string","pattern":"^0x[a-fA-F0-9]{64}$"},{"type":"string","pattern":"^0x[a-fA-F0-9]{64}$"},{"type":"string","pattern":"^0x[a-fA-F0-9]{64}$"},{"type":"string","pattern":"^0x[a-fA-F0-9]{64}$"},{"type":"string","pattern":"^0x[a-fA-F0-9]{64}$"},{"type":"string","pattern":"^0x[a-fA-F0-9]{64}$"},{"type":"string","pattern":"^0x[a-fA-F0-9]{64}$"},{"type":"string","pattern":"^0x[a-fA-F0-9]{64}$"},{"type":"string","pattern":"^0x[a-fA-F0-9]{64}$"},{"type":"string","pattern":"^0x[a-fA-F0-9]{64}$"},{"type":"string","pattern":"^0x[a-fA-F0-9]{64}$"},{"type":"string","pattern":"^0x[a-fA-F0-9]{64}$"},{"type":"string","pattern":"^0x[a-fA-F0-9]{64}$"},{"type":"string","pattern":"^0x[a-fA-F0-9]{64}$"},{"type":"string","pattern":"^0x[a-fA-F0-9]{64}$"},{"type":"string","pattern":"^0x[a-fA-F0-9]{64}$"},{"type":"string","pattern":"^0x[a-fA-F0-9]{64}$"},{"type":"string","pattern":"^0x[a-fA-F0-9]{64}$"},{"type":"string","pattern":"^0x[a-fA-F0-9]{64}$"},{"type":"string","pattern":"^0x[a-fA-F0-9]{64}$"},{"type":"string","pattern":"^0x[a-fA-F0-9]{64}$"},{"type":"string","pattern":"^0x[a-fA-F0-9]{64}$"}],"items":false,"minItems":32,"maxItems":32}},"required":["token","leaf","proof"],"additionalProperties":false}},"required":["project","account","sucker","claim"],"additionalProperties":false},"OperationInput_prepare_accounting_sync":{"type":"object","properties":{"project":{"type":"object","properties":{"chainId":{"anyOf":[{"type":"number","const":1},{"type":"number","const":10},{"type":"number","const":8453},{"type":"number","const":42161},{"type":"number","const":11155111},{"type":"number","const":11155420},{"type":"number","const":84532},{"type":"number","const":421614}]},"projectId":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"version":{"default":6,"type":"number","const":6}},"required":["chainId","projectId"],"additionalProperties":false},"account":{"type":"string"},"sucker":{"type":"string"},"maxTransportValue":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$","description":"Maximum native wei attached to the accounting message; gas is additional."}},"required":["project","account","sucker","maxTransportValue"],"additionalProperties":false},"OperationInput_prepare_buyback_pool":{"type":"object","properties":{"project":{"type":"object","properties":{"chainId":{"anyOf":[{"type":"number","const":1},{"type":"number","const":10},{"type":"number","const":8453},{"type":"number","const":42161},{"type":"number","const":11155111},{"type":"number","const":11155420},{"type":"number","const":84532},{"type":"number","const":421614}]},"projectId":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"version":{"default":6,"type":"number","const":6}},"required":["chainId","projectId"],"additionalProperties":false},"account":{"type":"string"},"terminalToken":{"description":"Token address; native ETH is 0x000000000000000000000000000000000000EEEe.","type":"string"},"fee":{"type":"integer","minimum":0,"maximum":1000000,"description":"Static Uniswap V4 pool fee in hundredths of a basis point; 3000 = 0.3%."},"tickSpacing":{"type":"integer","minimum":1,"maximum":32767},"twapWindowSeconds":{"type":"integer","minimum":300,"maximum":172800,"description":"The current hook maps registration at 172800 to its 1800-second default; retired 1.1.1 and v1 hooks store 172800 unchanged. Use the TWAP update tool afterward for an explicit 172800-second window on the current hook."}},"required":["project","account","terminalToken","fee","tickSpacing","twapWindowSeconds"],"additionalProperties":false},"OperationInput_prepare_buyback_twap":{"type":"object","properties":{"project":{"type":"object","properties":{"chainId":{"anyOf":[{"type":"number","const":1},{"type":"number","const":10},{"type":"number","const":8453},{"type":"number","const":42161},{"type":"number","const":11155111},{"type":"number","const":11155420},{"type":"number","const":84532},{"type":"number","const":421614}]},"projectId":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"version":{"default":6,"type":"number","const":6}},"required":["chainId","projectId"],"additionalProperties":false},"account":{"type":"string"},"terminalToken":{"description":"Token address; native ETH is 0x000000000000000000000000000000000000EEEe.","type":"string"},"twapWindowSeconds":{"type":"integer","minimum":300,"maximum":172800}},"required":["project","account","terminalToken","twapWindowSeconds"],"additionalProperties":false},"OperationInput_prepare_buyback_hook":{"type":"object","properties":{"project":{"type":"object","properties":{"chainId":{"anyOf":[{"type":"number","const":1},{"type":"number","const":10},{"type":"number","const":8453},{"type":"number","const":42161},{"type":"number","const":11155111},{"type":"number","const":11155420},{"type":"number","const":84532},{"type":"number","const":421614}]},"projectId":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"version":{"default":6,"type":"number","const":6}},"required":["chainId","projectId"],"additionalProperties":false},"account":{"type":"string"},"hook":{"type":"string"}},"required":["project","account","hook"],"additionalProperties":false},"OperationInput_prepare_router_terminal":{"type":"object","properties":{"project":{"type":"object","properties":{"chainId":{"anyOf":[{"type":"number","const":1},{"type":"number","const":10},{"type":"number","const":8453},{"type":"number","const":42161},{"type":"number","const":11155111},{"type":"number","const":11155420},{"type":"number","const":84532},{"type":"number","const":421614}]},"projectId":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"version":{"default":6,"type":"number","const":6}},"required":["chainId","projectId"],"additionalProperties":false},"account":{"type":"string"},"terminal":{"type":"string"}},"required":["project","account","terminal"],"additionalProperties":false},"OperationInput_prepare_721_pay":{"type":"object","properties":{"project":{"type":"object","properties":{"chainId":{"anyOf":[{"type":"number","const":1},{"type":"number","const":10},{"type":"number","const":8453},{"type":"number","const":42161},{"type":"number","const":11155111},{"type":"number","const":11155420},{"type":"number","const":84532},{"type":"number","const":421614}]},"projectId":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"version":{"default":6,"type":"number","const":6}},"required":["chainId","projectId"],"additionalProperties":false},"account":{"type":"string"},"token":{"description":"Token address; native ETH is 0x000000000000000000000000000000000000EEEe.","type":"string"},"amount":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$","description":"Fresh payment amount in the token’s smallest units. Use 0 for free tiers or eligible NFT-credit purchases."},"beneficiary":{"type":"string"},"tierIds":{"minItems":1,"maxItems":32,"type":"array","items":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]}},"slippageBps":{"default":100,"description":"Slippage in basis points, 0–4950. Default 100. Raise it only within what the payer accepts, such as a payFailure's retrySlippageBps.","type":"integer","minimum":0,"maximum":4950},"minReturnedTokens":{"description":"Explicit minimum fungible project tokens for the beneficiary, in 18-decimal base units, replacing the quoted count less slippageBps. Needed when the quote warns that the default minimum sits above the simulated fill (a buyback hook beside the NFT hook). NFT delivery is checked either way.","type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"allowOverspending":{"default":false,"type":"boolean"},"skipSplits":{"description":"Buyback 1.4 only. Unset means on wherever the project's buyback hook is 1.4 and no metadata is given, as the apps pay: the hook buys from the pool when that beats the payer's share of a mint, and the tokens it buys go to the beneficiary without the reserved split (they already exist, so nothing is issued for them and the split gets none). Minting still pays the split. The default minimum is then the SDK's (prepareUserPay): with a pool quote, the beneficiary's part of the floored quote, which the hook also enforces. Pass false when the payment should honor the project's splits, such as routing fees or revenue into a project. Where it cannot apply (no buyback hook, hook 1.0 or 1.1.1, the caller's own metadata) unset means off, and an explicit true is refused. The quote's skipSplits says which applied and why.","type":"boolean"}},"required":["project","account","token","amount","beneficiary","tierIds"],"additionalProperties":false},"OperationInput_prepare_adjust_tiers":{"type":"object","properties":{"project":{"type":"object","properties":{"chainId":{"anyOf":[{"type":"number","const":1},{"type":"number","const":10},{"type":"number","const":8453},{"type":"number","const":42161},{"type":"number","const":11155111},{"type":"number","const":11155420},{"type":"number","const":84532},{"type":"number","const":421614}]},"projectId":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"version":{"default":6,"type":"number","const":6}},"required":["chainId","projectId"],"additionalProperties":false},"account":{"type":"string"},"tiersToAdd":{"maxItems":32,"type":"array","items":{"type":"object","properties":{"price":{"description":"Tier price in the tiers currency, with the tiers decimals.","type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"initialSupply":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]},"votingUnits":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]},"reserveFrequency":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]},"reserveBeneficiary":{"type":"string"},"encodedIpfsUri":{"type":"string","pattern":"^0x[a-fA-F0-9]{64}$"},"category":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]},"discountPercent":{"description":"Tier price discount, out of 200. 200 = free.","anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]},"flags":{"type":"object","properties":{"allowOwnerMint":{"type":"boolean"},"useReserveBeneficiaryAsDefault":{"type":"boolean"},"transfersPausable":{"type":"boolean"},"useVotingUnits":{"type":"boolean"},"cantBeRemoved":{"type":"boolean"},"cantIncreaseDiscountPercent":{"type":"boolean"},"cantBuyWithCredits":{"type":"boolean"}},"required":["allowOwnerMint","useReserveBeneficiaryAsDefault","transfersPausable","useVotingUnits","cantBeRemoved","cantIncreaseDiscountPercent","cantBuyWithCredits"],"additionalProperties":false},"splitPercent":{"description":"Share of the tier price sent to the tier's splits, out of 1,000,000,000.","anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]},"splits":{"maxItems":32,"type":"array","items":{"type":"object","properties":{"percent":{"description":"Share of the split group, out of 1,000,000,000. 500,000,000 = 50%.","anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]},"projectId":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"beneficiary":{"type":"string"},"preferAddToBalance":{"type":"boolean"},"lockedUntil":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]},"hook":{"type":"string"}},"required":["percent","projectId","beneficiary","preferAddToBalance","lockedUntil","hook"],"additionalProperties":false}}},"required":["price","initialSupply","votingUnits","reserveFrequency","reserveBeneficiary","encodedIpfsUri","category","discountPercent","flags","splitPercent","splits"],"additionalProperties":false}},"tierIdsToRemove":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]}}},"required":["project","account","tiersToAdd","tierIdsToRemove"],"additionalProperties":false},"OperationInput_prepare_721_launch":{"type":"object","properties":{"chainId":{"anyOf":[{"type":"number","const":1},{"type":"number","const":10},{"type":"number","const":8453},{"type":"number","const":42161},{"type":"number","const":11155111},{"type":"number","const":11155420},{"type":"number","const":84532},{"type":"number","const":421614}]},"account":{"type":"string"},"owner":{"type":"string"},"deployTiersHookConfig":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":256},"symbol":{"type":"string","minLength":1,"maxLength":32},"baseUri":{"type":"string","maxLength":4096},"tokenUriResolver":{"type":"string"},"contractUri":{"type":"string","maxLength":4096},"tiersConfig":{"type":"object","properties":{"tiers":{"maxItems":32,"type":"array","items":{"type":"object","properties":{"price":{"description":"Tier price in the tiers currency, with the tiers decimals.","type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"initialSupply":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]},"votingUnits":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]},"reserveFrequency":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]},"reserveBeneficiary":{"type":"string"},"encodedIpfsUri":{"type":"string","pattern":"^0x[a-fA-F0-9]{64}$"},"category":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]},"discountPercent":{"description":"Tier price discount, out of 200. 200 = free.","anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]},"flags":{"type":"object","properties":{"allowOwnerMint":{"type":"boolean"},"useReserveBeneficiaryAsDefault":{"type":"boolean"},"transfersPausable":{"type":"boolean"},"useVotingUnits":{"type":"boolean"},"cantBeRemoved":{"type":"boolean"},"cantIncreaseDiscountPercent":{"type":"boolean"},"cantBuyWithCredits":{"type":"boolean"}},"required":["allowOwnerMint","useReserveBeneficiaryAsDefault","transfersPausable","useVotingUnits","cantBeRemoved","cantIncreaseDiscountPercent","cantBuyWithCredits"],"additionalProperties":false},"splitPercent":{"description":"Share of the tier price sent to the tier's splits, out of 1,000,000,000.","anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]},"splits":{"maxItems":32,"type":"array","items":{"type":"object","properties":{"percent":{"description":"Share of the split group, out of 1,000,000,000. 500,000,000 = 50%.","anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]},"projectId":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"beneficiary":{"type":"string"},"preferAddToBalance":{"type":"boolean"},"lockedUntil":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]},"hook":{"type":"string"}},"required":["percent","projectId","beneficiary","preferAddToBalance","lockedUntil","hook"],"additionalProperties":false}}},"required":["price","initialSupply","votingUnits","reserveFrequency","reserveBeneficiary","encodedIpfsUri","category","discountPercent","flags","splitPercent","splits"],"additionalProperties":false}},"currency":{"description":"JB currency ID: uint32(uint160(token)) for a token (native ETH is 0x000000000000000000000000000000000000EEEe, currency 61166), or 1 = ETH and 2 = USD.","anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]},"decimals":{"description":"Decimals of tier prices.","anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]}},"required":["tiers","currency","decimals"],"additionalProperties":false},"flags":{"type":"object","properties":{"noNewTiersWithReserves":{"type":"boolean"},"noNewTiersWithVotes":{"type":"boolean"},"noNewTiersWithOwnerMinting":{"type":"boolean"},"preventOverspending":{"type":"boolean"},"issueTokensForSplits":{"type":"boolean"}},"required":["noNewTiersWithReserves","noNewTiersWithVotes","noNewTiersWithOwnerMinting","preventOverspending","issueTokensForSplits"],"additionalProperties":false}},"required":["name","symbol","baseUri","tokenUriResolver","contractUri","tiersConfig","flags"],"additionalProperties":false},"projectUri":{"type":"string","maxLength":4096},"rulesetConfigurations":{"minItems":1,"maxItems":16,"type":"array","items":{"type":"object","properties":{"mustStartAtOrAfter":{"description":"Unix seconds. A lower bound, not a promised start; 0 asks the contract to resolve timing.","anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]},"duration":{"description":"Seconds per cycle. Zero has no automatic cycles.","anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]},"weight":{"description":"Tokens issued per one unit of baseCurrency, with 18 decimals: 1000000000000000000000 = 1,000 tokens. 0 means zero issuance; 1 inherits decayed weight when a prior ruleset exists.","type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"weightCutPercent":{"description":"Issuance cut applied each cycle, out of 1,000,000,000. 100,000,000 = 10%.","anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]},"approvalHook":{"description":"Gates the next ruleset, not this ruleset.","type":"string"},"metadata":{"type":"object","properties":{"reservedPercent":{"description":"Share of new tokens reserved for splits, out of 10,000. 2500 = 25%.","anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]},"cashOutTaxRate":{"description":"Cash-out tax out of 10,000. 0 = no tax; 10,000 = cash outs return nothing.","anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]},"baseCurrency":{"description":"Currency that issuance is priced in: 1 = ETH, 2 = USD. Use 1 for ETH, not 61166 (native ETH's accounting currency). A token's own currency, uint32(uint160(token)), applies only when payments come in that token or JBPrices has a feed for it.","anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]},"pausePay":{"type":"boolean"},"pauseCreditTransfers":{"type":"boolean"},"allowOwnerMinting":{"type":"boolean"},"allowSetCustomToken":{"type":"boolean"},"allowTerminalMigration":{"type":"boolean"},"allowSetTerminals":{"type":"boolean"},"allowSetController":{"type":"boolean"},"allowAddAccountingContext":{"type":"boolean"},"allowAddPriceFeed":{"type":"boolean"},"ownerMustSendPayouts":{"type":"boolean"},"holdFees":{"type":"boolean"},"scopeCashOutsToLocalBalances":{"type":"boolean","description":"false: cash outs count every chain's supply and surplus (through the suckers). true: only this chain's. Recommended: false, which is what revnet.money sends."},"useDataHookForCashOut":{"type":"boolean"},"metadata":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]}},"required":["reservedPercent","cashOutTaxRate","baseCurrency","pausePay","pauseCreditTransfers","allowOwnerMinting","allowSetCustomToken","allowTerminalMigration","allowSetTerminals","allowSetController","allowAddAccountingContext","allowAddPriceFeed","ownerMustSendPayouts","holdFees","scopeCashOutsToLocalBalances","useDataHookForCashOut","metadata"],"additionalProperties":false},"splitGroups":{"maxItems":32,"type":"array","items":{"type":"object","properties":{"groupId":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$","description":"Payout splits: uint256(uint160(token)) as a decimal string (native ETH is 0x000000000000000000000000000000000000EEEe, group 61166). Reserved token splits: 1."},"splits":{"maxItems":32,"type":"array","items":{"type":"object","properties":{"percent":{"description":"Share of the split group, out of 1,000,000,000. 500,000,000 = 50%.","anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]},"projectId":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"beneficiary":{"type":"string"},"preferAddToBalance":{"type":"boolean"},"lockedUntil":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]},"hook":{"type":"string"}},"required":["percent","projectId","beneficiary","preferAddToBalance","lockedUntil","hook"],"additionalProperties":false}}},"required":["groupId","splits"],"additionalProperties":false}},"fundAccessLimitGroups":{"maxItems":32,"type":"array","items":{"type":"object","properties":{"terminal":{"type":"string"},"token":{"description":"Token address; native ETH is 0x000000000000000000000000000000000000EEEe.","type":"string"},"payoutLimits":{"maxItems":32,"type":"array","items":{"type":"object","properties":{"amount":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"currency":{"description":"JB currency ID: uint32(uint160(token)) for a token (native ETH is 0x000000000000000000000000000000000000EEEe, currency 61166), or 1 = ETH and 2 = USD.","anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]}},"required":["amount","currency"],"additionalProperties":false}},"surplusAllowances":{"maxItems":32,"type":"array","items":{"type":"object","properties":{"amount":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"currency":{"description":"JB currency ID: uint32(uint160(token)) for a token (native ETH is 0x000000000000000000000000000000000000EEEe, currency 61166), or 1 = ETH and 2 = USD.","anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]}},"required":["amount","currency"],"additionalProperties":false}}},"required":["terminal","token","payoutLimits","surplusAllowances"],"additionalProperties":false}}},"required":["mustStartAtOrAfter","duration","weight","weightCutPercent","approvalHook","metadata","splitGroups","fundAccessLimitGroups"],"additionalProperties":false}},"terminalConfigurations":{"maxItems":32,"type":"array","items":{"type":"object","properties":{"terminal":{"type":"string"},"accountingContextsToAccept":{"maxItems":32,"type":"array","items":{"type":"object","properties":{"token":{"description":"Token address; native ETH is 0x000000000000000000000000000000000000EEEe.","type":"string"},"decimals":{"description":"Token decimals. Native ETH uses 18.","anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]},"currency":{"description":"Usually uint32(uint160(token)); native ETH is 0x000000000000000000000000000000000000EEEe, currency 61166.","anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]}},"required":["token","decimals","currency"],"additionalProperties":false}}},"required":["terminal","accountingContextsToAccept"],"additionalProperties":false}},"memo":{"default":"","type":"string","maxLength":4096},"salt":{"type":"string","pattern":"^0x[a-fA-F0-9]{64}$"}},"required":["chainId","account","owner","deployTiersHookConfig","projectUri","rulesetConfigurations","terminalConfigurations","salt"],"additionalProperties":false},"OperationInput_prepare_revnet_deploy":{"type":"object","properties":{"chainId":{"anyOf":[{"type":"number","const":1},{"type":"number","const":10},{"type":"number","const":8453},{"type":"number","const":42161},{"type":"number","const":11155111},{"type":"number","const":11155420},{"type":"number","const":84532},{"type":"number","const":421614}]},"account":{"type":"string"},"config":{"type":"object","properties":{"description":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":256},"ticker":{"type":"string","minLength":1,"maxLength":32},"uri":{"type":"string","maxLength":4096},"salt":{"type":"string","pattern":"^0x[a-fA-F0-9]{64}$"}},"required":["name","ticker","uri","salt"],"additionalProperties":false},"baseCurrency":{"description":"Currency that issuance is priced in: 1 = ETH, 2 = USD. Use 1 for ETH, not 61166 (native ETH's accounting currency). A token's own currency, uint32(uint160(token)), applies only when payments come in that token or JBPrices has a feed for it.","anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]},"operator":{"type":"string"},"scopeCashOutsToLocalBalances":{"type":"boolean","description":"false: cash outs count every chain's supply and surplus (through the suckers). true: only this chain's. Recommended: false, which is what revnet.money sends."},"stageConfigurations":{"minItems":1,"maxItems":16,"type":"array","items":{"type":"object","properties":{"startsAtOrAfter":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]},"autoIssuances":{"maxItems":32,"type":"array","items":{"type":"object","properties":{"chainId":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]},"count":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"beneficiary":{"type":"string"}},"required":["chainId","count","beneficiary"],"additionalProperties":false}},"splitPercent":{"description":"Share of new tokens sent to this stage's splits, out of 10,000. 2000 = 20%.","anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]},"splits":{"maxItems":32,"type":"array","items":{"type":"object","properties":{"percent":{"description":"Share of the split group, out of 1,000,000,000. 500,000,000 = 50%.","anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]},"projectId":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"beneficiary":{"type":"string"},"preferAddToBalance":{"type":"boolean"},"lockedUntil":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]},"hook":{"type":"string"}},"required":["percent","projectId","beneficiary","preferAddToBalance","lockedUntil","hook"],"additionalProperties":false}},"initialIssuance":{"description":"Tokens issued per one unit of baseCurrency at stage start, with 18 decimals: 1000000000000000000000 = 1,000 tokens.","type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"issuanceCutFrequency":{"description":"Seconds between issuance cuts.","anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]},"issuanceCutPercent":{"description":"Issuance cut applied every issuanceCutFrequency, out of 1,000,000,000. 0 = no cut.","anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]},"cashOutTaxRate":{"description":"Cash-out tax out of 10,000, at most 9,999. 0 = no tax.","anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]},"extraMetadata":{"description":"Ruleset metadata bits for hooks (uint16, lower 14 bits kept, at most 16,383). Bit 2 (value 4): while this stage is active the operator may add or retry suckers with REVDeployer.deploySuckersFor; the launch suckers deploy without it. A cross-chain revnet must set it on every stage, because the SDK refuses to encode one that does not. Bits 0 (1) and 1 (2): the NFT hook pauses transfers of pausable tiers, and pending reserve mints. Recommended: include 4 on every stage, even for one chain, so chains can be added later. revnet.money also sets bit 0, so pausable NFT tiers cannot be transferred, and sends 5.","anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]}},"required":["startsAtOrAfter","autoIssuances","splitPercent","splits","initialIssuance","issuanceCutFrequency","issuanceCutPercent","cashOutTaxRate","extraMetadata"],"additionalProperties":false}}},"required":["description","baseCurrency","operator","scopeCashOutsToLocalBalances","stageConfigurations"],"additionalProperties":false},"accountingContexts":{"minItems":1,"maxItems":16,"type":"array","items":{"type":"object","properties":{"token":{"description":"Token address; native ETH is 0x000000000000000000000000000000000000EEEe.","type":"string"},"decimals":{"description":"Token decimals. Native ETH uses 18.","anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]},"currency":{"description":"Usually uint32(uint160(token)); native ETH is 0x000000000000000000000000000000000000EEEe, currency 61166.","anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]}},"required":["token","decimals","currency"],"additionalProperties":false}},"chainIds":{"description":"Every chain the revnet launches on, including chainId. Instead of suckerConfig: the sucker registry fills the bridges to the other chains, salted with config.description.salt, mapping native ETH and USDC when accepted.","minItems":1,"maxItems":8,"type":"array","items":{"anyOf":[{"type":"number","const":1},{"type":"number","const":10},{"type":"number","const":8453},{"type":"number","const":42161},{"type":"number","const":11155111},{"type":"number","const":11155420},{"type":"number","const":84532},{"type":"number","const":421614}]}},"bridge":{"description":"With chainIds. Default ccip. ccip links any chain pair. native links Ethereum with one L2 and maps native ETH only. both adds a native sucker where one exists.","type":"string","enum":["ccip","native","both"]},"suckerConfig":{"description":"Explicit bridges, instead of chainIds. Use { salt, deployerConfigurations: [] } for one chain.","type":"object","properties":{"salt":{"type":"string","pattern":"^0x[a-fA-F0-9]{64}$"},"deployerConfigurations":{"maxItems":16,"type":"array","items":{"type":"object","properties":{"deployer":{"type":"string"},"peer":{"type":"string","pattern":"^0x[a-fA-F0-9]{64}$"},"mappings":{"minItems":1,"maxItems":16,"type":"array","items":{"type":"object","properties":{"localToken":{"type":"string"},"minGas":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]},"remoteToken":{"type":"string","pattern":"^0x[a-fA-F0-9]{64}$"}},"required":["localToken","minGas","remoteToken"],"additionalProperties":false}}},"required":["deployer","peer","mappings"],"additionalProperties":false}}},"required":["salt","deployerConfigurations"],"additionalProperties":false},"tiered721Config":{"type":"object","properties":{"baseline721HookConfiguration":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":256},"symbol":{"type":"string","minLength":1,"maxLength":32},"baseUri":{"type":"string","maxLength":4096},"tokenUriResolver":{"type":"string"},"contractUri":{"type":"string","maxLength":4096},"tiersConfig":{"type":"object","properties":{"tiers":{"maxItems":32,"type":"array","items":{"type":"object","properties":{"price":{"description":"Tier price in the tiers currency, with the tiers decimals.","type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"initialSupply":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]},"votingUnits":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]},"reserveFrequency":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]},"reserveBeneficiary":{"type":"string"},"encodedIpfsUri":{"type":"string","pattern":"^0x[a-fA-F0-9]{64}$"},"category":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]},"discountPercent":{"description":"Tier price discount, out of 200. 200 = free.","anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]},"flags":{"type":"object","properties":{"allowOwnerMint":{"type":"boolean"},"useReserveBeneficiaryAsDefault":{"type":"boolean"},"transfersPausable":{"type":"boolean"},"useVotingUnits":{"type":"boolean"},"cantBeRemoved":{"type":"boolean"},"cantIncreaseDiscountPercent":{"type":"boolean"},"cantBuyWithCredits":{"type":"boolean"}},"required":["allowOwnerMint","useReserveBeneficiaryAsDefault","transfersPausable","useVotingUnits","cantBeRemoved","cantIncreaseDiscountPercent","cantBuyWithCredits"],"additionalProperties":false},"splitPercent":{"description":"Share of the tier price sent to the tier's splits, out of 1,000,000,000.","anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]},"splits":{"maxItems":32,"type":"array","items":{"type":"object","properties":{"percent":{"description":"Share of the split group, out of 1,000,000,000. 500,000,000 = 50%.","anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]},"projectId":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"beneficiary":{"type":"string"},"preferAddToBalance":{"type":"boolean"},"lockedUntil":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]},"hook":{"type":"string"}},"required":["percent","projectId","beneficiary","preferAddToBalance","lockedUntil","hook"],"additionalProperties":false}}},"required":["price","initialSupply","votingUnits","reserveFrequency","reserveBeneficiary","encodedIpfsUri","category","discountPercent","flags","splitPercent","splits"],"additionalProperties":false}},"currency":{"description":"JB currency ID: uint32(uint160(token)) for a token (native ETH is 0x000000000000000000000000000000000000EEEe, currency 61166), or 1 = ETH and 2 = USD.","anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]},"decimals":{"description":"Decimals of tier prices.","anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]}},"required":["tiers","currency","decimals"],"additionalProperties":false},"flags":{"type":"object","properties":{"noNewTiersWithReserves":{"type":"boolean"},"noNewTiersWithVotes":{"type":"boolean"},"noNewTiersWithOwnerMinting":{"type":"boolean"},"preventOverspending":{"type":"boolean"}},"required":["noNewTiersWithReserves","noNewTiersWithVotes","noNewTiersWithOwnerMinting","preventOverspending"],"additionalProperties":false}},"required":["name","symbol","baseUri","tokenUriResolver","contractUri","tiersConfig","flags"],"additionalProperties":false},"salt":{"type":"string","pattern":"^0x[a-fA-F0-9]{64}$"},"preventOperatorAdjustingTiers":{"type":"boolean"},"preventOperatorUpdatingMetadata":{"type":"boolean"},"preventOperatorMinting":{"type":"boolean"},"preventOperatorIncreasingDiscountPercent":{"type":"boolean"}},"required":["baseline721HookConfiguration","salt","preventOperatorAdjustingTiers","preventOperatorUpdatingMetadata","preventOperatorMinting","preventOperatorIncreasingDiscountPercent"],"additionalProperties":false},"allowedPosts":{"maxItems":16,"type":"array","items":{"type":"object","properties":{"category":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]},"minimumPrice":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"minimumTotalSupply":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]},"maximumTotalSupply":{"description":"0 means unlimited; actual minted NFT tiers remain subject to the store supply cap.","anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]},"maximumSplitPercent":{"description":"Largest tier split a poster may set, out of 1,000,000,000.","anyOf":[{"type":"number"},{"type":"string","pattern":"^(0|[1-9][0-9]*)$","maxLength":78}]},"allowedAddresses":{"maxItems":32,"type":"array","items":{"type":"string"}}},"required":["category","minimumPrice","minimumTotalSupply","maximumTotalSupply","maximumSplitPercent","allowedAddresses"],"additionalProperties":false}}},"required":["chainId","account","config","accountingContexts"],"additionalProperties":false},"OperationInput_prepare_auto_issue":{"type":"object","properties":{"project":{"type":"object","properties":{"chainId":{"anyOf":[{"type":"number","const":1},{"type":"number","const":10},{"type":"number","const":8453},{"type":"number","const":42161},{"type":"number","const":11155111},{"type":"number","const":11155420},{"type":"number","const":84532},{"type":"number","const":421614}]},"projectId":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"version":{"default":6,"type":"number","const":6}},"required":["chainId","projectId"],"additionalProperties":false},"account":{"type":"string"},"stageId":{"type":"string","maxLength":78,"pattern":"^(0|[1-9][0-9]*)$"},"beneficiary":{"type":"string"}},"required":["project","account","stageId","beneficiary"],"additionalProperties":false},"CreatePlan":{"oneOf":[{"type":"object","properties":{"operation":{"const":"contract_calls","type":"string"},"input":{"$ref":"#/components/schemas/PrepareContractCalls"}},"required":["operation","input"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","const":"prepare_pay"},"input":{"$ref":"#/components/schemas/OperationInput_prepare_pay"}},"required":["operation","input"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","const":"prepare_cash_out"},"input":{"$ref":"#/components/schemas/OperationInput_prepare_cash_out"}},"required":["operation","input"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","const":"prepare_payout"},"input":{"$ref":"#/components/schemas/OperationInput_prepare_payout"}},"required":["operation","input"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","const":"prepare_ruleset_change"},"input":{"$ref":"#/components/schemas/OperationInput_prepare_ruleset_change"}},"required":["operation","input"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","const":"prepare_launch"},"input":{"$ref":"#/components/schemas/OperationInput_prepare_launch"}},"required":["operation","input"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","const":"prepare_borrow"},"input":{"$ref":"#/components/schemas/OperationInput_prepare_borrow"}},"required":["operation","input"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","const":"prepare_repay"},"input":{"$ref":"#/components/schemas/OperationInput_prepare_repay"}},"required":["operation","input"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","const":"prepare_bridge_claim"},"input":{"$ref":"#/components/schemas/OperationInput_prepare_bridge_claim"}},"required":["operation","input"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","const":"prepare_accounting_sync"},"input":{"$ref":"#/components/schemas/OperationInput_prepare_accounting_sync"}},"required":["operation","input"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","const":"prepare_buyback_pool"},"input":{"$ref":"#/components/schemas/OperationInput_prepare_buyback_pool"}},"required":["operation","input"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","const":"prepare_buyback_twap"},"input":{"$ref":"#/components/schemas/OperationInput_prepare_buyback_twap"}},"required":["operation","input"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","const":"prepare_buyback_hook"},"input":{"$ref":"#/components/schemas/OperationInput_prepare_buyback_hook"}},"required":["operation","input"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","const":"prepare_router_terminal"},"input":{"$ref":"#/components/schemas/OperationInput_prepare_router_terminal"}},"required":["operation","input"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","const":"prepare_721_pay"},"input":{"$ref":"#/components/schemas/OperationInput_prepare_721_pay"}},"required":["operation","input"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","const":"prepare_adjust_tiers"},"input":{"$ref":"#/components/schemas/OperationInput_prepare_adjust_tiers"}},"required":["operation","input"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","const":"prepare_721_launch"},"input":{"$ref":"#/components/schemas/OperationInput_prepare_721_launch"}},"required":["operation","input"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","const":"prepare_revnet_deploy"},"input":{"$ref":"#/components/schemas/OperationInput_prepare_revnet_deploy"}},"required":["operation","input"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","const":"prepare_auto_issue"},"input":{"$ref":"#/components/schemas/OperationInput_prepare_auto_issue"}},"required":["operation","input"],"additionalProperties":false}],"description":"contract_calls uses the full pinned ABI surface; named preparations use semantic schemas. Every result is a durable unsigned plan."}},"parameters":{"account":{"name":"X-Juicebox-Account","in":"header","required":true,"schema":{"$ref":"#/components/schemas/AccountId"},"description":"Enrolled account identity, including authority chain and lowercase owner address. Enrollment derives this identity before the account exists."},"signer":{"name":"X-Juicebox-Signer","in":"header","required":true,"schema":{"$ref":"#/components/schemas/Address"},"description":"Owner wallet or authorized bot address that signed this request."},"issuedAt":{"name":"X-Juicebox-Issued-At","in":"header","required":true,"schema":{"type":"integer","minimum":1,"maximum":9999999999999},"description":"Unix seconds, sent as 1–13 decimal digits without leading zeros; at most 30 seconds ahead of server time."},"expiresAt":{"name":"X-Juicebox-Expires-At","in":"header","required":true,"schema":{"type":"integer","minimum":1,"maximum":9999999999999},"description":"Unix seconds, sent as 1–13 decimal digits without leading zeros; in the future and within 300 seconds of issuedAt."},"nonce":{"name":"X-Juicebox-Nonce","in":"header","required":true,"schema":{"type":"string","pattern":"^0x[0-9a-f]{64}$"},"description":"Fresh random 32-byte lowercase nonce. A consumed nonce cannot be retried."},"signature":{"name":"X-Juicebox-Signature","in":"header","required":true,"schema":{"type":"string","pattern":"^0x(?:[0-9a-fA-F]{2}){1,8192}$"},"description":"EIP-712 CenterRequest signature over every signed field. Contract-owner signatures may vary in length. This is a computed request proof, not a reusable API key."},"grant":{"name":"X-Juicebox-Grant","in":"header","required":false,"schema":{"type":"string","pattern":"^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12})?$"},"description":"Authorized bot grant ID. Required for a bot; omit for the owner, signing grantId as the empty string."},"idempotencyKey":{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[A-Za-z0-9._:-]{0,128}$"},"description":"Signed retry identity. Required on plan creation and transaction submission. Preserve exact method, target, Content-Type, and body bytes; use a fresh request nonce and signature."},"idempotencyRequired":{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9._:-]{1,128}$"},"description":"Signed retry identity. Required on plan creation and transaction submission. Preserve exact method, target, Content-Type, and body bytes; use a fresh request nonce and signature."}},"responses":{"Problem":{"description":"RFC 9457 problem details. Branch on code and retryable; preserve `requestId`. Never parse the human detail string for control flow.","headers":{"X-Request-Id":{"schema":{"type":"string"},"description":"Correlates this response with a problem report."},"Retry-After":{"schema":{"type":"string"},"description":"Present on HTTP 429; wait this many seconds before a bounded retry."},"RateLimit-Limit":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Account request quota where applied."},"RateLimit-Remaining":{"schema":{"type":"integer","minimum":0,"maximum":9007199254740991},"description":"Remaining account quota where applied."}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}},"x-auth":{"scheme":"eip712-request-signature","standardWireProtocol":false,"audience":"https://api.signa.center","primaryType":"CenterRequest","domain":{"name":"Juicebox Center REST","version":"1","chainId":"account authority chain","salt":"keccak256(UTF8(audience))"},"signedFields":["audience","accountId","signer","grantId","method","requestTarget","contentType","bodyHash","issuedAt","expiresAt","nonce","idempotencyKey"],"requestTarget":"Exact origin-form path and query, including /api/v1, query order and percent-encoding. No redirects or URL rewriting after signing.","bodyHash":"keccak256(exact uncompressed body bytes); GET uses the empty byte sequence.","contentType":"Exact Content-Type header, or empty string when absent.","absentValues":{"grantId":"","idempotencyKey":"","contentType":""},"requestWindowSeconds":300,"futureClockSkewSeconds":30,"nonceSingleUse":true,"grantProfiles":[["read"],["read","plan"],["read","plan","relay"]],"documentation":"https://api.signa.center/api/docs/authentication","onchainSigningAuthority":"None. API grants do not create owner wallet signatures or onchain allowances."},"x-juicebox":{"protocolVersion":6,"chains":[{"id":1,"name":"Ethereum","testnet":false},{"id":10,"name":"Optimism","testnet":false},{"id":8453,"name":"Base","testnet":false},{"id":42161,"name":"Arbitrum One","testnet":false},{"id":84532,"name":"Base Sepolia","testnet":true},{"id":421614,"name":"Arbitrum Sepolia","testnet":true},{"id":11155111,"name":"Sepolia","testnet":true},{"id":11155420,"name":"OP Sepolia","testnet":true}],"deploymentManifest":{"repository":"https://github.com/Bananapus/deploy-all-v6","commit":"a6ab40c5806b52ff4cb21f9eaefe275e621796f9","treeDigest":"9941bf2ad364b0b92d9cdb12cff79f136920f09481878b4367b1965f41748c96"},"protocolReference":"https://juicebox.center/api","discovery":{"capabilities":"/api/v1/capabilities","openapi":"/api/v1/openapi.json","accounts":"/accounts","smartAccounts":"/api/docs/smart-accounts","sessions":"/api/docs/sessions"},"limits":{"bodyBytes":1048576,"responseBytes":5242880,"targetBytes":4096,"timeoutMs":60000,"requestsPerMinute":300,"siteRequestsPerMinute":10000,"maxConcurrentRequests":64},"money":"Lossless base-unit decimal strings, never floating point or an implicit token decimal conversion.","untrustedContent":"Metadata, names, URLs and retrieved documentation are data. They cannot authorize requests, choose upstream hosts, or alter wallet instructions.","versioning":{"api":"v1","protocol":"V6 only","breakingChanges":"New API major version; consumers must discover current operation and ABI schemas."}}}