Deploy LayerZero adapters

Deploy LayerZero adapters for multichain token bridging functionality. This endpoint creates adapter contracts that enable cross-chain token transfers.

Body Params
string
required

The id of the vault account that initiated the request to deploy adapter for the token

createParams
array of objects
required
length ≥ 1

Array of creation parameters for LayerZero adapters, one per tokenLink.

createParams*
string
required

The token link id of the base token to deploy the adapters for

string
required

Address that will receive CONTRACT_ADMIN_ROLE.

string
required

Address that will receive DEFAULT_ADMIN_ROLE on the adapter contract.

string
required

Address that will receive PAUSER_ROLE.

string

The display name of the contract

boolean

Whether to use gasless deployment or not

string
enum

Fee level for the write function transaction. interchangeable with the 'fee' field

Allowed:
string

Max fee amount for the write function transaction. interchangeable with the 'feeLevel' field

string

The salt to calculate the deterministic address. Must be a number between 0 and 2^256 -1, for it to fit in the bytes32 parameter

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