diff --git a/apollo/src/lnv3/source/envio.service.ts b/apollo/src/lnv3/source/envio.service.ts index 6118654..ca46c86 100644 --- a/apollo/src/lnv3/source/envio.service.ts +++ b/apollo/src/lnv3/source/envio.service.ts @@ -76,7 +76,7 @@ export class Lnv3EnvioService extends SourceService { chainId: number, transferId: string ): Promise { - const query = `query { Lnv3TransferRecord(where: { id: { _eq: "${transferId}" }, localChainId: {_eq: ${chainId}}}) { id, hasWithdrawn }}`; + const query = `query { Lnv3TransferRecord(where: { id: { _eq: "${transferId}" }, localChainId: {_eq: ${chainId}}}) { id, remoteChainId, hasWithdrawn }}`; return await axios .post(url, { query: query, diff --git a/apollo/src/lnv3/source/ponder.service.ts b/apollo/src/lnv3/source/ponder.service.ts index da5aab4..21b6fcc 100644 --- a/apollo/src/lnv3/source/ponder.service.ts +++ b/apollo/src/lnv3/source/ponder.service.ts @@ -78,7 +78,7 @@ export class Lnv3PonderService extends SourceService { transferId: string ): Promise { const id = `${localId}-${transferId}`; - const query = `query { lnv3TransferRecord(id: "${id}") { id, hasWithdrawn }}`; + const query = `query { lnv3TransferRecord(id: "${id}") { id, remoteChainId, hasWithdrawn }}`; return await axios .post(url, { query: query, diff --git a/apollo/src/lnv3/source/thegraph.service.ts b/apollo/src/lnv3/source/thegraph.service.ts index 9a001b7..9ce0c80 100644 --- a/apollo/src/lnv3/source/thegraph.service.ts +++ b/apollo/src/lnv3/source/thegraph.service.ts @@ -76,7 +76,7 @@ export class Lnv3ThegraphService extends SourceService { chainId: number, transferId: string ): Promise { - const query = `query { lnv3TransferRecord(id: "${transferId}") { id, hasWithdrawn }}`; + const query = `query { lnv3TransferRecord(id: "${transferId}") { id, remoteChainId, hasWithdrawn }}`; return await axios .post(url, { query: query,