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: - -
Property | -Definition | -
---|---|
header-hash |
- A 32-byte buffer containing the block hash. | -
burnchain-header-hash |
- A 32-byte buffer that contains the hash from the proof of burn. | -
vrf-seed |
- A 32-byte buffer containing the Verifiable Random Function (VRF) seed value used for the block. | -
time |
- An integer value containing that roughly corresponds to when the block was mined. This is a Unix epoch timestamp in seconds. | -
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.