lnd.xprv/lnrpc/rpc.proto

33 lines
571 B
Protocol Buffer
Raw Normal View History

2015-12-30 23:19:09 +03:00
syntax = "proto3";
package lnrpc;
service Lightning {
rpc SendMany(SendManyRequest) returns (SendManyResponse);
2015-12-30 23:19:09 +03:00
rpc NewAddress(NewAddressRequest) returns (NewAddressResponse);
2015-12-31 06:02:24 +03:00
rpc ConnectPeer(ConnectPeerRequest) returns (ConnectPeerResponse);
2015-12-30 23:19:09 +03:00
}
message SendManyRequest {
map<string, int64> AddrToAmount = 1;
}
2015-12-30 23:19:09 +03:00
message SendManyResponse {
string txid = 1;
}
message NewAddressRequest {}
2015-12-30 23:19:09 +03:00
message NewAddressResponse {
string address = 1;
}
message ConnectPeerRequest {
string idAtHost = 1;
}
message ConnectPeerResponse {
bytes lnID = 1;
}