Creates a new Argent-compatible wallet on StarkNet. This hook deploys the wallet contract behind the scenes and uses Avnus gasless to sponsor gas fees, resulting in a frictionless onboarding experience.
pin
(string): A user-defined code or password used to encrypt the wallet’s private key.bearerToken
(string): Bearer token for authenticationcreateWalletAsync
: Function to trigger wallet creationcreateWalletResponse
: Object with deployment resultsisLoading
: Boolean indicating if the operation is in progresserror
: Any error that occurred during the process