Set LayerZero peers

Set LayerZero peers to establish connections between adapter contracts. This endpoint creates peer relationships that enable cross-chain communication. It sets the destination adapter as a peer of the source adapter. If bidirectional is true, it also sets the source adapter as a peer of the destination adapter(s).

Body Params
string
required

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

uuid
required

token_link ID of the source adapter contract

destinationAdapterTokenLinkIds
array of uuids
required
length ≥ 1

Array of token_link IDs for destination adapter contracts

destinationAdapterTokenLinkIds*
boolean
required

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

Headers
string

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.

Responses

Language
URL
Request
Response
Choose an example:
application/json