Home / Emurgo / yoroi-graphql-migration-backend
Aug 01, 4-5 PM (0)
Aug 01, 5-6 PM (0)
Aug 01, 6-7 PM (0)
Aug 01, 7-8 PM (0)
Aug 01, 8-9 PM (0)
Aug 01, 9-10 PM (0)
Aug 01, 10-11 PM (0)
Aug 01, 11-12 AM (0)
Aug 02, 12-1 AM (0)
Aug 02, 1-2 AM (0)
Aug 02, 2-3 AM (0)
Aug 02, 3-4 AM (0)
Aug 02, 4-5 AM (0)
Aug 02, 5-6 AM (0)
Aug 02, 6-7 AM (0)
Aug 02, 7-8 AM (0)
Aug 02, 8-9 AM (0)
Aug 02, 9-10 AM (0)
Aug 02, 10-11 AM (0)
Aug 02, 11-12 PM (0)
Aug 02, 12-1 PM (0)
Aug 02, 1-2 PM (0)
Aug 02, 2-3 PM (0)
Aug 02, 3-4 PM (0)
Aug 02, 4-5 PM (0)
Aug 02, 5-6 PM (0)
Aug 02, 6-7 PM (0)
Aug 02, 7-8 PM (0)
Aug 02, 8-9 PM (0)
Aug 02, 9-10 PM (0)
Aug 02, 10-11 PM (0)
Aug 02, 11-12 AM (0)
Aug 03, 12-1 AM (0)
Aug 03, 1-2 AM (0)
Aug 03, 2-3 AM (0)
Aug 03, 3-4 AM (0)
Aug 03, 4-5 AM (0)
Aug 03, 5-6 AM (0)
Aug 03, 6-7 AM (0)
Aug 03, 7-8 AM (0)
Aug 03, 8-9 AM (0)
Aug 03, 9-10 AM (0)
Aug 03, 10-11 AM (0)
Aug 03, 11-12 PM (0)
Aug 03, 12-1 PM (0)
Aug 03, 1-2 PM (0)
Aug 03, 2-3 PM (0)
Aug 03, 3-4 PM (0)
Aug 03, 4-5 PM (0)
Aug 03, 5-6 PM (0)
Aug 03, 6-7 PM (1)
Aug 03, 7-8 PM (2)
Aug 03, 8-9 PM (0)
Aug 03, 9-10 PM (6)
Aug 03, 10-11 PM (3)
Aug 03, 11-12 AM (0)
Aug 04, 12-1 AM (0)
Aug 04, 1-2 AM (0)
Aug 04, 2-3 AM (0)
Aug 04, 3-4 AM (0)
Aug 04, 4-5 AM (0)
Aug 04, 5-6 AM (0)
Aug 04, 6-7 AM (0)
Aug 04, 7-8 AM (0)
Aug 04, 8-9 AM (0)
Aug 04, 9-10 AM (0)
Aug 04, 10-11 AM (0)
Aug 04, 11-12 PM (0)
Aug 04, 12-1 PM (0)
Aug 04, 1-2 PM (1)
Aug 04, 2-3 PM (0)
Aug 04, 3-4 PM (0)
Aug 04, 4-5 PM (0)
Aug 04, 5-6 PM (0)
Aug 04, 6-7 PM (0)
Aug 04, 7-8 PM (0)
Aug 04, 8-9 PM (0)
Aug 04, 9-10 PM (0)
Aug 04, 10-11 PM (0)
Aug 04, 11-12 AM (0)
Aug 05, 12-1 AM (3)
Aug 05, 1-2 AM (0)
Aug 05, 2-3 AM (0)
Aug 05, 3-4 AM (0)
Aug 05, 4-5 AM (0)
Aug 05, 5-6 AM (0)
Aug 05, 6-7 AM (0)
Aug 05, 7-8 AM (0)
Aug 05, 8-9 AM (0)
Aug 05, 9-10 AM (0)
Aug 05, 10-11 AM (0)
Aug 05, 11-12 PM (0)
Aug 05, 12-1 PM (0)
Aug 05, 1-2 PM (4)
Aug 05, 2-3 PM (3)
Aug 05, 3-4 PM (0)
Aug 05, 4-5 PM (0)
Aug 05, 5-6 PM (0)
Aug 05, 6-7 PM (0)
Aug 05, 7-8 PM (0)
Aug 05, 8-9 PM (0)
Aug 05, 9-10 PM (0)
Aug 05, 10-11 PM (8)
Aug 05, 11-12 AM (1)
Aug 06, 12-1 AM (0)
Aug 06, 1-2 AM (0)
Aug 06, 2-3 AM (0)
Aug 06, 3-4 AM (0)
Aug 06, 4-5 AM (0)
Aug 06, 5-6 AM (0)
Aug 06, 6-7 AM (0)
Aug 06, 7-8 AM (0)
Aug 06, 8-9 AM (0)
Aug 06, 9-10 AM (1)
Aug 06, 10-11 AM (0)
Aug 06, 11-12 PM (0)
Aug 06, 12-1 PM (0)
Aug 06, 1-2 PM (0)
Aug 06, 2-3 PM (0)
Aug 06, 3-4 PM (0)
Aug 06, 4-5 PM (0)
Aug 06, 5-6 PM (0)
Aug 06, 6-7 PM (0)
Aug 06, 7-8 PM (0)
Aug 06, 8-9 PM (0)
Aug 06, 9-10 PM (0)
Aug 06, 10-11 PM (4)
Aug 06, 11-12 AM (0)
Aug 07, 12-1 AM (0)
Aug 07, 1-2 AM (0)
Aug 07, 2-3 AM (0)
Aug 07, 3-4 AM (0)
Aug 07, 4-5 AM (0)
Aug 07, 5-6 AM (0)
Aug 07, 6-7 AM (0)
Aug 07, 7-8 AM (0)
Aug 07, 8-9 AM (0)
Aug 07, 9-10 AM (0)
Aug 07, 10-11 AM (0)
Aug 07, 11-12 PM (0)
Aug 07, 12-1 PM (0)
Aug 07, 1-2 PM (0)
Aug 07, 2-3 PM (0)
Aug 07, 3-4 PM (1)
Aug 07, 4-5 PM (0)
Aug 07, 5-6 PM (0)
Aug 07, 6-7 PM (1)
Aug 07, 7-8 PM (0)
Aug 07, 8-9 PM (0)
Aug 07, 9-10 PM (1)
Aug 07, 10-11 PM (1)
Aug 07, 11-12 AM (0)
Aug 08, 12-1 AM (1)
Aug 08, 1-2 AM (1)
Aug 08, 2-3 AM (0)
Aug 08, 3-4 AM (0)
Aug 08, 4-5 AM (2)
Aug 08, 5-6 AM (1)
Aug 08, 6-7 AM (1)
Aug 08, 7-8 AM (0)
Aug 08, 8-9 AM (0)
Aug 08, 9-10 AM (0)
Aug 08, 10-11 AM (0)
Aug 08, 11-12 PM (0)
Aug 08, 12-1 PM (0)
Aug 08, 1-2 PM (0)
Aug 08, 2-3 PM (0)
Aug 08, 3-4 PM (0)
Aug 08, 4-5 PM (0)
47 commits this week Aug 01, 2020 - Aug 08, 2020
add - pool history to poolInfo endpoint.
here's any example:
$  curl -X GET -H "Content-type: application/json" -d '{"poolMetaDataHashes":["a0b42a87829a0260f36d7f500b2142d0fd0bbe127c77110870db91340f44fdfc"]}' http://localhost:8082/getPoolInfo | jq
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  4931  100  4840  100    91  10731    201 --:--:-- --:--:-- --:--:-- 10933
```js
{
  "a0b42a87829a0260f36d7f500b2142d0fd0bbe127c77110870db91340f44fdfc": {
    "info": {
      "name": "CAN-ADA.IO",
      "ticker": "MAPLE",
      "description": "Safe/Reliable/Secure - Experienced Canadian IT/software development professional. Let's grow Cardano together!",
      "homepage": "https://can-ada.io",
      "nonce": "1596064742",
      "pledge_address": "e1d33cabe9bc7a7646243c03f062881d06744b3d53983823178973b9b0"
    },
    "history": [
      {
        "epoch": 208,
        "slot": 2760,
        "tx_ordinal": 2,
        "cert_ordinal": 0,
        "payload": {
          "kind": "PoolRegistration",
          "certIndex": 0,
          "poolParams": {
            "operator": "469fbad36a8a68c5f62f3505ecbe6a461ea262ae20b4de8d39ff08ab",
            "vrfKeyHash": "d15e3ddd3b35456c4f19be6184fa505ae88b87f0e243d361b375f5256197e7b4",
            "pledge": 51000000000,
            "cost": 340000000,
            "margin": 0.01,
            "rewardAccount": "e1d33cabe9bc7a7646243c03f062881d06744b3d53983823178973b9b0",
            "poolOwners": [
              "d33cabe9bc7a7646243c03f062881d06744b3d53983823178973b9b0"
            ],
            "relays": [
              {
                "ipv4": "104.197.180.29",
                "ipv6": null,
                "dnsName": null,
                "dnsSrvName": null,
                "port": 55444
              },
              {
                "ipv4": "34.83.211.149",
                "ipv6": null,
                "dnsName": null,
                "dnsSrvName": null,
                "port": 55444
              },
              {
                "ipv4": "35.203.18.48",
                "ipv6": null,
                "dnsName": null,
                "dnsSrvName": null,
                "port": 55444
              },
              {
                "ipv4": null,
                "ipv6": null,
                "dnsName": "relays.can-ada.io",
                "dnsSrvName": null,
                "port": 55444
              },
              {
                "ipv4": null,
                "ipv6": null,
                "dnsName": "relays-can-ada-io.cloudns.cl",
                "dnsSrvName": null,
                "port": 55444
              }
            ],
            "poolMetadata": {
              "url": "https://can-ada.io/maplepool.json",
              "metadataHash": "5918622d00c5d9159feb470e882f4dbecb04dc3df2e999e2f8e32ef0bd77de53"
            }
          }
        }
      },
      {
        "epoch": 208,
        "slot": 3500,
        "tx_ordinal": 6,
        "cert_ordinal": 0,
        "payload": {
          "kind": "PoolRegistration",
          "certIndex": 0,
          "poolParams": {
            "operator": "469fbad36a8a68c5f62f3505ecbe6a461ea262ae20b4de8d39ff08ab",
            "vrfKeyHash": "d15e3ddd3b35456c4f19be6184fa505ae88b87f0e243d361b375f5256197e7b4",
            "pledge": 51000000000,
            "cost": 340000000,
            "margin": 0.01,
            "rewardAccount": "e1d33cabe9bc7a7646243c03f062881d06744b3d53983823178973b9b0",
            "poolOwners": [
              "d33cabe9bc7a7646243c03f062881d06744b3d53983823178973b9b0"
            ],
            "relays": [
              {
                "ipv4": "104.197.180.29",
                "ipv6": null,
                "dnsName": null,
                "dnsSrvName": null,
                "port": 55444
              },
              {
                "ipv4": "34.83.211.149",
                "ipv6": null,
                "dnsName": null,
                "dnsSrvName": null,
                "port": 55444
              },
              {
                "ipv4": "35.203.18.48",
                "ipv6": null,
                "dnsName": null,
                "dnsSrvName": null,
                "port": 55444
              },
              {
                "ipv4": null,
                "ipv6": null,
                "dnsName": "relays.can-ada.io",
                "dnsSrvName": null,
                "port": 55444
              },
              {
                "ipv4": null,
                "ipv6": null,
                "dnsName": "relays-can-ada-io.cloudns.cl",
                "dnsSrvName": null,
                "port": 55444
              }
            ],
            "poolMetadata": {
              "url": "https://can-ada.io/maplepool.json",
              "metadataHash": "5918622d00c5d9159feb470e882f4dbecb04dc3df2e999e2f8e32ef0bd77de53"
            }
          }
        }
      },
      {
        "epoch": 208,
        "slot": 5160,
        "tx_ordinal": 2,
        "cert_ordinal": 0,
        "payload": {
          "kind": "PoolRegistration",
          "certIndex": 0,
          "poolParams": {
            "operator": "469fbad36a8a68c5f62f3505ecbe6a461ea262ae20b4de8d39ff08ab",
            "vrfKeyHash": "d15e3ddd3b35456c4f19be6184fa505ae88b87f0e243d361b375f5256197e7b4",
            "pledge": 51000000000,
            "cost": 340000000,
            "margin": 0.01,
            "rewardAccount": "e1d33cabe9bc7a7646243c03f062881d06744b3d53983823178973b9b0",
            "poolOwners": [
              "d33cabe9bc7a7646243c03f062881d06744b3d53983823178973b9b0"
            ],
            "relays": [
              {
                "ipv4": "104.197.180.29",
                "ipv6": null,
                "dnsName": null,
                "dnsSrvName": null,
                "port": 55444
              },
              {
                "ipv4": "34.83.211.149",
                "ipv6": null,
                "dnsName": null,
                "dnsSrvName": null,
                "port": 55444
              },
              {
                "ipv4": "35.203.18.48",
                "ipv6": null,
                "dnsName": null,
                "dnsSrvName": null,
                "port": 55444
              },
              {
                "ipv4": null,
                "ipv6": null,
                "dnsName": "relays.can-ada.io",
                "dnsSrvName": null,
                "port": 55444
              },
              {
                "ipv4": null,
                "ipv6": null,
                "dnsName": "relays-can-ada-io.cloudns.cl",
                "dnsSrvName": null,
                "port": 55444
              }
            ],
            "poolMetadata": {
              "url": "https://can-ada.io/maplepool.json",
              "metadataHash": "768dd5c2f36f37f2faf77bbf0c90818103a62955888d717b5e1cc67a4a072108"
            }
          }
        }
      },
      {
        "epoch": 208,
        "slot": 5720,
        "tx_ordinal": 5,
        "cert_ordinal": 0,
        "payload": {
          "kind": "PoolRegistration",
          "certIndex": 0,
          "poolParams": {
            "operator": "469fbad36a8a68c5f62f3505ecbe6a461ea262ae20b4de8d39ff08ab",
            "vrfKeyHash": "d15e3ddd3b35456c4f19be6184fa505ae88b87f0e243d361b375f5256197e7b4",
            "pledge": 51000000000,
            "cost": 340000000,
            "margin": 0.01,
            "rewardAccount": "e1d33cabe9bc7a7646243c03f062881d06744b3d53983823178973b9b0",
            "poolOwners": [
              "d33cabe9bc7a7646243c03f062881d06744b3d53983823178973b9b0"
            ],
            "relays": [
              {
                "ipv4": "104.197.180.29",
                "ipv6": null,
                "dnsName": null,
                "dnsSrvName": null,
                "port": 55444
              },
              {
                "ipv4": "34.83.211.149",
                "ipv6": null,
                "dnsName": null,
                "dnsSrvName": null,
                "port": 55444
              },
              {
                "ipv4": "35.203.18.48",
                "ipv6": null,
                "dnsName": null,
                "dnsSrvName": null,
                "port": 55444
              },
              {
                "ipv4": null,
                "ipv6": null,
                "dnsName": "relays.can-ada.io",
                "dnsSrvName": null,
                "port": 55444
              },
              {
                "ipv4": null,
                "ipv6": null,
                "dnsName": "relays-can-ada-io.cloudns.cl",
                "dnsSrvName": null,
                "port": 55444
              }
            ],
            "poolMetadata": {
              "url": "https://can-ada.io/maplepoolmeta.json",
              "metadataHash": "a0b42a87829a0260f36d7f500b2142d0fd0bbe127c77110870db91340f44fdfc"
            }
          }
        }
      },
      {
        "epoch": 208,
        "slot": 14000,
        "tx_ordinal": 3,
        "cert_ordinal": 0,
        "payload": {
          "kind": "PoolRetirement",
          "certIndex": 0,
          "poolKeyHash": "469fbad36a8a68c5f62f3505ecbe6a461ea262ae20b4de8d39ff08ab",
          "epoch": 209
        }
      }
    ]
  }
}
```