Variables
There are 3 types of variables
Output variable
Output
variable is a variable, that references one of the previous call output values.
External variable
External
variable is a variable, that gets passed in variables
array with FCT
Global variable
Global
variable is a variable, that is accessible as global variable in function runtime on blockchain.
Global
variables that are available are (IDs):
blockNumber
- Block numberblockTimestamp
- Block timestampgasPrice
- Price of gas at the runtimeminerAddress
- Address, which mines the blockactivatorAddress
- Address, who activated the FCTblockHash
- Hash of the blockchain
Computed variable
Computed
variable is a variable, that can take any other variable and do mathematical equations to them.
Where can you use variables?
Variables can be used at any value parameter.
Last updated