ScreenTransactionBtcContext class
Exactly one of psbt / recipientAddress should be provided.
Constructors
- ScreenTransactionBtcContext({required String chainId, String? psbt, String? recipientAddress})
-
const
Properties
- chainId → String
-
Bitcoin network from the signing contract: '1' (mainnet) or '2' (testnet) — see screenBitcoinTransactions for why signet also collapses to testnet here.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- psbt → String?
-
Base64- or hex-encoded PSBT.
final
- recipientAddress → String?
-
The envelope recipient, for a caller that has not built a PSBT yet; screened like an extracted destination.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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) → ScreenTransactionBtcContext