Skip to main content
Before submitting transactions, check whether the account is paused.

Contract Method

isPaused()

Returns whether the account’s Teller contract is currently paused. Returns: booltrue if paused, false if operational

ABI

[
  {
    "inputs": [],
    "name": "isPaused",
    "outputs": [{ "name": "", "type": "bool" }],
    "stateMutability": "view",
    "type": "function"
  }
]

Usage

Call on the Teller contract (vault.tellerModuleId from Account Discovery).
isPaused = Teller.isPaused()
If the Teller is paused, deposit and withdrawal transactions will revert with TellerIsPaused. Check pause state before submitting transactions in production to provide a better user experience.