Event Trigger
This event is triggered when:
- A customer has a rule using the
event_type
as a variable type, with the variable set toblock
. - A new
block
is mined or validated on the blockchain.
See the example below:
{
"protocol": "bitcoin",
"network": "mainnet",
"event_type": "unified_block",
"data": {
"block_hash": "0000000000000000000278b53131091627eaa00f772f3c7b2a59c374666520d7",
"block_number": 831663,
"block_timestamp": 1708679008,
"parent_hash": "00000000000000000001030ba3d1016bd94e4c48b90b3fd64d1b18bdb29c4f6f"
}
}
Schema
Field | Type | Description |
---|---|---|
block_hash | string | The block hash. |
block_number | integer | The block number. |
block_timestamp | integer | The UNIX timestamp when the block was mined/validated. |
parent_hash | string | The hash of the parent block. |
👋 Need Help?
Contact us through email or our support page for any issues, bugs, or assistance you may need.