screenTransaction abstract method
Future<ScreenTransactionResponse>
screenTransaction(
- String chain,
- ScreenTransactionContext context,
- String? networkId,
- 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);