private fun ScriptHash.wallet_setFundsPaidToRecipientTxHash(recipient: ScriptHash, value: BigInteger, txHash: Hash256): Boolean
(source)
Sets the transaction hash of funds that have been transferred to the recipient of reserved funds.
Because we can't access storage in a verify script, we have to use an invoke to set the tx hash. This function finds the given transaction and makes sure the supplied value went to the recipient. If the transaction or reserved funds cannot be found this method will fail and return false.
recipient
- the recipient of the reserved funds
value
- the GAS value of the reserved funds as a fixed8 int
Return
true on success