3

is there exist a table so that we can know historic price from EOS mainnet? Or if we want to know the price of EOS Ram on specific time, which data we can get from EOS mainnet?

I know https://eos.feexplorer.io/ can help people know the history, but my question is how they can do that?

1

Update:

You could use demux to replay the blockchain then listen to RAM trades to create a mongodb database of each change in the RAM market table.


The only way I've seen is to query the table:

cleos -u https://nodes.get-scatter.com:443 get table eosio eosio rammarket

    {
      "rows": [{
          "supply": "10000000000.0000 RAMCORE",
          "base": {
            "balance": "11870290976 RAM",
            "weight": "0.50000000000000000"
          },
          "quote": {
            "balance": "5789275.3804 EOS",
            "weight": "0.50000000000000000"
          }
        }
      ],
      "more": false
    }

Price Formula:

enter image description here


enter image description here


https://developers.eos.io/eosio-cleos/reference#cleos-get-table

https://www.eosrp.io/ is open source as well if you care to look through their code: https://github.com/eosnewyork/erp

| improve this answer | |
  • thanks for you answer, but this is the lastest price, not historic price. – Dorsey Jul 9 '18 at 1:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.