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
-
enterpriseIdstring requiredYour enterprise id.
Query Params
-
genericAssetstring requiredNetwork-agnostic asset family. -
networkstring requiredNetwork identifier. -
namestringFilter destinations by name (case-insensitive partial match).
Header Params
-
user-idstring requiredUser id of the user making the request.
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.
-
accountsarray of objects requiredaccounts object
-
idstring required -
namestring required -
venueIdstring required -
venueNamestring required -
whitelistingEnabledboolean required -
subAccountsarray of objectssubAccounts object
-
idstring required -
namestring required -
venueIdstring required -
venueNamestring required -
whitelistingEnabledboolean required
-
-
401
Unauthorized
Response Body
object
-
errorNamestring required -
errorstring required
403
Forbidden
Response Body
object
-
errorNamestring required -
errorstring required
500
Internal Server Error
Response Body
object
-
errorNamestring required -
errorstring required