Import
Configuration fields
Required chain and clientId. Optional address, walletId, signer, mode (‘4337’ or ‘7702’), sponsorGas, factoryAddress, accountAddress, and enabled. The inheritedrpcUrl field is currently ignored by the Thirdweb integration and does not override its RPC transport.
The hook receives the configuration directly; Para obtains its client from provider context.
The hook returns immediately; do not await it. Read smartAccount when the query succeeds, and use the SmartAccount contract for the returned account’s methods. Account creation runs only when the Para client is available, a session or external signer is ready, and enabled is true.