mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-04 09:48:19 +01:00
21 lines
395 B
Protocol Buffer
21 lines
395 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package lnrpc;
|
|
|
|
service Lightning {
|
|
rpc SendMany(SendManyRequest) returns (SendManyResponse);
|
|
rpc NewAddress(NewAddressRequest) returns (NewAddressResponse);
|
|
}
|
|
|
|
message SendManyRequest {
|
|
map<string, int64> AddrToAmount = 1;
|
|
}
|
|
message SendManyResponse {
|
|
string txid = 1;
|
|
}
|
|
|
|
|
|
message NewAddressRequest {}
|
|
message NewAddressResponse {
|
|
string address = 1;
|
|
}
|