GMX · Schema

BigIntToString_StakingPowerData_

Recursively converts bigint types to string types in a type definition. Handles primitives, objects, arrays, and nested structures. Preserves Date type as-is.

DeFiPerpetual ExchangeDEXTradingLeverageLiquidity PoolsGLPGM TokensGLVArbitrumAvalancheWeb3

Properties

Name Type Description
loyaltyTrackingStart number
powerAccrualStart number
treasuryGmxBalance string
projectedRewardShare string
powerResetCount number
lastPowerResetAt number
loyaltyRatio number
currentStaked string
historicalMaxStaked string
userSharePercent number
totalNetworkPower string
cumulativePower string
View JSON Schema on GitHub

JSON Schema

BigIntToString_StakingPowerData_.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://api-evangelist.github.io/gmx/json-schema/BigIntToString_StakingPowerData_.json",
  "title": "BigIntToString_StakingPowerData_",
  "properties": {
    "loyaltyTrackingStart": {
      "type": "number",
      "format": "double"
    },
    "powerAccrualStart": {
      "type": "number",
      "format": "double"
    },
    "treasuryGmxBalance": {
      "type": "string"
    },
    "projectedRewardShare": {
      "type": "string"
    },
    "powerResetCount": {
      "type": "number",
      "format": "double"
    },
    "lastPowerResetAt": {
      "type": "number",
      "format": "double"
    },
    "loyaltyRatio": {
      "type": "number",
      "format": "double"
    },
    "currentStaked": {
      "type": "string"
    },
    "historicalMaxStaked": {
      "type": "string"
    },
    "userSharePercent": {
      "type": "number",
      "format": "double"
    },
    "totalNetworkPower": {
      "type": "string"
    },
    "cumulativePower": {
      "type": "string"
    }
  },
  "required": [
    "loyaltyTrackingStart",
    "powerAccrualStart",
    "treasuryGmxBalance",
    "projectedRewardShare",
    "powerResetCount",
    "lastPowerResetAt",
    "loyaltyRatio",
    "currentStaked",
    "historicalMaxStaked",
    "userSharePercent",
    "totalNetworkPower",
    "cumulativePower"
  ],
  "type": "object",
  "description": "Recursively converts bigint types to string types in a type definition.\nHandles primitives, objects, arrays, and nested structures.\nPreserves Date type as-is."
}