Skip to main content

ComplianceService Actions

2 actions registered.

NameDeprecated
checkWalletCompliance
checkWalletsCompliance

ComplianceService:checkWalletCompliance​

Package: @metamask/compliance-controller

Checks compliance status for a single wallet address.

Parameters:

NameDescription
addressThe wallet address to check.

Returns: The compliance status of the wallet.

Handler signature:

(address: string) => Promise<WalletCheckResponse>

ComplianceService:checkWalletsCompliance​

Package: @metamask/compliance-controller

Checks compliance status for multiple wallet addresses in a single request.

Parameters:

NameDescription
addressesThe wallet addresses to check.

Returns: The compliance statuses of the wallets.

Handler signature:

(addresses: string[]) => Promise<BatchWalletCheckResponseItem[]>