Verifies a wallet signature. This endpoint will verify the signature signed by the wallet private key using the challenge presented by the BeginWalletRegistration endpoint for the wallet address specified. If signature is valid, we will return the wallet object with its associated user ID. If the wallet is not previously attached the the user initiating the wallet registration, the wallet will be attached to the user.
POST /v1/auth/wallets/verify
A successful response returns a Wallet object.
Auth Platform API includes all the Auth related features. All Users, Phone Numbers, Emails, and OTPs are associated with an App as the container.
Endpoints only accept App's Secret API keys other than certain endpoints that are used client side or via SDK that accept the public_token.
Authorization: Bearer {api_key}curl \
-X GET https://api.moonkey.fun/v1/auth/users/user_24wFP9pDa9YiMJLun94iKykoZs2 \
-H "Authorization: Bearer sk_test_pRqweh3wvWmJAAVYv7Z0T5iPLzFM4ql0muoyQcjOxGeN3p1r"Determines the type of wallet to register. Possible values: ethereum, solana (more coming soon!).
1Signed message using the associated private key of the wallet address. We expect ethereum signed message to be base64 encoded (e.g. 0x...) and solana signed message will be bs58 encoded.
1Public wallet address of the wallet.
1Optional Extend the session expiration time to N minutes from now, must be between 5 to 525600 minutes (365 days). This parameter will create a new session if there is no existing session along with a session_token and session_jwt. However, if a valid session_token or session_jwt is sent in, it will extend that session by the minutes specified. If not sent in, no session will be created by default.
Optional Unique session token to verify.
Optional Unique Session JWT to verify.
Verify Wallet (beta) response
11111