unified_block

Event Trigger

This event is triggered when:

  • A customer has a rule using the event_type as a variable type, with the variable set to block.
  • 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

FieldTypeDescription
block_hashstringThe block hash.
block_numberintegerThe block number.
block_timestampintegerThe UNIX timestamp when the block was mined/validated.
parent_hashstringThe hash of the parent block.

👋 Need Help?

Contact us through email or our support page for any issues, bugs, or assistance you may need.