Fetch Wallet Screening
Quadrata SDK API Service: Fetch Wallet Screening
Parameters
Name
Type
Description
SDK Configuration
Name
Type
Description
Example
import type { API } from '@quadrata/sdk/types';
import { fetchWalletScreening, QuadrataEnvironment } from '@quadrata/sdk/api';
type ResponseType = API.Service.FetchWalletScreening.Response;
type ParsedResponseType = API.Service.FetchWalletScreening.ParsedResponse;
const response: ResponseType = await fetchWalletScreening(
// params
{
apiKey: process.env.QUADRATA_API_KEY,
walletAddress: '0x123',
// private signign key
privateKeyDerBase64: process.env.QUADRATA_PRIVATE_KEY_DER_BASE64,
// optional fetch options
options: {
cache: 'no-cache'
}
},
// sdk config
{ environment: QuadrataEnvironment.PRODUCTION }
);
const screeningData: ParsedResponseType = response.data;
// screeningData.address
// screeningData.score
// screeningData.verifiedAtLast updated