old-balance-ios icon indicating copy to clipboard operation
old-balance-ios copied to clipboard

📊 No pricing for REP tokens

Open ricburton opened this issue 5 years ago • 5 comments

There is no price feed for my 1.4 REP.

ricburton avatar Mar 14 '19 02:03 ricburton

Turns out Ethplorer doesn't have a price for REP tokens:

â–¿ Optional<TokenInfoResponse>
  â–¿ some : TokenInfoResponse
    â–¿ address : Optional<String>
      - some : "0x1985365e9f78359a9b6ad760e32412f4a445e862"
    â–¿ name : Optional<String>
      - some : "Reputation"
    â–¿ decimals : Optional<String>
      - some : "18"
    â–¿ symbol : Optional<String>
      - some : "REP"
    â–¿ totalSupply : Optional<String>
      - some : "11000000000000000000000000"
    â–¿ owner : Optional<String>
      - some : ""
    â–¿ lastUpdated : Optional<UInt64>
      - some : 1552544919
    â–¿ issuancesCount : Optional<UInt64>
      - some : 0
    â–¿ holdersCount : Optional<UInt64>
      - some : 7717
    â–¿ ethTransfersCount : Optional<UInt64>
      - some : 0
    - price : nil

einsteinx2 avatar Mar 14 '19 06:03 einsteinx2

This is the JSON we're getting:

{
  "address": "0x1985365e9f78359a9b6ad760e32412f4a445e862",
  "name": "Reputation",
  "decimals": "18",
  "symbol": "REP",
  "totalSupply": "11000000000000000000000000",
  "owner": "",
  "lastUpdated": 1552544919,
  "issuancesCount": 0,
  "holdersCount": 7717,
  "ethTransfersCount": 0,
  "price": false
}

So it's not a parsing bug.

einsteinx2 avatar Mar 14 '19 06:03 einsteinx2

Good to know—thanks.

Richard On 14 Mar 2019, 06:41 +0000, Ben Baron [email protected], wrote:

This is the JSON we're getting: { "address": "0x1985365e9f78359a9b6ad760e32412f4a445e862", "name": "Reputation", "decimals": "18", "symbol": "REP", "totalSupply": "11000000000000000000000000", "owner": "", "lastUpdated": 1552544919, "issuancesCount": 0, "holdersCount": 7717, "ethTransfersCount": 0, "price": false } So it's not a parsing bug. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

ricburton avatar Mar 14 '19 06:03 ricburton

I think #116 would solve this.

ricburton avatar Mar 29 '19 09:03 ricburton

Marking blocked as we can't switch to Amberdata yet

einsteinx2 avatar Mar 30 '19 00:03 einsteinx2