2015-12-29 16:47:24 -06:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
|
|
package lnrpc;
|
|
|
|
|
|
2015-12-29 17:21:27 -06:00
|
|
|
service Lightning {
|
2015-12-29 16:47:24 -06:00
|
|
|
rpc SendMany(SendManyRequest) returns (SendManyResponse);
|
|
|
|
|
rpc NewAddress(NewAddressRequest) returns (NewAddressResponse);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message SendManyRequest {
|
2015-12-29 17:08:04 -06:00
|
|
|
map<string, int64> AddrToAmount = 1;
|
2015-12-29 16:47:24 -06:00
|
|
|
}
|
|
|
|
|
message SendManyResponse {
|
|
|
|
|
string txid = 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
message NewAddressRequest {}
|
|
|
|
|
message NewAddressResponse {
|
|
|
|
|
string address = 1;
|
|
|
|
|
}
|