Sign message using a managed wallet. Managed wallet means the private key is never exposed to the client and always stored encrypted in our vault. Currently, only Ethereum ethereum wallet type signing is supported.
POST /v1/auth/wallets/{wallet_id}/sign_message
A successful response returns a Wallet object and a signature property for the signed message.
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"Unique wallet ID of the wallet to retrieve.
Message string to sign. It adds to the message prefix "\x19Ethereum Signed Message:\n" before signing, a standard in Ethereum Improvement Proposal (EIP) 191.