Skip to main content

Get events of a contract

GET 

/v1/chains/:chainID/core/blocklog/events/contract/:contractHname

Get events of a contract

Request

Path Parameters

    chainID stringrequired

    ChainID (Bech32)

    contractHname stringrequired

    The contract hname (Hex)

Query Parameters

    block string

    Block index or trie root

Responses

The events

Schema
    events EventJSON[]required
  • Array [
  • contractID int32required

    Possible values: >= 1

    ID of the Contract that issued the event

    payload stringrequired

    payload

    timestamp int64required

    timestamp

    topic stringrequired

    topic

  • ]
Loading...