Assets
Assets represent the various financial instruments available on the platform, categorized by their type and features.Asset shape
An asset has the following properties:Types of assets
There are different types of assets available on the platform:Fiat
Fiat
National currencies issued by governments and regulated by central banks.Some examples of fiat assets are
USD, EUR, and GBP.Crypto
Crypto
Digital currencies that use cryptography for security and operate on decentralized networks.Some examples of crypto assets are
BTC, ETH, and USDT.Features
Each asset has a uniquecode and a set of features. These features determine the type of transactions that can be performed with the asset:
buy: The ability to purchase the asset, that is, when it’s specified as thedestinationin a transaction (e.g., asset associated with the destination node) and theoriginnode has a different asset.transfer: The ability to transfer the asset, that is, when theoriginanddestinationnode assets are the same.sell: The ability to sell the asset, that is, when it’s specified as theoriginnode in a transaction (e.g., asset associated to the account) and the destination node asset is different.deposit: The ability to perform a deposit of the asset when specified as origin node of a transaction (e.g., through an external account).withdraw: The ability to perform a withdrawal of the asset when specified as origin node of a transaction (e.g., through an external account).
Cooldowns
Cooldowns indicate temporary restrictions on specific features such as buy, deposit, or withdraw. When an asset is under a cooldown, the corresponding features will be temporarily unavailable until the cooldown period expires.financial-promotions: The rule applies during the first 24 hours after a user’s account is created, and affects thebuyanddepositfeatures.
Networks
Networks are the underlying protocol in which the transfer of certain assets are made.Network shape
A network has the following base properties:Types of networks
There are different types of networks available on the platform:Crypto
Crypto
Networks of type
crypto are blockchains that use cryptography to secure transactions.Examples of such networks are bitcoin, ethereum, and xrp-ledger.Card
Card
Networks of type
card are used for credit and debit card transactions.There is a single network under this type, which is card.Bank
Bank
Networks of type
bank refer to networks that facilitate direct bank transactions.Examples of such networks are sepa and fps.Rails
A rail is a combination of an asset and a network, which together define whether a deposit or a withdrawal of a given asset under that network is possible.Rail shape
A rail has the following base properties:decimals property on the rail is different than the decimals defined in the asset. If you are initiating a deposit or a withdrawal transaction, use the decimals of the corresponding rail to truncate or round the decimal places in the user interface.
Types of rails
There are different types of rails available on the platform, which are analogous to the types of networks:Crypto
Crypto
Rails of type
crypto are used for transferring crypto assets through blockchains.Card
Card
Rails of type
card are used for credit and debit card transactions.Bank
Bank
Rails of type
bank are used for direct bank transactions.Features and deposits / withdrawals
A deposit is possible if:- The rail has the
depositfeature. - The origin asset has the
depositfeature. - The destination asset has:
- The
transferfeature if the origin and destination assets are the same. - The
buyfeature if converting between assets.
- The
- The rail has the
withdrawfeature. - The origin asset has:
- The
transferfeature if the origin and destination assets are the same. - The
sellfeature if converting between assets.
- The
- The deposit asset has the
withdrawfeature.