fetchEvents
fetchEvents(
   publicKey: PublicKey, 
   tokenId: Field, 
   filterOptions: EventActionFilterOptions): Promise<{
  blockHash: event.blockInfo.stateHash;
  blockHeight: UInt32;
  chainStatus: event.blockInfo.chainStatus;
  events: {
     data: string[];
     transactionInfo: {
        hash: string;
        memo: string;
        status: string;
     };
  }[];
  globalSlot: UInt32;
  parentBlockHash: event.blockInfo.parentHash;
}[]>
Parameters
• publicKey: PublicKey
• tokenId: Field
• filterOptions: EventActionFilterOptions= {}
Returns
Promise\<{
blockHash: event.blockInfo.stateHash;
blockHeight: UInt32;
chainStatus: event.blockInfo.chainStatus;
events: {
data: string[];
transactionInfo: {
hash: string;
memo: string;
status: string;
};
}[];
globalSlot: UInt32;
parentBlockHash: event.blockInfo.parentHash;
}[]>
A list of emitted events associated to the given public key.