OZConstants
Configuration defaults and contract limits for OpenZeppelin smart account operations.
Properties
SDK name sent in client identification headers.
HTTP header identifying the SDK name sent with relayer requests. Not sent to the indexer: custom headers force a CORS preflight in browsers, and indexer providers only allowlist standard headers.
HTTP header identifying the SDK version sent with relayer requests.
Default HTTP timeout for indexer requests in milliseconds (10 seconds).
Default HTTP timeout for relayer requests in milliseconds (6 minutes).
Default session expiry in milliseconds (7 days).
Default timeout for transaction submission and polling in seconds.
XLM amount retained in the temporary account as minimum balance reserve when transferring Friendbot funds to a smart account wallet.
Maximum external signer key data length in bytes (OZ contract limit).
Maximum context rule name length in UTF-8 bytes (OZ contract limit).
Maximum policies per context rule (OZ contract limit).
Maximum signers per context rule (OZ contract limit).
Interval in milliseconds between polls while waiting for a ledger entry to become visible to the Soroban RPC. Shared by the funding-account wait (a Friendbot-funded temporary account) and the deploy wait (a freshly deployed contract instance).
Overall timeout in seconds to observe a ledger entry on the Soroban RPC before failing. A transaction confirmed on Horizon may not be reflected in the RPC simulation state until a later ledger close; the RPC state can lag by several ledger closes when testnet propagation is slow. Shared by the funding-account wait and the deploy wait.
Timeout for WebAuthn credential operations in milliseconds (60 seconds).