Skip to main content
POST
/
tokenization
/
multichain
/
bridge
/
layerzero
/
config
/
peers
TypeScript
const response: Promise<FireblocksResponse<SetLayerZeroPeersResponse>> = fireblocks.tokenization.setLayerZeroPeers(tokenizationApiSetLayerZeroPeersRequest);
{
  "txnIds": [
    "123-432-1234-1234-123456789012",
    "123-432-1234-1234-123456789012"
  ]
}

Documentation Index

Fetch the complete documentation index at: https://developers.fireblocks.com/llms.txt

Use this file to discover all available pages before exploring further.

Headers

Idempotency-Key
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.

Body

application/json
vaultAccountId
string
required

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

Example:

"0"

token_link ID of the source adapter contract

Example:

"123-432-1234-1234-123456789012"

Array of token_link IDs for destination adapter contracts

Minimum array length: 1
Example:
[
"123-432-1234-1234-123456789012",
"123-432-1234-1234-123456789012"
]
bidirectional
boolean
required

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

Example:

true

Response

LayerZero peers set successfully

txnIds
string<uuid>[]
required

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

Minimum array length: 1
Example:
[
"123-432-1234-1234-123456789012",
"123-432-1234-1234-123456789012"
]