Auth
Retrieves nonce for authentication
GET
https://gateway-relay.herokuapp.com/auth/{wallet_address}/nonce
Path Parameters
Name
Type
Description
wallet_address*
string
address of the user's UP
{
nonce: 1955258057868615
}
Validate signature to authenticate user and provide jwt token
POST
https://gateway-relay.herokuapp.com/auth/{wallet_address}/signature
Path Parameters
Name
Type
Description
wallet_address*
string
address of the user's UP
{
success: true,
token: 'Bearer eyJh...LoYI', //full jwt token will go here
expiresIn: '6h'
}
Last updated