A AuthMS API Wiki API Reference iam.tianv.com →

POST /auth/web3/verify

验证Ethereum/Solana等Web3钱包的数字签名,无需认证

身份认证 None application/json

Request Body

Schema: dto.Web3VerifyRequest

FieldTypeRequiredExampleConstraintsDescription
address string Yes 0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B
message string Yes Sign this message to verify wallet ownership.
signature string Yes 0x1234abc...

Responses

StatusDescriptionSchema
200验证结果gitee_com_linmes_authms_base_dto.DataResponse-dto_Web3VerifyResponse

Referenced Schemas

dto.Web3VerifyResponse

FieldTypeRequiredExampleConstraintsDescription
address string No 0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B
message string No Signature verification successful
verified boolean No True

gitee_com_linmes_authms_base_dto.DataResponse-dto_Web3VerifyResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
data dto.Web3VerifyResponse No
message string No
timestamp string No