Skip to main content
POST
Exchange a signed challenge for an API key

Body

application/json
address
string
required
challenge
string
required
signature
string
required

0x-hex sr25519 or ed25519 signature of the challenge by the wallet.

payer
enum<string>
default:grant
Available options:
grant,
credit
name
string
Maximum string length: 64

Response

OK

object
any
id
string
key
string

Shown once; only its hash is stored.

address
string
payer_mode
enum<string>
Available options:
grant,
credit
name
string | null
created_at
string<date-time>
note
string