Here you can find useful guides on how to use the core features of the trustlines-clientlib.
The trustlines-clientlib returns numbers in the following format
raw is the number in its smallest unit, whereas
value is the representation in its biggest unit.
There are currently three different types of fees returned by the trustlines-clientlib, when preparing transactions.
Transaction fees -
This kind of fees only occur, when the
walletType in the initial configuration is set to
They are denominated in the native cryptocurrency or coins, e.g.
Delegation fees -
walletType is set to
identity, the library uses meta-transactions that are relayed, i.e delegated, by the relay server.
The relay server operator pays for the occurring transaction fees and might want to be compensated for this service.
These fees are denominated in a Trustlines Currency.
Network fees -
When transfers are mediated through other users within the network, network fees might occur, which are also denominated in a Trustlines Currency.