dag_getEvent

Parameters

Params - a string array containing (required):
  • string - the full event ID (hex-encoded 32 bytes) or short event ID.

Returns

object - An event object, or null when no event was found:
  • version - the event version.
  • epoch - the event epoch number.
  • seq - the event sequence number.
  • hash - DATA, 32 full event ID.
  • frame - event's frame number.
  • creator - the address of the event creator (validator).
  • prevEpochHash - the hash of the state of previous epoch
  • parents - array of event IDs
  • gasPowerLeft - event's not spent gas power.
  • gasPowerUsed - event's spent gas power.
  • lamport - event's Lamport index.
  • creationTime - the UnixNano timestamp of creator's local creation time.
  • medianTime - the UnixNano timestamp of the secure median time.
  • extraData - the "extra data" field of this event.
  • transactionsRoot - the root of the transaction trie of the event.
Copy link