Skip to content

Commit

Permalink
update API reference
Browse files Browse the repository at this point in the history
  • Loading branch information
0age committed Dec 11, 2024
1 parent 092a9fa commit c4ada3b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontend/src/components/APISection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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<string, APIEndpoint[]> = {
Expand All @@ -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',
Expand Down

0 comments on commit c4ada3b

Please sign in to comment.