Auth
Authenticate user using signed data standard EIP-191
Query Parameters
apiKey string
(Required) Your Public API key
Example: {{publicKey}}
- application/json
Request Body
hash string
signature string
ownerAddress string
Responses
- 201
- 400
- 403
Created
- application/json
- Schema
- Example (from schema)
- Example
Schema
- object
{}
{
"jwt": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJvd25lckFkZHJlc3MiOiIweDgwOUI3ODM3MWY1MGYyOEQyQzYxRjYzZTQ4YjU4YjdFZTA1M0UzRWEiLCJwcm9qZWN0SWQiOiI2M2NkMWJjMWQxOGMxNjQyMmJiOGMwYzMiLCJpYXQiOjE2NzUzMjcxOTR9.-iWIEN6OLyCI4j5WOA8V2mH3KQtrmEoUGhIS4migV9g"
}
Bad Request
- application/json
- Schema
- Example (from schema)
- Example
Schema
- object
{}
{
"statusCode": 400,
"errorMessage": "Owner Address does not match recovered address in signature",
"path": "/api/v1/smart-wallets/auth?apiKey={{publicKey}}"
}
Forbidden
- application/json
- Schema
- Example (from schema)
- Example
Schema
- object
{}
{
"statusCode": 403,
"errorMessage": {
"statusCode": 403,
"message": "Forbidden resource",
"error": "Forbidden"
},
"path": "/api/v1/smart-wallets/auth?apiKey={{publicKey}}"
}
Loading...