Before submitting transactions, check whether the vault is paused. Equivalent to SDK’s internal getPausedStates().
Contract Method
isPaused()
Returns whether the vault’s Teller contract is currently paused.
Returns: bool — true 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 Vault 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.