Rarible · Schema

OlapCurrencyAmountWithChange

NFTNon-Fungible TokensMarketplaceAggregatorMultichainEthereumPolygonArbitrumFlowWeb3BlockchainCollectionsOrder BookTradingIndexer

Properties

Name Type Description
currency object
value number Amount of currency
changePercent number Change in percent. Calculated as / - 1
View JSON Schema on GitHub

JSON Schema

OlapCurrencyAmountWithChange.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "OlapCurrencyAmountWithChange",
  "required": [
    "currency",
    "value"
  ],
  "type": "object",
  "properties": {
    "currency": {
      "$ref": "#/components/schemas/OlapCurrencyType"
    },
    "value": {
      "type": "number",
      "description": "Amount of currency",
      "format": "bigdecimal"
    },
    "changePercent": {
      "type": "number",
      "description": "Change in percent. Calculated as <current period value> / <previous period value> - 1",
      "format": "bigdecimal"
    }
  }
}