rpc: add gettransaction endpoint to walletrpc sub-server
This commit is contained in:
1 parent
c32edbd732
commit
f0bc6d804c
14 files changed
+1130
-745
No files matched your search
@@ -356,6 +356,11 @@ type WalletController interface {
|
||||
CreateSimpleTx(outputs []*wire.TxOut, feeRate chainfee.SatPerKWeight,
|
||||
minConfs int32, dryRun bool) (*txauthor.AuthoredTx, error)
|
||||
|
||||
// GetTransactionDetails returns a detailed description of a transaction
|
||||
// given its transaction hash.
|
||||
GetTransactionDetails(txHash *chainhash.Hash) (
|
||||
*TransactionDetail, error)
|
||||
|
||||
// ListUnspentWitness returns all unspent outputs which are version 0
|
||||
// witness programs. The 'minConfs' and 'maxConfs' parameters
|
||||
// indicate the minimum and maximum number of confirmations an output
|
||||
|
||||
Reference in new issue
Block a user