magicblock challenge
magicblock_challengeGenerate a challenge string for a Solana wallet to sign as the first step of the PER authentication flow. Requires the wallet's public key.
Instructions
Generate a challenge string for the wallet to sign (step 1 of the PER auth flow)..
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": {
"pubkey": "<pubkey>"
},
"name": "magicblock_challenge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pubkey | Yes | Wallet pubkey that will sign the challenge | |
| cluster | No | Cluster: 'mainnet', 'devnet', or custom RPC URL |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | MCP content blocks returned to the caller. | |
| isError | No | True when the tool result represents an application-level error. |