# [Ride v5] Built-in variables
⚠️ This is the documentation for the Standard library version 5. We recommend to use version 6. Go to version 6
A built-in variable is a variable of the Standard library.
Name | Description |
---|---|
Buy | Order type |
| Rounding methods used in the math functions fraction , log , pow |
height | Blockchain height at the script execution time |
lastBlock | Information about the last block of the blockchain at the script execution time |
nil | Variable that contains an empty list. The variable is used for creating lists. For example, instead of:
you can write:
Lists are created using both methods. The first method is a syntactic sugar
|
| Variables that are passed as the first parameter to the rsaVerify function |
Sell | Order type |
this | • For a dApp script or an account script: the Address structure • For an asset script: the Asset structure |
tx | Transaction or order |
unit | Variable that contains an object of Unit type. Example 1 the deposit function transfers 5 WAVELETs to the account, that called this function.
Example 2 Instead of calling the
|