diff --git a/packages/apps/src/config/gql.ts b/packages/apps/src/config/gql.ts index 9451f340a..2f7c6613e 100644 --- a/packages/apps/src/config/gql.ts +++ b/packages/apps/src/config/gql.ts @@ -129,6 +129,7 @@ export const QUERY_LNRELAYERS = gql` cost profit heartbeatTimestamp + messageChannel } } } diff --git a/packages/apps/src/types/graphql.ts b/packages/apps/src/types/graphql.ts index 63a6d95a2..368c59441 100644 --- a/packages/apps/src/types/graphql.ts +++ b/packages/apps/src/types/graphql.ts @@ -67,6 +67,8 @@ export interface RecordVariables { id: string; } +export type MessageChannel = "layerzero"; + interface Lnv20RelayInfo { id: string; nonce: string; @@ -88,6 +90,7 @@ interface Lnv20RelayInfo { cost?: string | null; profit?: string | null; heartbeatTimestamp?: number | null; + messageChannel?: MessageChannel | null; } export interface RelayersResponseData { @@ -123,6 +126,7 @@ export type LnRelayerInfo = Pick< | "cost" | "profit" | "heartbeatTimestamp" + | "messageChannel" >; export interface LnRelayersResponseData {