Global
Global variables holds blockchain values that are connected to the running native transaction.
How to use
The returned data are kept in bytes format for each call. That means that in order to use a variable there is a need to tell the FCT engine from what call and with what offset the value exist.
Block Number
0xFB0A000000000000000000000000000000000000
or
0xFB0A000000000000000000000000000000000000000000000000000000000000
Block Timestamp
0xFB0B000000000000000000000000000000000000
or
0xFB0B000000000000000000000000000000000000000000000000000000000000
Gas Price
0xFB0C000000000000000000000000000000000000
or
0xFB0C000000000000000000000000000000000000000000000000000000000000
FB stands for "Future Blockchain"
Miner
Address
Miner
Address0xFA0A000000000000000000000000000000000000
Activator Address
0xFA0D000000000000000000000000000000000000
Funder Address
0xFA0C000000000000000000000000000000000000
FA stands for "Future Address"
Block Hash
Hash of one of the recent 256 blocks. The number is the distance from the current block.
The available range is:
0x00FF00000000000000000000000000000000000000
...
0x00FF000000000000000000000000000000000000ff
or
0xFF00000000000000000000000000000000000000000000000000000000000000
...
0xFF000000000000000000000000000000000000000000000000000000000000ff
If current block is 10,400,100 "0xFB0D000....0002" holds the hash of block 10,400,097
Last updated