Tokenization

Deploy LayerZero adapters

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

post/tokenization/multichain/bridge/layerzero

Request

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

vaultAccountIdstring required

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

displayNamestring

The display name of the contract

useGaslessboolean

Whether to use gasless deployment or not

feeLevel'LOW' | 'MEDIUM' | 'HIGH'

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

feestring

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

saltstring

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

Example request

{
  "vaultAccountId": "0",
  "createParams": [
    {
      "tokenLinkId": "123-432-1234-1234-123456789012",
      "delegateAddress": "0xABCDEF123456789abcdef1234567890abcdef12345678",
      "defaultAdminAddress": "0xABC123456789abcdef1234567890abcdef12345678",
      "pauserAddress": "0xDEFABC123456789abcdef1234567890abcdef12345678"
    }
  ],
  "displayName": "LayerZero Adapter",
  "feeLevel": "MEDIUM",
  "fee": "2000",
  "salt": "123456789"
}

Response

LayerZero adapters deployed successfully

inputTokenLinkIdstring required

The input token link ID

adapterLinkIdstring required

The adapter link ID

Changes

No recorded changes to this operation across all 1 revision of this API.