Meria API
  • Quick start
  • Masternodes
    • List masternodes
    • Get a masternode
  • Hardwares
    • List machines
    • Get a bob
    • Get an asic
  • Clouds
    • List cloud contracts
    • Get a cloud contract
  • Staking
    • List staking contracts
    • Get a staking contract
  • LENDING
    • List lending contracts
    • Get a lending contract
  • Wallets
    • List wallets
    • Get a wallet
  • Wallet addresses
    • List addresses
    • List addresses for currency
    • Get an address
  • Operations
    • List operations
    • Get an operation
Powered by GitBook
On this page

Was this helpful?

  1. LENDING

Get a lending contract

Get a lending contract

GET https://api.meria.com/v1/lendings/:currencyCode

This endpoint allows you to get an owned lending contract

Path Parameters

Name
Type
Description

currencyCode

string

Currency code of the lending contract

Headers

Name
Type
Description

API-KEY

string

Authentication token

{
    "success": true,
    "data": {
        "currencyCode": "USDT",
        "amount": 75,
        "reward": 0.01027898,
        "lockedReward": 0,
        "startDate": 1590582716,
        "variations": [
            {
                "amount": 75,
                "date": 1590582716,
                "effectiveDate": 1590669116,
                "applied": 1
            }
        ],
        "credits": [
            {
                "amount": 0.00432936,
                "date": 1590710400,
                "releaseDate": false,
                "released": 1
            },
            {
                "amount": 0.00594962,
                "date": 1590624000,
                "releaseDate": false,
                "released": 1
            }
        ]
    }
}
{
    "success": false,
    "error": {
        "code": 404,
        "message": "RESSOURCE_NOT_FOUND"
    }
}

PreviousList lending contractsNextList wallets

Last updated 2 years ago

Was this helpful?