Tokenization
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).
post/tokenization/multichain/bridge/layerzero/config/peers
Request
- Base URLhttps://api.fireblocks.io/v1
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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
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 set successfully
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.