description |
---|
List of APIs exposed by the SyndLend nodes that can be consumed by the front-end applications. |
Endpoints are only for testing. Make RPC calls directly to the node in the client applications.
Make sure you have the latest version of node and npm installed
git clone https://github.com/consensolabs/syndlend-client
cd tests
npm install
node client.js
/service/participants
/service/loan/requests
Replace loanid
with the actual loan ID
/service/loan/:loanid/request
Invoker: Borrower Party
/service/loan/request
Invoker: Verifier Party (Manual trigger for now)
/service/loan/verify
Invoker: Agent Party
/service/loan/issue
Invoker: Agent/ Lender Party
/service/loan/issued
Invoker: Lender Party
service/propose/request
Invoker: Agent/ Borrower Party
/service/propose/request
Invoker: Agent Party
service/propose/response
Invoker: Agent Party
/service/loan/syndicate