📁
filecoin.loans
  • Introduction
  • Protocol
    • Lend FIL - ERC20 Tokens as Collateral
    • Lend ERC20 Tokens - FIL as Collateral
  • Develop
    • Requirements
    • Quickstart Guide
      • Setting up the Hardhat node
      • Running the server
      • Running the app
      • Setting up Metamask
  • Reference guide
    • Filecoin Loans Contracts
      • Interfaces
        • IBLAKE2b
        • IERC20
        • IPriceAggregator
      • Contracts
        • ERC20CollateralLock
        • ERC20Loans
    • API Reference
      • operation
        • FIL - ERC20 loan operations
        • ERC20 - FIL loan operations
      • loanAssets
      • protocolContracts
      • orders
      • loan
      • loans
      • notification
      • activity
  • Tools
    • filecoin-js-signer
      • API Reference
        • FilecoinSigner
          • msig
          • paych
          • tx
          • wallet
        • FilecoinClient
          • msig
          • paych
          • tx
          • wallet
      • Develop Guide
      • Credits and references
Powered by GitBook
On this page

Was this helpful?

  1. Reference guide
  2. API Reference

loanAssets

Get Loans Assets

GET https://localhost:3000/api/loanAssets/:networkId

This endpoint allows you to get available loans assets

Path Parameters

Name
Type
Description

networkId

string

Identifier of the network

 {"status":"OK","payload":{"0x5FbDB2315678afecb367f032d93F642f64180aa3":{"id":1,"name":"DAI Stablecoin","symbol":"DAI","contractAddress":"0x5FbDB2315678afecb367f032d93F642f64180aa3","blockchain":"Hardhat","networkId":"31337","status":"ACTIVE"}}}

PreviousERC20 - FIL loan operationsNextprotocolContracts

Last updated 3 years ago

Was this helpful?