github.com/diadata-org/diadata@v1.4.593/pkg/dia/helpers/alephium-helper/blockevents_response.go (about)

     1  package alephiumhelper
     2  
     3  type ContractEvent struct {
     4  	TxID            string  `json:"txId"`
     5  	ContractAddress string  `json:"contractAddress"`
     6  	EventIndex      int     `json:"eventIndex"`
     7  	Fields          []Field `json:"fields"`
     8  }
     9  
    10  type BlockEventsResponse struct {
    11  	Events []ContractEvent `json:"events"`
    12  }