WALLET_BATCH_UNSUPPORTED
What WALLET_BATCH_UNSUPPORTED means, why UnsupportedError throws it, what to show users and how to fix it in ensforge. Also covers retry safety.
UnsupportedErrorNot retryable
@ensforge/sdk
What happened
The wallet cannot send calls as one batch.
What to show users
| Title | Message | Action |
|---|---|---|
| Wallet not supported | Your wallet cannot send these transactions together. |
How to fix
Use mode: "auto" or mode: "sequential".
Retry safety
Retrying the same call fails the same way until the cause is fixed (retryable: false).
Actions that throw it
| Action | When |
|---|---|
approval.setDelegate | with mode: "batch" or a paymaster when the wallet cannot send calls as one batch. |
approval.setOperator | with mode: "batch" or a paymaster when the wallet cannot send calls as one batch. |
approval.setToken | with mode: "batch" or a paymaster when the wallet cannot send calls as one batch. |
dns.claim | with mode: "batch" or a paymaster when the wallet cannot send calls as one batch. |
dns.setRecords | with mode: "batch" or a paymaster when the wallet cannot send calls as one batch. |
migration.migrate | with mode: "batch" or a paymaster when the wallet cannot send calls as one batch. |
name.reclaim | with mode: "batch" or a paymaster when the wallet cannot send calls as one batch. |
name.setManager | with mode: "batch" or a paymaster when the wallet cannot send calls as one batch. |
name.setTtl | with mode: "batch" or a paymaster when the wallet cannot send calls as one batch. |
name.transfer | with mode: "batch" or a paymaster when the wallet cannot send calls as one batch. |
permission.setRecordAccess | with mode: "batch" or a paymaster when the wallet cannot send calls as one batch. |
plan.send | with mode: "batch" or a paymaster when the wallet cannot send calls as one batch. |
primaryName.set | with mode: "batch" or a paymaster when the wallet cannot send calls as one batch. |
primaryName.signClaim | with mode: "batch" or a paymaster when the wallet cannot send calls as one batch. |
record.set | with mode: "batch" or a paymaster when the wallet cannot send calls as one batch. |
registration.commit | with mode: "batch" or a paymaster when the wallet cannot send calls as one batch. |
registration.register | with mode: "batch" or a paymaster when the wallet cannot send calls as one batch. |
registration.renew | with mode: "batch" or a paymaster when the wallet cannot send calls as one batch. |
registry.attach | with mode: "batch" or a paymaster when the wallet cannot send calls as one batch. |
registry.deploy | with mode: "batch" or a paymaster when the wallet cannot send calls as one batch. |
registry.setUri | with mode: "batch" or a paymaster when the wallet cannot send calls as one batch. |
registry.upgrade | with mode: "batch" or a paymaster when the wallet cannot send calls as one batch. |
resolver.create | with mode: "batch" or a paymaster when the wallet cannot send calls as one batch. |
resolver.link | with mode: "batch" or a paymaster when the wallet cannot send calls as one batch. |
resolver.set | with mode: "batch" or a paymaster when the wallet cannot send calls as one batch. |
resolver.upgrade | with mode: "batch" or a paymaster when the wallet cannot send calls as one batch. |
role.grant | with mode: "batch" or a paymaster when the wallet cannot send calls as one batch. |
role.revoke | with mode: "batch" or a paymaster when the wallet cannot send calls as one batch. |
subname.create | with mode: "batch" or a paymaster when the wallet cannot send calls as one batch. |
subname.remove | with mode: "batch" or a paymaster when the wallet cannot send calls as one batch. |
subname.update | with mode: "batch" or a paymaster when the wallet cannot send calls as one batch. |
wrapper.setChildFuses | with mode: "batch" or a paymaster when the wallet cannot send calls as one batch. |
wrapper.setFuses | with mode: "batch" or a paymaster when the wallet cannot send calls as one batch. |
wrapper.unwrap | with mode: "batch" or a paymaster when the wallet cannot send calls as one batch. |
wrapper.wrap | with mode: "batch" or a paymaster when the wallet cannot send calls as one batch. |
Any write can fail with UnsupportedError: it is part of Errors.WriteError.
Catch it
Errors.hasCode("WALLET_BATCH_UNSUPPORTED") narrows to this error. See Handle errors.
Was this page helpful?