# load_variables · FT4 Rell API · Chromia Docs (concept)

> function load_ variables(op_ count: integer): map<text, gtv> Loads the current value of all possible variables that can appear in an auth descriptor
rule. 

Source: https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts/load_variables/

FUNCTION

# load\_variables

```signature
function load_variables(op_count: integer): map<text, gtv>
```

[Source](https://gitlab.com/chromaway/ft4-lib/-/blob/development/rell/src/lib/ft4/core/accounts/auth_descriptor_rule_validation.rell#lines-121)

Loads the current value of all possible variables that can appear in an auth descriptor
rule. This function thus loads:

* the number of operations the auth descriptor has performed, including the one we're
  currently validating for (`op_count`);
* the block height of the block being built (`block_height`);
* the timestamp of the last block (`block_time`).

Can only be called from an operation.

**Parameters**

* **op\_count** — the number of operations the auth descriptor has performed, as stored in the `ctr` property.

[View this page on docs.chromia.com](https://docs.chromia.com/pages/ft4-rell/-f-t4%20-library/lib.ft4.core.accounts/load_variables.html)Generated API reference, mirrored from the live docs
