FlowEventName

FlowEventName Interface

The FlowEventName interface defines the structure for identifying a specific event on the Flow blockchain in the Flooks library.

Definition

export interface FlowEventName {
  contractAddress: string;
  contractName: string;
  eventName: string;
}

Properties

  • contractAddress: string
    • The address of the smart contract on the Flow blockchain where the event is defined.
  • contractName: string
    • The name of the smart contract.
  • eventName: string
    • The specific name of the event within the contract.

Usage

This interface is particularly useful for applications that need to subscribe to or handle specific events emitted by smart contracts on the Flow blockchain. By providing a clear and structured way to identify events, it facilitates easier and more reliable event handling.