Exchange a signed proof for a token
loginStep 2: exchange the signed ROLA proof for a 12h Bearer token — the same verification the human wallet flow runs. Send the returned token as an HTTP Authorization: Bearer <token> header on every later tool call; tool arguments never carry it.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"challenge": "<challenge>",
"address": "<address>",
"publicKey": "<publicKey>",
"signature": "<signature>",
"curve": "<curve>"
},
"name": "login"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| curve | Yes | Signing curve (Ed25519 = "curve25519") | |
| address | Yes | Your account address (virtual account of the signing key) | |
| challenge | Yes | The challenge from get_challenge | |
| publicKey | Yes | Ed25519 public key, hex | |
| signature | Yes | Signature over the ROLA message, hex |