Click or drag to resize

TransactionRPCController Class

Class offering method working with Raw Transactions
Inheritance Hierarchy

Namespace:  Wallet.Controllers
Assembly:  Wallet (in Wallet.dll) Version: 1.1.16
public class TransactionRPCController : FeatureController

The TransactionRPCController type exposes the following members.

Public methodAbandonTransaction
Mark in-wallet transaction txid as abandoned This will mark this transaction and all its in-wallet descendants as abandoned which will allow for their inputs to be respent.It can be used to replace \"stuck\" or evicted transactions. It only works on transactions which are not included in a block and are not currently in the mempool. It has no effect on transactions which are already conflicted or abandoned.
Public methodCombineRawTransaction
Combine multiple partially signed transactions into one transaction. The combined transaction may be another partially signed transaction or a fully signed transaction.
Public methodCreateRawTransaction
Create a transaction spending the given inputs and creating new outputs. Outputs can be addresses or data. Returns hex - encoded raw transaction. Note that the transaction's inputs are not signed, and it is not stored in the wallet or transmitted to the network.
Public methodDecodeRawTransaction
Return a JSON object representing the serialized, hex-encoded transaction.
Public methodDecodeScript
Decode a hex-encoded script.
Public methodFundRawTransaction
Add inputs to a transaction until it has enough in value to meet its out value. This will not accept inputs specified in raw tranaction.It will add at most one change output to the outputs. No existing outputs will be modified unless "subtractFeeFromOutputs" is specified. Note that inputs which were signed may need to be resigned after completion since in/ outputs have been added. The inputs added will not be signed, use signrawtransaction for that. Note that all existing inputs must have their previous output transaction be in the wallet."
Public methodGetRawTransaction
Return the raw transaction data. If verbose is 'true', returns an Object with information about 'txid'. If verbose is 'false' or omitted, returns a string that is serialized, hex - encoded data for 'txid'.
Public methodGetTransaction
Get detailed information about in-wallet transaction.
Public methodGetTransactionByWallet
Get detailed information about in-wallet transaction.
Public methodSendRawTransaction
Submits raw transaction (serialized, hex-encoded) to local node and network. Also see createrawtransaction and signrawtransaction calls.
Public methodSetTxFee
Set the transaction fee per kB for this wallet. Overrides the global -paytxfee command line parameter.
Public methodSignRawTransaction
Sign inputs for raw transaction (serialized, hex-encoded). The second optional argument(may be null) is an array of previous transaction outputs that this transaction depends on but may not yet be in the block chain. The third optional argument(may be null) is an array of base58 - encoded private keys that, if given, will be the only keys used to sign the transaction.
See Also