fetchWalletAttestations()
SIP Protocol API Reference v0.7.4
SIP Protocol API Reference / fetchWalletAttestations
Function: fetchWalletAttestations()
Section titled “Function: fetchWalletAttestations()”fetchWalletAttestations(
walletAddress,options?):Promise<RangeSASAttestation[]>
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:11209
Fetch attestations for a wallet address
Parameters
Section titled “Parameters”walletAddress
Section titled “walletAddress”string
Solana wallet address
options?
Section titled “options?”Query options
schema?
Section titled “schema?”string
Filter by schema
issuer?
Section titled “issuer?”string
Filter by issuer
activeOnly?
Section titled “activeOnly?”boolean
Only include active (non-revoked) attestations
apiEndpoint?
Section titled “apiEndpoint?”string
Range API endpoint
apiKey?
Section titled “apiKey?”string
API key
timeout?
Section titled “timeout?”number
Request timeout
Returns
Section titled “Returns”Promise<RangeSASAttestation[]>
Array of attestations for the wallet
Example
Section titled “Example”const attestations = await fetchWalletAttestations( '11111111111111111111111111111112', { schema: 'range-kyc-v1' })