provider Crypto Wallet POST
/v1/crypto_wallets/authenticate/start @utdk/stytch
/v1/crypto_wallets/authenticate/start Authenticatestart
Initiate the authentication of a crypto wallet. After calling this endpoint, the user will need to sign a message containing the returned `challenge` field.
For Ethereum crypto wallets, you can optionally use the Sign In With Ethereum (SIWE) protocol for the message by passing in the `siwe_params`. The only required fields are `domain` and `uri`.
If the crypto wallet detects that the domain in the message does not match the website's domain, it will display a warning to the user.
If not using the SIWE protocol, the message will simply consist of the project name and a random string.
Try it
Authentication
Configure credentials for Stytch API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import stytch from '@utdk/stytch';
await stytch.apiCryptoWalletV1Authenticatestart()