Most of the getter functions in the library are not pure. They depend on which user is loaded in the state and restrict the functionality of the relay REST API.
Refactor getter functions to be pure, i.e.
// not pure
tlNetwork.trustline.get(network, counterpartyAddress)
// pure
tlNetwork.trustline.get(network, user, counterpartyAddress)
Most of the getter functions in the library are not pure. They depend on which user is loaded in the state and restrict the functionality of the relay REST API.
Refactor getter functions to be pure, i.e.