Lend
Get lending markets
Lookup lending market by asset
Get historical lending rates for assets
ModelsExpand Collapse
LendMarket = object { asset_info, rate, state } Lending market overview
Lending market overview
Asset identifiers with associated metadata
Asset identifiers with associated metadata
Provides a unique identifier for an asset for use throughout the Neptune API. IDs are unique across asset domains (contract tokens, native denoms, etc)
Provides a unique identifier for an asset for use throughout the Neptune API. IDs are unique across asset domains (contract tokens, native denoms, etc)
The asset's classification metadata. Assets are classfied to provide context on their
usage throughout the Neptune API (e.g. regular assets, neptune receipt tokens, LSTs, etc.)
Each asset belongs to only a single classification type.
This object contains metadata pertaining to the given classification.
While some fields may be common among the distinct classifcations,
each classification is distinct and subject to independent change.
The asset's classification metadata. Assets are classfied to provide context on their usage throughout the Neptune API (e.g. regular assets, neptune receipt tokens, LSTs, etc.)
Each asset belongs to only a single classification type. This object contains metadata pertaining to the given classification.
While some fields may be common among the distinct classifcations, each classification is distinct and subject to independent change.
Regular = object { kind, neptune_receipt_asset }
NeptuneReceiptToken = object { kind, origin_asset }
Additional metadata for assets
Additional metadata for assets
Denom exponent, or num. of decimal places that shift between denom/standard amounts (e.g. 18 for INJ)
Current lending market state
Current lending market state
extra: object { text, value }
text: object { principal_sum, receipt_total_supply, redemption_ratio } Human-readable field variants. Will not be null when query param with_text is true.
Human-readable field variants. Will not be null when query param with_text is true.
value: object { extra, price, principal_sum } USD values for the corresponding amounts above. Will not be null when query param with_value is true.
Note
This variant group contains an additional price field (set to the number used in value calculation).
The embedded text group will contain the text variant if with_text was specified as well.
USD values for the corresponding amounts above. Will not be null when query param with_value is true.
Note
This variant group contains an additional price field (set to the number used in value calculation).
The embedded text group will contain the text variant if with_text was specified as well.
LendMarketData = object { rate, state }
Current lending market state
Current lending market state
extra: object { text, value }
text: object { principal_sum, receipt_total_supply, redemption_ratio } Human-readable field variants. Will not be null when query param with_text is true.
Human-readable field variants. Will not be null when query param with_text is true.
value: object { extra, price, principal_sum } USD values for the corresponding amounts above. Will not be null when query param with_value is true.
Note
This variant group contains an additional price field (set to the number used in value calculation).
The embedded text group will contain the text variant if with_text was specified as well.
USD values for the corresponding amounts above. Will not be null when query param with_value is true.
Note
This variant group contains an additional price field (set to the number used in value calculation).
The embedded text group will contain the text variant if with_text was specified as well.
LendMarketState = object { extra, principal_sum, receipt_total_supply, redemption_ratio }
extra: object { text, value }
text: object { principal_sum, receipt_total_supply, redemption_ratio } Human-readable field variants. Will not be null when query param with_text is true.
Human-readable field variants. Will not be null when query param with_text is true.
value: object { extra, price, principal_sum } USD values for the corresponding amounts above. Will not be null when query param with_value is true.
Note
This variant group contains an additional price field (set to the number used in value calculation).
The embedded text group will contain the text variant if with_text was specified as well.
USD values for the corresponding amounts above. Will not be null when query param with_value is true.
Note
This variant group contains an additional price field (set to the number used in value calculation).
The embedded text group will contain the text variant if with_text was specified as well.