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

> function get_ account_ id_ for_ strategy(strategy_ op: gtx_ operation): byte_ array Retrieves an account id given the strategy operation, using the account

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

FUNCTION

# get\_account\_id\_for\_strategy

```signature
function get_account_id_for_strategy(strategy_op: gtx_operation): byte_array
```

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

Retrieves an account id given the strategy operation, using the `account_details` function
defined for the `_strategy` in question.

**Parameters**

* **strategy\_op** — the operation that defines the strategy

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