UncheckedProposal class

Properties

field0 → V2UncheckedProposal
finalinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

assumeInteractiveReceiver({dynamic hint}) Future<MaybeInputsOwned>
Call this method if the only way to initiate a Payjoin with this receiver requires manual intervention, as in most consumer wallets. So-called “non-interactive” receivers, like payment processors, that allow arbitrary requests are otherwise vulnerable to probing attacks. Those receivers call gettransactiontocheckbroadcast() and attesttestedandscheduledbroadcast() after making those checks downstream
checkBroadcastSuitability({BigInt? minFeeRate, required FutureOr<bool> canBroadcast(Uint8List p1), dynamic hint}) Future<MaybeInputsOwned>
Call after checking that the Original PSBT can be broadcast. Receiver MUST check that the Original PSBT from the sender can be broadcast, i.e. testmempoolaccept bitcoind rpc returns { “allowed”: true,.. } for gettransactiontocheckbroadcast() before calling this method. Do this check if you generate bitcoin uri to receive Payjoin on sender request without manual human approval, like a payment processor. Such so called “non-interactive” receivers are otherwise vulnerable to probing attacks. If a sender can make requests at will, they can learn which bitcoin the receiver owns at no cost. Broadcasting the Original PSBT after some time in the failure case makes incurs sender cost and prevents probing. Call this after checking downstream.
extractTxToScheduleBroadcast({dynamic hint}) Future<Uint8List>
The Sender’s Original PSBT
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited