REST APIWallet & TransactKey

GET

It is necessary to use correct MPC BitGo public GPG key when performing MPC operations. Different public keys might be necessary in different cases. This endpoint returns a valid GPG public key taking into account all factors, including: coin, user and enterprise feature flags. Using incorrect key may cause signing and wallet creation errors.

Path Params

  • coin string required
    A cryptocurrency symbol or token ticker symbol

Query Params

  • enterpriseId string
    Filter by enterprise. Allows to take enterprise settings into consideration.

    matches ^[0-9a-f]{32}$

Responses

200
OK

Response Body

object

  • enterpriseId string
    Enterprise id for the intended operation (if present in the request)
  • name string required
    Name of the key, used for simple identification. Matches MPC key namess in client constants
  • publicKey string
    BitGo MPC public key
  • mpcv2PublicKey string
    BitGo ECDSA MPCv2 public key
  • eddsaMpcv2PublicKey string
    BitGo EdDSA MPCv2 public key
400
Bad Request

Response Body

object

  • name string
    Error code
  • context map of objects required
    Properties that apply to a specific error name
    context object
    • <key> object
  • error string required
    Human-readable error message
  • requestId string required
    Client request id
500
Internal Server Error

Response Body

object

  • name string
    Error code
  • context map of objects required
    Properties that apply to a specific error name
    context object
    • <key> object
  • error string required
    Human-readable error message
  • requestId string required
    Client request id