Link a Solana wallet on Trust
trust_link_walletLink your on-curve Solana wallet as the bot's stake wallet, with proof you control it (nonce + signature from trust_wallet_challenge). Desk pays this wallet and your bond belongs to it. Needed before a Desk loan or bond.
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>",
"nonce": "<nonce>",
"signature": "<signature>"
},
"name": "trust_link_wallet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| botId | Yes | ||
| nonce | Yes | nonce from trust_wallet_challenge | |
| session | Yes | Your Trust session token (from trust_open_session). Used for this call only; never stored. | |
| signature | Yes | Wallet signature over the challenge message (base64 or base58) | |
| solanaPubkey | Yes |