rusty-kaspa icon indicating copy to clipboard operation
rusty-kaspa copied to clipboard

Implement UTXO Return Address RPC command

Open coderofstuff opened this issue 11 months ago • 1 comments

GetUtxoReturnAddress Input: txid and accepting_block_daa_score Output: return_address -> Option<Address>

Notes:

  • When this call finds an address, it is guaranteed that the address is from the first input of the transaction that produced your UTXO. If the algorithm cannot find a return address (there are many reasons why it might not be able to), it will return None

Proto

GetUtxoReturnAddressRequestMessage getUtxoReturnAddressRequest = 1112;
GetUtxoReturnAddressResponseMessage getUtxoReturnAddressResponse = 1113;

coderofstuff avatar Mar 21 '24 05:03 coderofstuff