@cliqueofficial/clique-attestations-sdk
v1.0.6
Published
```typescript // # yarn add @cliqueofficial/clique-attestations-sdk
Downloads
10
Readme
clique-attestations-sdk
// # yarn add @cliqueofficial/clique-attestations-sdk
import {
CliqueAttestationsClient,
Environment,
} from '@cliqueofficial/clique-attestations-sdk';
const apiKey = '';
const apiSecret = '';
const client = new CliqueAttestationsClient({
apiKey,
apiSecret,
env: Environment.Test,
});
const result = await client.attestations.search({
address: '0xabb6f465a1931025c74b092d165968639dcd05c2',
network: 'Optimism',
platform: 'Twitter',
issuer: '0xd34a8775d06d41b36054d59ef2d09a79b7aa1fa2',
pagination: { pageIndex: 1, pageSize: 3 },
});