lnd/rpcprotos/rpc.proto

22 lines
395 B
Protocol Buffer
Raw Normal View History

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;
}