Register Webhook
register_webhookRegister a callback URL to receive push notifications for Solana stake state changes. Get alerted on events like withdraw ready or epoch complete. Returns HMAC secret for verification.
Instructions
Register a callback URL to receive push notifications when stake state changes. Events: withdraw_ready, epoch_complete, stake_activated, stake_deactivated. Polls every 60s. Returns an HMAC secret for signature verification.
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": {
"walletAddress": "<walletAddress>",
"events": "<events>"
},
"name": "register_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| callbackUrl | No | HTTPS callback URL | |
| url | No | Alias for callbackUrl — either field works | |
| walletAddress | Yes | Wallet to monitor | |
| events | Yes | Event types |