From c4ada3bf196e9a17adf20c75faf62fa7c95460aa Mon Sep 17 00:00:00 2001 From: 0age <37939117+0age@users.noreply.github.com> Date: Tue, 10 Dec 2024 20:51:01 -0800 Subject: [PATCH] update API reference --- frontend/src/components/APISection.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/APISection.tsx b/frontend/src/components/APISection.tsx index c919bc9..b9362a1 100644 --- a/frontend/src/components/APISection.tsx +++ b/frontend/src/components/APISection.tsx @@ -14,8 +14,8 @@ const APISection: React.FC = () => { '{domain, address, uri, statement, version, chainId: number, nonce, issuedAt, expirationTime}', Compact: '{arbiter, sponsor, nonce?, expires, id, amount, witnessTypeString?, witnessHash?}', - ChainConfig: - '{defaultFinalizationThresholdSeconds: number, supportedChains: [{chainId, finalizationThresholdSeconds: number}]}', + SupportedChains: + '[{chainId, allocatorId, finalizationThresholdSeconds: number}]', }; const endpoints: Record = { @@ -24,7 +24,7 @@ const APISection: React.FC = () => { method: 'GET', path: '/health', response: - '{status, timestamp, allocatorAddress, signingAddress, chainConfig: ChainConfig}', + '{status, timestamp, allocatorAddress, signingAddress, supportedChains: SupportedChains}', }, { method: 'GET',