public static interface LightningApi.SendToRouteRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
com.google.protobuf.ByteString |
getPaymentHash()
The payment hash to use for the HTLC.
|
java.lang.String |
getPaymentHashString()
Deprecated.
lnrpc.SendToRouteRequest.payment_hash_string is deprecated.
See lightning.api.proto;l=909
|
com.google.protobuf.ByteString |
getPaymentHashStringBytes()
Deprecated.
lnrpc.SendToRouteRequest.payment_hash_string is deprecated.
See lightning.api.proto;l=909
|
LightningApi.Route |
getRoute()
Route that should be used to attempt to complete the payment.
|
LightningApi.RouteOrBuilder |
getRouteOrBuilder()
Route that should be used to attempt to complete the payment.
|
boolean |
hasRoute()
Route that should be used to attempt to complete the payment.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
com.google.protobuf.ByteString getPaymentHash()
The payment hash to use for the HTLC. When using REST, this field must be encoded as base64.
bytes payment_hash = 1;
@Deprecated java.lang.String getPaymentHashString()
An optional hex-encoded payment hash to be used for the HTLC. Deprecated now that the REST gateway supports base64 encoding of bytes fields.
string payment_hash_string = 2 [deprecated = true];
@Deprecated com.google.protobuf.ByteString getPaymentHashStringBytes()
An optional hex-encoded payment hash to be used for the HTLC. Deprecated now that the REST gateway supports base64 encoding of bytes fields.
string payment_hash_string = 2 [deprecated = true];
boolean hasRoute()
Route that should be used to attempt to complete the payment.
.lnrpc.Route route = 4;
LightningApi.Route getRoute()
Route that should be used to attempt to complete the payment.
.lnrpc.Route route = 4;
LightningApi.RouteOrBuilder getRouteOrBuilder()
Route that should be used to attempt to complete the payment.
.lnrpc.Route route = 4;