Hotspots

Firstly, we have the hotspots table. This tables comprises of the following parameters:

  • Name
  • Geocode (Location)
  • Address
  • Longitude
  • Latitude
  • Timestamp_Added
  • Status
  • Reward_Scale
  • Payer
  • Owner
  • Nonce
  • Mode
  • Location_Hex
  • Location
  • Last_POC_Challenge
  • Last_Change_Block
  • Gain
  • Elevation
  • Block_Added
  • Block


  • Helium API Query - Name

    To run a query and find all global names that contain the string "dragon" for example, execute the API call with the following:

    http://www.rexythebot.com:3000/name/dragon

    Of course you may try any other string aside from "dragon".

    For names that contain multiple words, include a "-" for example "feisty-beige":

    http://www.rexythebot.com:3000/name/feisty-beige


    Helium API Query - Geocode (Location)

    To execute an API call for a location, for instance all hotspots in "berlin" use the following:

    http://www.rexythebot.com:3000/geocode/berlin

    If the geocode includes a space, no problem:

    http://www.rexythebot.com:3000/geocode/san francisco

    The geocode can include all types of location detail, be it country or even street details:

    http://www.rexythebot.com:3000/geocode/italy

    http://www.rexythebot.com:3000/geocode/elm street

    http://www.rexythebot.com:3000/geocode/florida


    Helium API Query - Owner

    To return details for a specific owner (including all hotspots that belong to the owner), say for the owner "13qSBpq4SttoMkMtFLgJUt5MtYijAjsT1HYPE7yCJUswyyue9aG" use the following:

    http://www.rexythebot.com:3000/owner/13qSBpq4SttoMkMtFLgJUt5MtYijAjsT1HYPE7yCJUswyyue9aG

    Helium API Query - Duplicates

    To run a query and find all DUPLICATE names i.e 2 or more, execute the API call with the following:

    http://www.rexythebot.com:3000/duplicates


    Helium API Query - Owners with Multiple Hotspots

    To run a query and find owners with more than 1 hotspot (descending order), execute the API call with the following:

    http://www.rexythebot.com:3000/omh