# lib.ft4.core.accounts.strategies.transfer · FT4 Rell API · Chromia Docs (concept)

> Types account_creation_state Allows to discern what was the last action on an accountcreationtransfer. account_creation_transfer Represents a transfer that

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

PACKAGE

# lib.ft4.core.accounts.strategies.transfer

On this page

* [Types](#types)
* [Functions](#functions)
* [Properties](#properties)

## Types

[account\_creation\_state](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies.transfer/account_creation_state/)
:   Allows to discern what was the last action on an accountcreationtransfer.

[account\_creation\_transfer](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies.transfer/account_creation_transfer/)
:   Represents a transfer that had a non-existing recipient, for which at least one rule was

[fee\_asset](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies.transfer/fee_asset/)
:   Represents an asset that will be paid for a new account registration

[module\_args](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies.transfer/module_args/)
:   The configuration defined in the chromia.yml file.

[module\_args\_list\_element](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies.transfer/module_args_list_element/)
:   The moduleargs for this module accept a list of multiple entries. This represents

[pending\_transfer\_expiration\_state](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies.transfer/pending_transfer_expiration_state/)
:   Status of a transfer that was made to a non-existing account for its creation.

[pending\_transfer\_filter](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies.transfer/pending_transfer_filter/)
:   When querying for pending transfers, this can be used to filter responses.

## Functions

[collect\_pooled\_assets](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies.transfer/collect_pooled_assets/)
:   Moves the assets from the pool account where they were stored to the newly registered

[do\_transfer](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies.transfer/do_transfer/)
:   Sends all assets that were sent to the pool account for a registration to the actual account

[ensure\_chain\_fee\_account](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies.transfer/ensure_chain_fee_account/)
:   Returns the fee account for this chain, creating it if needed.

[ensure\_chain\_pool\_account](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies.transfer/ensure_chain_pool_account/)
:   Returns the pool account for this chain, creating it if needed.

[ensure\_fee\_account](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies.transfer/ensure_fee_account/)
:   Returns the fee account for a chain, creating it if needed. This function should not

[ensure\_pool\_account](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies.transfer/ensure_pool_account/)
:   Returns the pool account for a chain, creating it if needed. This function should not

[filter\_account\_creation\_transfer](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies.transfer/filter_account_creation_transfer/)
:   Utility for getpendingtransferstrategies. Returns whether an

[find\_allowed\_assets](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies.transfer/find_allowed_assets/)
:   Finds all assets that a certain sender on a certain chain can send to the specified account

[find\_allowed\_rules](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies.transfer/find_allowed_rules/)
:   Returns all rules on this chain that can be used to register an account given the parameters

[get\_allowed\_assets](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies.transfer/get_allowed_assets/)
:   Retrieves a list of assets that are allowed for account creation on this chain, given the

[get\_config](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies.transfer/get_config/)
:   Retrieves all rules following which a transfer can be used to register a new account.

[get\_pending\_transfer\_strategies](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies.transfer/get_pending_transfer_strategies/)
:   Retrieves all accountcreationtransfers that are pending (that is, not recalled nor

[get\_transfer\_rules](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies.transfer/get_transfer_rules/)
:   Returns a list of rules representing all conditions under which assets can be transferred

[has\_create\_transfer\_timed\_out](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies.transfer/has_create_transfer_timed_out/)
:   Checks whether the transfer has timed out. This means the transfer would have satisfied

[has\_pending\_create\_account\_transfer\_for\_strategy](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies.transfer/has_pending_create_account_transfer_for_strategy/)
:   Returns whether a certain pending accountcreationtransfer exists, which means that

[has\_tx\_expired](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies.transfer/has_tx_expired/)
:   Utility function which returns whether a transaction has expired, given the rule it was

[is\_asset\_amount\_allowed](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies.transfer/is_asset_amount_allowed/)
:   Utility function which returns whether a rule allows a certain amount of an asset to be sent

[is\_blockchain\_allowed](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies.transfer/is_blockchain_allowed/)
:   Utility function which returns whether a rule allows a certain blockchainrid as sender.

[is\_recipient\_allowed](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies.transfer/is_recipient_allowed/)
:   Utility function which returns whether a rule allows a certain account ID as recipient.

[is\_sender\_allowed](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies.transfer/is_sender_allowed/)
:   Utility function which returns whether a rule allows a certain account ID as sender.

[is\_strategy\_active](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies.transfer/is_strategy_active/)
:   Utility function which returns whether a rule allows a certain registration strategy.

[is\_value\_allowed](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies.transfer/is_value_allowed/)
:   Utility function which returns whether a value is allowed by a certain allowlist.

[parse\_fee\_asset](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies.transfer/parse_fee_asset/)
:   Parses a dictionary retrieved from the moduleargs of a module and returns the

[parse\_fee\_assets](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies.transfer/parse_fee_assets/)
:   Parses the moduleargs for a module, where the value contained is a list of feeassets.

[pool\_assets](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies.transfer/pool_assets/)
:   This method ensures that a rule exists for the transfer defined by the parameters passed,

[pool\_assets\_with\_rules](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies.transfer/pool_assets_with_rules/)
:   Creates an accountcreationtransfer entity given its parameters.

[recall\_transfer](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies.transfer/recall_transfer/)
:   Marks a specific accountcreationtransfer that has expired as recalled.

[required\_signers](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies.transfer/required_signers/)
:   Returns the required signers for a registeraccount operation in

[resolve\_allowed\_assets](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies.transfer/resolve_allowed_assets/)
:   Finds all assets that a certain rule allows for account registration.

[resolve\_fee\_assets](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies.transfer/resolve_fee_assets/)
:   Parses a list of feeassets, and returns a map of all the ones that could be mapped to

## Properties

[\_CONFIG\_ERROR\_TEXT\_TEMPLATE](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies.transfer/_-c-o-n-f-i-g_-e-r-r-o-r_-t-e-x-t_-t-e-m-p-l-a-t-e/)
:   A starting string for configuration errors in strategies using payments

[ACCOUNT\_TYPE\_POOL](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies.transfer/-a-c-c-o-u-n-t_-t-y-p-e_-p-o-o-l/)
:   Constant that represents the account type used to temporarily store assets of transfers

[ACCOUNT\_TYPE\_FEE](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies.transfer/-a-c-c-o-u-n-t_-t-y-p-e_-f-e-e/)
:   Constant that represent the account type used to store fees charged during account

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