REST API›Wallet & Transact›Key

GET

Lists the authenticated user's keys with optional cursor pagination and safe scoping.

checksum — consequence: the SDK cannot validate the checksum without server secrets. — consequence: shadow validation must accept both strings and string arrays.

Path Params

  • coin string required
    Coin or token identifier.

Query Params

  • limit string or array of strings
    Maximum number of keys to return.
  • prevId string
    Cursor returned by the preceding page.
  • safeId string
    Restrict the list to a safe administered by the caller.
  • envelopeOnly string
    When the exact string 'true', return the slim key shape consumed by the password-rotation walk (WCI-2309). Any other value is ignored.

Responses

200
OK

Response Body

object

  • keys array of objects required

    ONE OF

    • id string required
    • source string enum required
      usercoldbitgobackup
    • ethAddress string
    • derivedFromParentWithSeed string
    • derivedFromParentWithPath string
    • hsmType string enum
      institutionalnitroSDTrustNitrofrankfurtDETrustNitroawsKms
    • isBitGo boolean
    • isTrust boolean
    • encryptedPrv string
    • aspKeyId number
    • coinSpecific map of objects
      coinSpecific object
      • <key> object
    • commonKeychain string
    • verifiedVssProof boolean
    • commonPub string
    • commonPubSig string
    • provider string
    • distributedCustody string
    • webauthnDevices array of objects
      webauthnDevices object
      • authenticatorInfo object required
        The information about the authenticator
        authenticatorInfo object
        • credID string required
          The credential ID of the authenticator
        • fmt string required
          The format of the authenticator
        • publicKey string required
          The public key of the authenticator
      • encryptedPrv string required
        The encrypted private key
      • otpDeviceId string required
        The OTP device ID
      • prfSalt string required
        The PRF salt
    • migratedFrom string
    • parent string
    • type string enum required
      independent
    • pub string required
  • limit number required
    Maximum number of keys in this page.
  • nextBatchPrevId string
    Cursor for the next page, when more keys are available.
  • totalCount number
    Total matching keys, when available on the first page.
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
401
Unauthorized

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
403
Forbidden

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