From e169a7df12ae60109690db335919f728e9bca421 Mon Sep 17 00:00:00 2001 From: Alex Graebe Date: Wed, 15 Apr 2020 18:52:55 -0700 Subject: [PATCH] Removing block properties section --- _core/smart/clarityRef.md | 37 ------------------------------------- 1 file changed, 37 deletions(-) diff --git a/_core/smart/clarityRef.md b/_core/smart/clarityRef.md index 7279f099..cee2e05c 100644 --- a/_core/smart/clarityRef.md +++ b/_core/smart/clarityRef.md @@ -10,43 +10,6 @@ This file contains the reference for the Clarity language. * TOC {:toc} -## Block Properties - -The `get-block-info` function fetches property details for a block at a specified block height. For example: - -```cl -(get-block-info time 10) ;; Returns 1557860301 -``` - -Because the Clarity language is in early release, the block properties that are fetched are simulated properties from a SQLite database. The available property names are: - - - - - - - - - - - - - - - - - - - - - - -
PropertyDefinition
header-hashA 32-byte buffer containing the block hash.
burnchain-header-hashA 32-byte buffer that contains the hash from the proof of burn.
vrf-seedA 32-byte buffer containing the Verifiable Random Function (VRF) seed value used for the block.
timeAn integer value containing that roughly corresponds to when the block was mined. This is a Unix epoch timestamp in seconds.
- - -{% include warning.html content="The time does not increase monotonically with each block. Block times are accurate only to within two hours. See BIP113 for more information." %} - - ## Supported types This section lists the types available to smart contracts. The only atomic types supported by the Clarity are booleans, integers, fixed length buffers, and principals.