live · mainnetoc · docs
specs · api · guides
docs / documentation

@orangecheck/airdrop-gate


@orangecheck/airdrop-gate / filterAllowlist

Function: filterAllowlist()

function filterAllowlist(addresses: string[], options?: FilterAllowlistOptions): Promise<FilterAllowlistResult>;

Defined in: index.ts:100

Filter a candidate address list against OrangeCheck thresholds.

The addresses array is deduplicated before checking — duplicates would just waste API calls and never change the outcome.

Parameters

ParameterType
addressesstring[]
optionsFilterAllowlistOptions

Returns

Promise&lt;FilterAllowlistResult>