POST /auth/web3/verify
验证Ethereum/Solana等Web3钱包的数字签名,无需认证
身份认证 None application/json
Request Body
Schema: dto.Web3VerifyRequest
| Field | Type | Required | Example | Constraints | Description |
address |
string |
Yes |
0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B |
|
|
message |
string |
Yes |
Sign this message to verify wallet ownership. |
|
|
signature |
string |
Yes |
0x1234abc... |
|
|
Referenced Schemas
dto.Web3VerifyResponse
| Field | Type | Required | Example | Constraints | Description |
address |
string |
No |
0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B |
|
|
message |
string |
No |
Signature verification successful |
|
|
verified |
boolean |
No |
True |
|
|
gitee_com_linmes_authms_base_dto.DataResponse-dto_Web3VerifyResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
data |
dto.Web3VerifyResponse |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|