Function decodeEvent

  • Returns decoded event

    Parameters

    • connection: Connection

      web3.Connection object

    • programId: PublicKey

      Deployed program ID for the SCORE program

    • event: string

      Event to decode

    Returns Promise<any>