POST /auth/web3/verify

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

身份认证 None application/json

请求体

Schema: service-identity/internal/handler/dto.Web3VerifyRequest

字段类型必填示例约束描述
address string 是 0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B
message string 是 Sign this message to verify wallet ownership.
signature string 是 0x1234abc...

响应

引用的 Schema

service-core/base/dto.DataResponse-service-identity/internal/handler/dto/Web3VerifyResponse

字段类型必填示例约束描述
code integer 否
data service-identity/internal/handler/dto.Web3VerifyResponse 否
message string 否
timestamp string 否

service-identity/internal/handler/dto.Web3VerifyResponse

字段类型必填示例约束描述
address string 否 0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B
message string 否 Signature verification successful
verified boolean 否 True