Tokenization

Validate LayerZero channel configuration

Validate the LayerZero channel configuration between adapters. This endpoint checks if the channel configuration is correct and returns any validation errors.

get/tokenization/multichain/bridge/layerzero/validate

Request

Query parameters

adapterTokenLinkIdstring uuid required

The token link ID of the adapter

peerAdapterTokenLinkIdstring uuid required

Peer adapter token link ID to validate against

Response

LayerZero channel configuration validation completed

correctboolean required

Indicates whether the LayerZero channel configuration is valid.

errorsstring[] required

List of errors found during validation. An empty array indicates no errors.

Example response

{
  "correct": true,
  "errors": [
    "Adapter not found",
    "Adapter missing role",
    "Adapter is not a peer"
  ]
}

Changes

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