JavaScript
import { Avalanche } from "@avalanche-sdk/chainkit"; const avalanche = new Avalanche(); async function run() { const result = await avalanche.webhooks.generateOrRotateSharedSecret(); console.log(result); } run();
{ "secret": "<string>" }
Generates a new shared secret or rotate an existing one.
Api keys provide higher access to rate limits. To obtain an api key, sign up for an account at https://avacloud.io/.
Successful response
Was this page helpful?