Create a Variable

This endpoint allows you to create a variable that can be inserted into a Custom Webhook GraphQL statement.

If the variable does not exist, it is created with the provided items. If it already exists, the call is additive: existing items are unchanged, new items are appended, and duplicates are ignored (no error is thrown).

Path parameters

variablestringRequired
String denoting a Custom Webhook variable

Headers

X-Alchemy-TokenstringRequired
Alchemy Auth token to use the Notify API.

Request

This endpoint expects an object.
itemslist of stringsRequired

A variable defined as a set of addresses or byte32 elements. Must be non-empty.

Response

OK- Successful creation of a Custom Webhook variable

Errors