GithubHelp home page GithubHelp logo

Comments (7)

ShaneMaglangit avatar ShaneMaglangit commented on June 24, 2024 1

The GraphQL API strictly only provides marketplace data. For use cases such as yours, you may use the game API or proxies around it.

from axie-graphql-documentation.

ShaneMaglangit avatar ShaneMaglangit commented on June 24, 2024 1

The axie/axies query provides a field that returns the current listing price of the given Axie. It is still under the auction field.

from axie-graphql-documentation.

LateusBetelgeuse avatar LateusBetelgeuse commented on June 24, 2024

I see. Thanks. Just to know. What about axies pricing? The GraphQL API provides information about auctions. But if an axie's price is fixed, I don't see how to obtain such price since action info is null.

from axie-graphql-documentation.

stdevCrow avatar stdevCrow commented on June 24, 2024

Apparently I tried to get the price of an Axie that I just put to sell, and the market were not aware yet and returned null. So yeah you're right, my bad.
btw I don't understand the non-USD pricing units. I just requested info about this axie: https://marketplace.axieinfinity.com/axie/4741429/
And the auction section returned:

'auction': {
  'startingPrice': '150000000000000000',
  'endingPrice': '150000000000000000',
  'startingTimestamp': '1633902144',
  'endingTimestamp': '1633988544',
  'duration': '86400',
  'timeLeft': '0',
  'currentPrice': '150000000000000000',
  'currentPriceUSD': '561.76',
  'suggestedPrice': '150000000000000000',
  'seller': '0xc1f5233e97f1a859e1aad4dcb32ba2d7426f8fd8',
  'listingIndex': 3189250,
  '__typename': 'Auction'
}

from axie-graphql-documentation.

stdevCrow avatar stdevCrow commented on June 24, 2024

Nevermind. After checking more Axies it appears that I must divide by 10^18 to get the actual ETH price. Thanks for everything and have a nice day.

from axie-graphql-documentation.

stdevCrow avatar stdevCrow commented on June 24, 2024

The GraphQL API strictly only provides marketplace data. For use cases such as yours, you may use the game API or proxies around it.

A last question: Do you have any idea about where I should start looking such game API or other proxies? I already found one to check the SLP given a ronin address. But I have not a single clue about MMR.

from axie-graphql-documentation.

rpascual0812 avatar rpascual0812 commented on June 24, 2024

The GraphQL API strictly only provides marketplace data. For use cases such as yours, you may use the game API or proxies around it.

A last question: Do you have any idea about where I should start looking such game API or other proxies? I already found one to check the SLP given a ronin address. But I have not a single clue about MMR.

Have you had any luck getting the MMR?

from axie-graphql-documentation.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.