REST APILinkLink Accounts

GET

List on-chain destinations for a given asset/network

Given a (genericAsset, network) pair, returns enterprise Link accounts the caller has link.account.view on that can on-chain-deposit at that asset/network. Has no source — used by the BitGo-wallet source flow, where the source has no Link venue context. Excludes accounts with status != active.

Path Params

  • enterpriseId string required
    Your enterprise id.

    at least 1 characters · matches ^[0-9a-f]{32}$

Query Params

  • genericAsset string required
    Network-agnostic asset family.

    at least 1 characters

  • network string required
    Network identifier.

    at least 1 characters

  • name string
    Filter destinations by name (case-insensitive partial match).

    at least 1 characters

Header Params

  • user-id string required
    User id of the user making the request.

    at least 1 characters

Responses

200
OK

Response Body

object

Response for GET /api/link/v1/enterprises/{enterpriseId}/on-chain-destinations.

Given a (genericAsset, network) pair, returns the enterprise Link accounts the caller can link.account.view that can on-chain-deposit at that asset/network. Has no source, so no hierarchy suppression and no sourceSupportsOnChainWithdrawal flag.

Reuses LinkExternalDestinationRow from /transfer-destinations — on-chain destinations are subtype-less in both responses (the receiving venue routes the deposit internally).

Not paginated — same rationale as /transfer-destinations.

  • accounts array of objects required
    accounts object
    • id string required
    • name string required

      at least 1 characters

    • venueId string required

      at least 1 characters

    • venueName string required

      at least 1 characters

    • whitelistingEnabled boolean required
    • subAccounts array of objects
      subAccounts object
      • id string required
      • name string required

        at least 1 characters

      • venueId string required

        at least 1 characters

      • venueName string required

        at least 1 characters

      • whitelistingEnabled boolean required
400
Bad Request
No response body
401
Unauthorized

Response Body

object

Standard structured error response payload for Link API v1 error responses. Contains an error name and human-readable error message.
  • errorName string required
  • error string required
403
Forbidden

Response Body

object

Standard structured error response payload for Link API v1 error responses. Contains an error name and human-readable error message.
  • errorName string required
  • error string required
500
Internal Server Error

Response Body

object

Standard structured error response payload for Link API v1 error responses. Contains an error name and human-readable error message.
  • errorName string required
  • error string required