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).
Headers
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.
Body
The id of the vault account that will be used to inititate transactions ot set peers
"0"
token_link ID of the source adapter contract
"123-432-1234-1234-123456789012"
Array of token_link IDs for destination adapter contracts
1[
"123-432-1234-1234-123456789012",
"123-432-1234-1234-123456789012"
]If true, also sets peers from destination(s) back to source
true
Response
LayerZero peers set successfully
Array of fireblocks transaction IDs, each corresponding to an on-chain transaction to set peers
1[
"123-432-1234-1234-123456789012",
"123-432-1234-1234-123456789012"
]