OZConstants

Configuration defaults and contract limits for OpenZeppelin smart account operations.

Properties

Link copied to clipboard
const val CLIENT_NAME: String

SDK name sent in client identification headers.

Link copied to clipboard

HTTP header identifying the SDK name sent with indexer and relayer requests.

Link copied to clipboard

HTTP header identifying the SDK version sent with indexer and relayer requests.

Link copied to clipboard

Default HTTP timeout for indexer requests in milliseconds (10 seconds).

Link copied to clipboard

Default HTTP timeout for relayer requests in milliseconds (6 minutes).

Link copied to clipboard

Default session expiry in milliseconds (7 days).

Link copied to clipboard

Default timeout for transaction submission and polling in seconds.

Link copied to clipboard
const val FRIENDBOT_RESERVE_XLM: Int = 5

XLM amount retained in the temporary account as minimum balance reserve when transferring Friendbot funds to a smart account wallet.

Link copied to clipboard
const val MAX_POLICIES: Int = 5

Maximum policies per context rule (OZ contract limit).

Link copied to clipboard
const val MAX_SIGNERS: Int = 15

Maximum signers per context rule (OZ contract limit).

Link copied to clipboard

Timeout for WebAuthn credential operations in milliseconds (60 seconds).