screenTransaction abstract method

Future<ScreenTransactionResponse> screenTransaction(
  1. String chain,
  2. ScreenTransactionContext context,
  3. String? networkId,
  4. String? senderAddress,
)

Screens a connected wallet's transaction for sanctioned addresses before you prompt it to sign, and returns the verdict. context carries the chain-specific payload the server extracts addresses from — see screenEvmTransactions/screenBitcoinTransactions/screenSolanaTransactions for the common chains, or build a ScreenTransactionContext by hand for anything else. networkId is recorded for audit only and never changes the verdict.

Implementation

Future<ScreenTransactionResponse> screenTransaction(String chain, ScreenTransactionContext context, String? networkId, String? senderAddress);