ScreenTransactionResponse class
The screening verdict: whether the transaction is allowed and, when it is not, the addresses that caused the block. Undecodable payloads and provider errors fail open to allow, server-side.
Constructors
-
ScreenTransactionResponse({required String decision, List<
String> ? blockedAddresses, String? sanctionCheckId}) -
const
Properties
-
blockedAddresses
→ List<
String> ? -
The sanctioned addresses that caused a block verdict.
final
- decision → String
-
'allow' | 'block' — server-defined string, not modeled as an enum here.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sanctionCheckId → String?
-
Identifier of the persisted sanction check backing a block verdict.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJson(
Map< String, dynamic> json) → ScreenTransactionResponse