{
  "opencollection": "1.0.0",
  "info": {
    "name": "BitGo Platform Addresses Staking API",
    "version": "2.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Staking",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List staking requests",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.bitgo.com/api/v2/:coin/wallet/:walletId/staking/requests",
            "params": [
              {
                "name": "coin",
                "value": "btc",
                "type": "path",
                "description": "The coin or token ticker (for example `btc`, `eth`, `hteth`, `sol`, `matic`). Testnet coins are prefixed with `t` (for example `tbtc`)."
              },
              {
                "name": "walletId",
                "value": "",
                "type": "path",
                "description": "The wallet identifier."
              }
            ]
          },
          "docs": "List staking and unstaking requests for a wallet."
        },
        {
          "info": {
            "name": "Create staking request",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://app.bitgo.com/api/v2/:coin/wallet/:walletId/staking/requests",
            "params": [
              {
                "name": "coin",
                "value": "btc",
                "type": "path",
                "description": "The coin or token ticker (for example `btc`, `eth`, `hteth`, `sol`, `matic`). Testnet coins are prefixed with `t` (for example `tbtc`)."
              },
              {
                "name": "walletId",
                "value": "",
                "type": "path",
                "description": "The wallet identifier."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a stake or unstake request for a supported proof-of-stake asset from a wallet."
        }
      ]
    }
  ],
  "bundled": true
}