Mesh Connect

App · 14 actions

Read Mesh payment transfers and browse supported networks, tokens and integrations.

Actions

ActionWhat it does
Discover pay-in (source) bridging routes for one or more payout destinations.Find the pay-in routes that can deliver funds to one or more payout destinations.
Discover payout (destination) bridging routes for fixed omnibus (source) legs.Find the payout routes available from fixed source networks and assets.
Get aggregated fiat balancesGet cached aggregated fiat balances from all connected integrations.
Get aggregated holdingsGet the aggregated portfolio of the user containing market values.
Get an indicative quote for bridging a given pay-in amount on a configured origin→destination route.Get an estimate of what a bridge would deliver for a given pay-in amount on one route, net of fees, along with the minimum amount.
Get integrationsList every integration Mesh supports for transfers, including which tokens and networks each supports.
Get Link tokenGet a short-lived, one-time use token for initializing a Link session using the client-side SDKs
Get Mesh transfersGet cryptocurrency transfers initiated by Mesh on exchanges or self-custody wallets.
Get networksList every network Mesh supports for transfers, including which tokens and integrations each supports, with the address format and contract address to validate against.
Get supported tokensGet the list of all tokens supported by Mesh to perform transfers, including which networks and integrations are supported.
Get transfer quoteGet a quote for transferring a fiat amount from a brokerage account in a given cryptocurrency over a specified network.
List available integrationsReturns a list of integrations with details including the integration ID, name, type, DeFi wallet provider ID, and categories.
List integration healthGet the list of supported institutions and their health statuses.
List wallet verification integrationsList the wallets and networks that can verify wallet ownership, and which pairs are supported.

Discover pay-in (source) bridging routes for one or more payout destinations.

Find the pay-in routes that can deliver funds to one or more payout destinations. Choose one route per source or every matching pair.

Inputs

DestinationsdestinationslistRequired
Destination networks and assets Mesh should match against configured bridging directions (CAIP-2 network + symbol per entry). At least one is required.
Optimizedoptimizedtrue/false
When true (default), return at most one destination per distinct source. When false, return every matching origin→destination pair.

Outputs

dataobject
The response from Mesh Connect.
Example output
{
  "data": {
    "content": {
      "routes": []
    },
    "displayMessage": "example",
    "errorData": "example",
    "errorHash": "example",
    "errorType": "example",
    "message": "example",
    "status": "ok",
    "teamCode": "example"
  }
}

Discover payout (destination) bridging routes for fixed omnibus (source) legs.

Find the payout routes available from fixed source networks and assets. Choose one route per destination or every matching pair.

Inputs

SourcessourceslistRequired
Source networks and assets (e.g. Stake omnibus chain + token). At least one is required.
Optimizedoptimizedtrue/false
When true (default), return at most one source per distinct destination. When false, return every matching origin→destination pair.

Outputs

dataobject
The response from Mesh Connect.
Example output
{
  "data": {
    "content": {
      "routes": []
    },
    "displayMessage": "example",
    "errorData": "example",
    "errorHash": "example",
    "errorType": "example",
    "message": "example",
    "status": "ok",
    "teamCode": "example"
  }
}

Get aggregated fiat balances

Get cached aggregated fiat balances from all connected integrations.

Inputs

User idrecord_user_idtext
End user ID to get the aggregated portfolio for.

Outputs

dataobject
The response from Mesh Connect.
Example output
{
  "data": {
    "content": {
      "fiatBalances": []
    },
    "displayMessage": "example",
    "errorData": "example",
    "errorHash": "example",
    "errorType": "example",
    "message": "example",
    "status": "ok",
    "teamCode": "example"
  }
}

Get aggregated holdings

Get the aggregated portfolio of the user containing market values.

Inputs

User idrecord_user_idtextRequired
End user ID to get the aggregated portfolio for.
Timezone offsettimezone_offsetnumber
Offset in second, used to calculate daily return for cryptocurrencies.

Outputs

dataobject
The response from Mesh Connect.
Example output
{
  "data": {
    "content": {
      "actualPortfolioPerformance": 1.0,
      "cryptocurrenciesValue": 1.0,
      "cryptocurrencyPositions": [],
      "equitiesValue": 1.0,
      "equityPositions": [],
      "nftPositions": [],
      "nftsValue": 1.0,
      "portfolioCostBasis": 1.0
    },
    "displayMessage": "example",
    "errorData": "example",
    "errorHash": "example",
    "errorType": "example",
    "message": "example",
    "status": "ok",
    "teamCode": "example"
  }
}

Get an indicative quote for bridging a given pay-in amount on a configured origin→destination route.

Get an estimate of what a bridge would deliver for a given pay-in amount on one route, net of fees, along with the minimum amount. Nothing is created.

Inputs

OriginoriginobjectRequired
The pay-in leg: network and asset that will be sent to the bridging address. Must match a configured route from deposit or withdrawal route discovery.
DestinationdestinationobjectRequired
The payout leg: network, asset, and the address that will receive the bridged funds. Must match a route from deposit or withdrawal route discovery together with `origin`.
AmountamountnumberRequired
Amount to be sent, denominated in the `origin` asset (e.g. `100` for 100 USDC). Must be greater than zero and at most 1,000,000,000.From 1e-18 to 1000000000.

Outputs

dataobject
The response from Mesh Connect.
Example output
{
  "data": {
    "content": {
      "constraints": {
        "maximumAmount": "example",
        "minimumAmount": "example"
      },
      "destination": {
        "address": "example",
        "asset": "example",
        "estimatedAmount": 1.0,
        "minimumAmount": 1.0,
        "network": "example"
      },
      "fees": {
        "items": {},
        "totalUsd": 1.0
      },
      "origin": {
        "amount": 1.0,
        "asset": "example",
        "network": "example"
      },
      "quotedAt": 1,
      "rate": 1.0,
      "warnings": []
    },
    "displayMessage": "example",
    "errorData": "example",
    "errorHash": "example",
    "errorType": "example",
    "message": "example",
    "status": "ok",
    "teamCode": "example"
  }
}

Get integrations

List every integration Mesh supports for transfers, including which tokens and networks each supports.

Inputs

None.

Outputs

dataobject
The response from Mesh Connect.
Example output
{
  "data": {
    "content": {
      "integrations": []
    },
    "displayMessage": "example",
    "errorData": "example",
    "errorHash": "example",
    "errorType": "example",
    "message": "example",
    "status": "ok",
    "teamCode": "example"
  }
}

Get a short-lived, one-time use token for initializing a Link session using the client-side SDKs

Inputs

User IDrecord_user_idtextRequired
A unique Id representing the end user. Typically this will be a user Id from the client application. Personally identifiable information, such as an email address or phone number, should not be used. 300 characters length maximum.
Broker typebroker_typeobject
Type of integration to redirect to. Will redirect to catalog if not provided. Not supported types: DeFiWallet, CryptocurrencyAddress, CryptocurrencyWallet.
Restrict multiple accountsrestrict_multiple_accountstrue/false
The final screen of Link allows users to “continue” back to your app or “Link another account.” If this param is present then this button will be hidden.
Transfer optionstransfer_optionsobject
Encapsulates transaction-related parameters, including destination addresses and the amount to transfer in fiat currency.
Integrationintegration_idtext
A unique identifier representing a specific integration obtained from the list of available integrations.
Disable api key generationdisable_api_key_generationtrue/false
For direct integrations that also support API keys, Link presents the user with the option to generate an API key for seamless access. If this param is true, this feature will be disabled.
Verify wallet optionsverify_wallet_optionsobject
Encapsulates verify DeFi wallet parameters.
Sub client IDsub_client_idtext
Sub Client ID, for B2B2B clients to tailor Link experience for their clients.

Outputs

dataobject
The response from Mesh Connect.
Example output
{
  "data": {
    "content": {
      "linkToken": "example",
      "paymentLink": "example"
    },
    "displayMessage": "example",
    "errorData": "example",
    "errorHash": "example",
    "errorType": "example",
    "message": "example",
    "status": "ok",
    "teamCode": "example"
  }
}

Get Mesh transfers

Get cryptocurrency transfers initiated by Mesh on exchanges or self-custody wallets.

Inputs

Countcountnumber
Number of items to return. Default 10, maximum - 1000.
Offsetoffsetnumber
Number of items to skip.
Transfer IDtransfer_idtext
Mesh transfer identifier.
Client transaction IDclient_transaction_idtext
Client transaction identifier.
User IDrecord_user_idtext
Client's user identifier.
Integration IDsintegration_idslist
Transfered integration.
Statusesstatuseslist
Transfer statuses.One or more of: pending, succeeded, failed, expired.
From timestampfrom_timestampdate and time
Transfer created minimum timestamp.
To timestampto_timestampdate and time
Transfer created maximum timestamp.
Min amount in fiatmin_amount_in_fiatnumber
Minimum amount in fiat.
Max amount in fiatmax_amount_in_fiatnumber
Maximum amount in fiat.
Hashhashtext
Transfer hash.
Sub client IDsub_client_idtext
Sub-client identifier.
Descending orderdescending_ordertrue/false
Value indicating if ordering is descending.
Include refund informationinclude_refund_informationtrue/false
When true, includes refund information (summary and details) in the response. This includes partial refund data with transaction hashes, statuses, and amounts. Default is false for backward compatibility.
Include webhooks logsinclude_webhooks_logstrue/false
When true, includes Transfer Status update webhooks data sent to client.

Outputs

dataobject
The response from Mesh Connect.
Example output
{
  "data": {
    "content": {
      "hasMorePages": false,
      "items": [],
      "range": {
        "count": 1,
        "end": 1,
        "isValid": false,
        "start": 1
      },
      "total": 1
    },
    "displayMessage": "example",
    "errorData": "example",
    "errorHash": "example",
    "errorType": "example",
    "message": "example",
    "status": "ok",
    "teamCode": "example"
  }
}

Get networks

List every network Mesh supports for transfers, including which tokens and integrations each supports, with the address format and contract address to validate against.

Inputs

None.

Outputs

dataobject
The response from Mesh Connect.
Example output
{
  "data": {
    "content": {
      "networks": []
    },
    "displayMessage": "example",
    "errorData": "example",
    "errorHash": "example",
    "errorType": "example",
    "message": "example",
    "status": "ok",
    "teamCode": "example"
  }
}

Get supported tokens

Get the list of all tokens supported by Mesh to perform transfers, including which networks and integrations are supported.

Inputs

None.

Outputs

dataobject
The response from Mesh Connect.
Example output
{
  "data": {
    "content": {
      "tokens": []
    },
    "displayMessage": "example",
    "errorData": "example",
    "errorHash": "example",
    "errorType": "example",
    "message": "example",
    "status": "ok",
    "teamCode": "example"
  }
}

Get transfer quote

Get a quote for transferring a fiat amount from a brokerage account in a given cryptocurrency over a specified network. Returns min and max fees and amounts to account for different funding sources (existing crypto balance, cash balance or ACH/debit deposit). Currently only supported for Coinbase.

Inputs

Amount in fiatamount_in_fiatnumberRequired
Base amount of fiat currency being transferred
Fiat currencyfiat_currencytextRequired
3 character currency code, e.g. USD
SymbolsymboltextRequired
Symbol of destination cryptocurrency, e.g. ETH
Networknetwork_idtextRequired
Unique id of destination network
To addressto_addresstextRequired
The designated destination for sending the asset.
Broker typebroker_typetextRequired
The type of the integration to send the asset fromOne of: robinhood, eTrade, alpaca, tdAmeritrade, weBull, stash, interactiveBrokers, public, coinbase, kraken, and 62 more.
Fee flatfee_flatnumber
Flat fee in crypto to be charged as a partner fee
Fee percentagefee_percentagenumber
Percentage of transfer amount to be charged as a partner fee, expressed as decimal (ie 0.1 = 10%)

Outputs

dataobject
The response from Mesh Connect.
Example output
{
  "data": {
    "content": {
      "amountInFiat": 1.0,
      "brokerPrice": 1.0,
      "brokerType": "robinhood",
      "fees": {
        "inCrypto": {},
        "inFiat": {}
      },
      "fiatCurrency": "example",
      "fundingOptions": [],
      "ineligibilityReason": {},
      "isEligible": false,
      "maxAmount": 1.0,
      "maxAmountFiat": 1.0,
      "maxEligibleAmount": 1.0,
      "maxEligibleAmountFiat": 1.0,
      "minAmount": 1.0,
      "minAmountFiat": 1.0,
      "minEligibleAmount": 1.0,
      "minEligibleAmountFiat": 1.0,
      "networkId": "example",
      "price": 1.0,
      "symbol": "example",
      "toAddress": "example"
    },
    "displayMessage": "example",
    "errorData": "example",
    "errorHash": "example",
    "errorType": "example",
    "message": "example",
    "status": "ok",
    "teamCode": "example"
  }
}

List available integrations

Returns a list of integrations with details including the integration ID, name, type, DeFi wallet provider ID, and categories.

Inputs

None.

Outputs

dataobject
The response from Mesh Connect.
Example output
{
  "data": {
    "content": {
      "items": []
    },
    "displayMessage": "example",
    "errorData": "example",
    "errorHash": "example",
    "errorType": "example",
    "message": "example",
    "status": "ok",
    "teamCode": "example"
  }
}

List integration health

Get the list of supported institutions and their health statuses.

Inputs

None.

Outputs

dataobject
The response from Mesh Connect.
Example output
{
  "data": {
    "content": [],
    "displayMessage": "example",
    "errorData": "example",
    "errorHash": "example",
    "errorType": "example",
    "message": "example",
    "status": "ok",
    "teamCode": "example"
  }
}

List wallet verification integrations

List the wallets and networks that can verify wallet ownership, and which pairs are supported.

Inputs

Integrationintegration_idtext
Only return this self-custody wallet. Use the same id you send as `integrationId` when creating a link token.
Networknetwork_idtext
Only return this network. Use the same id you send as `verifyWalletOptions.networkId` when creating a link token. With `integrationId` too, the response always holds that one pair, with `isSupported` and, when it cannot be verified, `unsupportedReason`.

Outputs

dataobject
The response from Mesh Connect.
Example output
{
  "data": {
    "content": {
      "integrations": []
    },
    "displayMessage": "example",
    "errorData": "example",
    "errorHash": "example",
    "errorType": "example",
    "message": "example",
    "status": "ok",
    "teamCode": "example"
  }
}

On this page