Tokenization

Remove LayerZero peers

Remove LayerZero peers to disconnect adapter contracts. This endpoint removes peer relationships between LayerZero adapters.

delete/tokenization/multichain/bridge/layerzero/config/peers

Request

Headers

Idempotency-Keystring

A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.

Request body

vaultAccountIdstring required

The id of the vault account that will be used to inititate transactions ot set peers

sourceAdapterTokenLinkIdstring uuid required

token_link ID of the source adapter contract

destinationAdapterTokenLinkIdsstring[] required

Array of token_link IDs for destination adapter contracts

bidirectionalboolean required

If true, also sets peers from destination(s) back to source

Example request

{
  "vaultAccountId": "0",
  "sourceAdapterTokenLinkId": "123-432-1234-1234-123456789012",
  "destinationAdapterTokenLinkIds": [
    "123-432-1234-1234-123456789012",
    "123-432-1234-1234-123456789012"
  ],
  "bidirectional": true
}

Response

LayerZero peers removal process completed

txnIdsstring[] required

Array of fireblocks transaction IDs, each corresponding to an on-chain transaction to set peers

Example response

{
  "txnIds": [
    "123-432-1234-1234-123456789012",
    "123-432-1234-1234-123456789012"
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.