Concordium / concordium-wallet-proxy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add an endpoint to check whether the proxy supports new transactions

abizjak opened this issue · comments

Task description

The mobile wallet should only allow transfers with memos once they are enabled. To enable the wallet to check this the wallet-proxy must be updated to provide this information.

This should be in the form of an endpoint
v0/transactionEnabled?type=... (format/parameters analogous to the transactionCost endpoint) that should return a JSON boolean whether the transaction type is enabled or not.

It should use the endpoint provided in Concordium/concordium-node#116 to determine the answer.