1Shot API icon

1Shot API

Interact with EVM blockchains via 1Shot API

Contract Event → Delete

AI-generated

Overview

This node operation deletes a specified Contract Event from the 1Shot API platform. It is useful in scenarios where a user needs to remove an existing contract event by specifying its name or ID, such as cleaning up outdated or incorrect contract events in a blockchain environment.

Use Case Examples

  1. Deleting a contract event by selecting it from a list of available contract events.
  2. Removing a contract event by specifying its ID using an expression.

Properties

Name Meaning
Contract Event Name or ID The identifier or name of the contract event to delete, chosen from a list or specified via an expression.

Output

JSON

  • json - The JSON response confirming the deletion of the specified contract event.

Dependencies

  • Requires an OAuth2 API credential for authentication with the 1Shot API.

Troubleshooting

  • Ensure the Contract Event ID or name is valid and exists; otherwise, the deletion will fail.
  • Check that the OAuth2 API credentials are correctly configured and have the necessary permissions to delete contract events.
  • If the node throws an unsupported operation error, verify that the resource is set to 'Contract Event' and the operation to 'Delete'.

Discussion