API Docs
Provision Watcher Link

Generates a new watcher link

Example

mutation provisionWatcherLink {
  provisionWatcherLink(input: { uname: "newsubaccount_name", mpn: BTC }) {
    watcherLink {
      createdAt
      miningProfileName
      code
      views
    }
  }
}

Response

{
  "data": {
    "provisionWatcherLink": {
      "watcherLink": {
        "createdAt": "2023-01-12T19:40:43.057028+00:00",
        "miningProfileName": "BTC",
        "code": "4dc72667cb00a4b1c33e9234df6a855d",
        "views": 0
      }
    }
  }
}

Arguments

input (ProvisionWatcherLinkInput!)

The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields.

Type

ProvisionWatcherLinkPayload

The output of our provisionWatcherLink mutation.