Get a wallet-ownership challenge
trust_wallet_challengeStep 1 of linking or proving a Solana wallet: get a short-lived, single-use message and nonce. Sign the message (UTF-8 bytes) with that wallet's ed25519 key and pass the 64-byte signature (base64 or base58) to trust_link_wallet or trust_prove_wallet.
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": {
"botId": "<botId>",
"session": "<session>",
"solanaPubkey": "<solanaPubkey>"
},
"name": "trust_wallet_challenge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| botId | Yes | ||
| session | Yes | Your Trust session token (from trust_open_session). Used for this call only; never stored. | |
| solanaPubkey | Yes |