PACKAGE
lib.ft4.core.crosschain
On this page
Types
- applied_transfers
- Represents a crosschain transfer that has been applied on this chain.
- asset_origin
- The origin of a crosschain asset that can be used on this chain.
- asset_origin_filter
- Filter used for the query getassetoriginfiltered to fetch asset origins based on selected criteria
- canceled_transfers
- Represents a crosschain transfer that has been canceled.
- pending_transfer
- Represents a crosschain transfer that has been initialized.
- pending_transfer_filter
- Filter used for the query getpendingtransfersfiltered to fetch pending transfers based on selected criteria
- recalled_transfers
- Represents a crosschain transfer that has been recalled.
- reverted_transfer
- Represents a crosschain transfer that has been reverted.
- transfers_filter
- Filter used for the queries getappliedtransfersfiltered, getcanceledtransfersfiltered,
- unapplied_transfers
- Represents a crosschain transfer that has been unapplied.
Functions
- after_apply_transfer
- Extendable function that allows the developer to add more functionality to the
- after_crosschain_balance_change
- Extendable function that allows the developer to add more functionality to the
- after_init_transfer
- Extendable function that allows the developer to add more functionality to the
- before_apply_transfer
- Extendable function that allows the developer to add more functionality to the
- before_crosschain_balance_change
- Extendable function that allows the developer to add more functionality to the
- before_init_transfer
- Extendable function that allows the developer to add more functionality to the
- create_on_crosschain_transfer
- The crosschain equivalent of core.assets.createoninternaltransfer.
- ensure_blockchain_account
- Returns the blockchain account with the given ID, creating it if needed.
- get_applied_transfers_filtered
- Retrieves all applied transfers based on the selected filter of transfersfilter, paginated
- get_asset_origin_filtered
- Retrieves all asset origins based on the selected filter of assetoriginfilter, paginated
- get_canceled_transfers_filtered
- Retrieves all canceled transfers based on the selected filter of transfersfilter, paginated
- get_last_pending_transfer_for_account
- Retrieves only the last transfer that was not yet completed, based on the parameters
- get_paginated_pending_transfers
- Retrieves all transfers that were not yet completed, paginated.
- get_pending_transfers_filtered
- Retrieves all pending transfers based on the selected filter of pendingtransferfilter, paginated
- get_recalled_transfers_filtered
- Retrieves all recalled transfers based on the selected filter of transfersfilter, paginated
- get_reverted_transfers_filtered
- Retrieves all reverted transfers based on the selected filter of transfersfilter, paginated
- get_unapplied_transfers_filtered
- Retrieves all unapplied transfers based on the selected filter of transfersfilter, paginated
- is_blockchain
- Whether a certain account is a blockchain account
- is_create_on_crosschain_transfer_enabled
- Returns whether crosschain transfers can be used to create new accounts.
- map_applied_transfer
- Maps an appliedtransfers into a readable format for the frontend.
- map_asset_origin
- Maps an assetorigin into a readable format for the frontend.
- map_pending_transfer
- Maps a pendingtransfer into a readable format for the frontend.
- map_transfer
- Maps a transfer's inittxrid and initopindex into a readable format for the frontend.
- recall_on_crosschain_transfer
- The crosschain equivalent of core.assets.recalloninternaltransfer.
Properties
- ACCOUNT_TYPE_BLOCKCHAIN
- The account type for blockchain accounts.
- MAX_PATH_LENGTH
- NO_TRANSACTION_RID
- NO_OP_INDEX