Function delete_webhook
Source pub async fn delete_webhook(
agent: &SolanaAgentKit,
webhook_id: &str,
) -> Result<Value, Box<dyn Error>>
Expand description
Deletes a Helius Webhook by its ID.
§Arguments
agent - An instance of SolanaAgentKit (with .config.HELIUS_API_KEY)
webhook_id - The unique ID of the webhook to delete
§Returns
The response body from the Helius API (which may contain status or other info)