Auth
POST/api/v2/smart-wallets/auth
Authenticate user using signed data standard EIP-191
Request
Query Parameters
apiKey string
(Required) Your Public API key
Example: {{publicKey}}
- application/json
 
Body
hash string
signature string
ownerAddress string
smartWalletAddress 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/v2/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/v2/smart-wallet/auth?apiKey={{publicKey}}"
}
Loading...