mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-29 15:11:09 +02:00
rpc: add gettransaction endpoint to walletrpc sub-server
This commit is contained in:
@@ -75,6 +75,11 @@ service WalletKit {
|
||||
*/
|
||||
rpc NextAddr (AddrRequest) returns (AddrResponse);
|
||||
|
||||
/* lncli: `wallet gettx`
|
||||
GetTransaction returns details for a transaction found in the wallet.
|
||||
*/
|
||||
rpc GetTransaction (GetTransactionRequest) returns (lnrpc.Transaction);
|
||||
|
||||
/* lncli: `wallet accounts list`
|
||||
ListAccounts retrieves all accounts belonging to the wallet by default. A
|
||||
name and key scope filter can be provided to filter through all of the
|
||||
@@ -556,6 +561,11 @@ message ListAddressesResponse {
|
||||
repeated AccountWithAddresses account_with_addresses = 1;
|
||||
}
|
||||
|
||||
message GetTransactionRequest {
|
||||
// The txid of the transaction.
|
||||
string txid = 1;
|
||||
}
|
||||
|
||||
message SignMessageWithAddrRequest {
|
||||
// The message to be signed. When using REST, this field must be encoded as
|
||||
// base64.
|
||||
|
Reference in New Issue
Block a user