public static interface LightningApi.SendRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
boolean |
containsDestCustomRecords(long key)
An optional field that can be used to pass an arbitrary set of TLV records
to a peer which understands the new records.
|
boolean |
getAllowSelfPayment()
If set, circular payments to self are permitted.
|
long |
getAmt()
The amount to send expressed in satoshis.
|
long |
getAmtMsat()
The amount to send expressed in millisatoshis.
|
int |
getCltvLimit()
An optional maximum total time lock for the route.
|
com.google.protobuf.ByteString |
getDest()
The identity pubkey of the payment recipient.
|
java.util.Map<java.lang.Long,com.google.protobuf.ByteString> |
getDestCustomRecords()
Deprecated.
|
int |
getDestCustomRecordsCount()
An optional field that can be used to pass an arbitrary set of TLV records
to a peer which understands the new records.
|
java.util.Map<java.lang.Long,com.google.protobuf.ByteString> |
getDestCustomRecordsMap()
An optional field that can be used to pass an arbitrary set of TLV records
to a peer which understands the new records.
|
com.google.protobuf.ByteString |
getDestCustomRecordsOrDefault(long key,
com.google.protobuf.ByteString defaultValue)
An optional field that can be used to pass an arbitrary set of TLV records
to a peer which understands the new records.
|
com.google.protobuf.ByteString |
getDestCustomRecordsOrThrow(long key)
An optional field that can be used to pass an arbitrary set of TLV records
to a peer which understands the new records.
|
LightningApi.FeatureBit |
getDestFeatures(int index)
Features assumed to be supported by the final node.
|
int |
getDestFeaturesCount()
Features assumed to be supported by the final node.
|
java.util.List<LightningApi.FeatureBit> |
getDestFeaturesList()
Features assumed to be supported by the final node.
|
int |
getDestFeaturesValue(int index)
Features assumed to be supported by the final node.
|
java.util.List<java.lang.Integer> |
getDestFeaturesValueList()
Features assumed to be supported by the final node.
|
java.lang.String |
getDestString()
Deprecated.
lnrpc.SendRequest.dest_string is deprecated.
See lightning.api.proto;l=796
|
com.google.protobuf.ByteString |
getDestStringBytes()
Deprecated.
lnrpc.SendRequest.dest_string is deprecated.
See lightning.api.proto;l=796
|
LightningApi.FeeLimit |
getFeeLimit()
The maximum number of satoshis that will be paid as a fee of the payment.
|
LightningApi.FeeLimitOrBuilder |
getFeeLimitOrBuilder()
The maximum number of satoshis that will be paid as a fee of the payment.
|
int |
getFinalCltvDelta()
The CLTV delta from the current height that should be used to set the
timelock for the final hop.
|
com.google.protobuf.ByteString |
getLastHopPubkey()
The pubkey of the last hop of the route.
|
long |
getOutgoingChanId()
The channel id of the channel that must be taken to the first hop.
|
com.google.protobuf.ByteString |
getPaymentAddr()
The payment address of the generated invoice.
|
com.google.protobuf.ByteString |
getPaymentHash()
The hash to use within the payment's HTLC.
|
java.lang.String |
getPaymentHashString()
Deprecated.
lnrpc.SendRequest.payment_hash_string is deprecated.
See lightning.api.proto;l=822
|
com.google.protobuf.ByteString |
getPaymentHashStringBytes()
Deprecated.
lnrpc.SendRequest.payment_hash_string is deprecated.
See lightning.api.proto;l=822
|
java.lang.String |
getPaymentRequest()
A bare-bones invoice for a payment within the Lightning Network.
|
com.google.protobuf.ByteString |
getPaymentRequestBytes()
A bare-bones invoice for a payment within the Lightning Network.
|
boolean |
hasFeeLimit()
The maximum number of satoshis that will be paid as a fee of the payment.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
com.google.protobuf.ByteString getDest()
The identity pubkey of the payment recipient. When using REST, this field must be encoded as base64.
bytes dest = 1;
@Deprecated java.lang.String getDestString()
The hex-encoded identity pubkey of the payment recipient. Deprecated now that the REST gateway supports base64 encoding of bytes fields.
string dest_string = 2 [deprecated = true];
@Deprecated com.google.protobuf.ByteString getDestStringBytes()
The hex-encoded identity pubkey of the payment recipient. Deprecated now that the REST gateway supports base64 encoding of bytes fields.
string dest_string = 2 [deprecated = true];
long getAmt()
The amount to send expressed in satoshis. The fields amt and amt_msat are mutually exclusive.
int64 amt = 3;
long getAmtMsat()
The amount to send expressed in millisatoshis. The fields amt and amt_msat are mutually exclusive.
int64 amt_msat = 12;
com.google.protobuf.ByteString getPaymentHash()
The hash to use within the payment's HTLC. When using REST, this field must be encoded as base64.
bytes payment_hash = 4;
@Deprecated java.lang.String getPaymentHashString()
The hex-encoded hash to use within the payment's HTLC. Deprecated now that the REST gateway supports base64 encoding of bytes fields.
string payment_hash_string = 5 [deprecated = true];
@Deprecated com.google.protobuf.ByteString getPaymentHashStringBytes()
The hex-encoded hash to use within the payment's HTLC. Deprecated now that the REST gateway supports base64 encoding of bytes fields.
string payment_hash_string = 5 [deprecated = true];
java.lang.String getPaymentRequest()
A bare-bones invoice for a payment within the Lightning Network. With the details of the invoice, the sender has all the data necessary to send a payment to the recipient.
string payment_request = 6;
com.google.protobuf.ByteString getPaymentRequestBytes()
A bare-bones invoice for a payment within the Lightning Network. With the details of the invoice, the sender has all the data necessary to send a payment to the recipient.
string payment_request = 6;
int getFinalCltvDelta()
The CLTV delta from the current height that should be used to set the timelock for the final hop.
int32 final_cltv_delta = 7;
boolean hasFeeLimit()
The maximum number of satoshis that will be paid as a fee of the payment. This value can be represented either as a percentage of the amount being sent, or as a fixed amount of the maximum fee the user is willing the pay to send the payment. If not specified, lnd will use a default value of 100% fees for small amounts (<=1k sat) or 5% fees for larger amounts.
.lnrpc.FeeLimit fee_limit = 8;
LightningApi.FeeLimit getFeeLimit()
The maximum number of satoshis that will be paid as a fee of the payment. This value can be represented either as a percentage of the amount being sent, or as a fixed amount of the maximum fee the user is willing the pay to send the payment. If not specified, lnd will use a default value of 100% fees for small amounts (<=1k sat) or 5% fees for larger amounts.
.lnrpc.FeeLimit fee_limit = 8;
LightningApi.FeeLimitOrBuilder getFeeLimitOrBuilder()
The maximum number of satoshis that will be paid as a fee of the payment. This value can be represented either as a percentage of the amount being sent, or as a fixed amount of the maximum fee the user is willing the pay to send the payment. If not specified, lnd will use a default value of 100% fees for small amounts (<=1k sat) or 5% fees for larger amounts.
.lnrpc.FeeLimit fee_limit = 8;
long getOutgoingChanId()
The channel id of the channel that must be taken to the first hop. If zero, any channel may be used.
uint64 outgoing_chan_id = 9 [jstype = JS_STRING];
com.google.protobuf.ByteString getLastHopPubkey()
The pubkey of the last hop of the route. If empty, any hop may be used.
bytes last_hop_pubkey = 13;
int getCltvLimit()
An optional maximum total time lock for the route. This should not exceed lnd's `--max-cltv-expiry` setting. If zero, then the value of `--max-cltv-expiry` is enforced.
uint32 cltv_limit = 10;
int getDestCustomRecordsCount()
An optional field that can be used to pass an arbitrary set of TLV records to a peer which understands the new records. This can be used to pass application specific data during the payment attempt. Record types are required to be in the custom range >= 65536. When using REST, the values must be encoded as base64.
map<uint64, bytes> dest_custom_records = 11;
boolean containsDestCustomRecords(long key)
An optional field that can be used to pass an arbitrary set of TLV records to a peer which understands the new records. This can be used to pass application specific data during the payment attempt. Record types are required to be in the custom range >= 65536. When using REST, the values must be encoded as base64.
map<uint64, bytes> dest_custom_records = 11;
@Deprecated java.util.Map<java.lang.Long,com.google.protobuf.ByteString> getDestCustomRecords()
getDestCustomRecordsMap()
instead.java.util.Map<java.lang.Long,com.google.protobuf.ByteString> getDestCustomRecordsMap()
An optional field that can be used to pass an arbitrary set of TLV records to a peer which understands the new records. This can be used to pass application specific data during the payment attempt. Record types are required to be in the custom range >= 65536. When using REST, the values must be encoded as base64.
map<uint64, bytes> dest_custom_records = 11;
com.google.protobuf.ByteString getDestCustomRecordsOrDefault(long key, com.google.protobuf.ByteString defaultValue)
An optional field that can be used to pass an arbitrary set of TLV records to a peer which understands the new records. This can be used to pass application specific data during the payment attempt. Record types are required to be in the custom range >= 65536. When using REST, the values must be encoded as base64.
map<uint64, bytes> dest_custom_records = 11;
com.google.protobuf.ByteString getDestCustomRecordsOrThrow(long key)
An optional field that can be used to pass an arbitrary set of TLV records to a peer which understands the new records. This can be used to pass application specific data during the payment attempt. Record types are required to be in the custom range >= 65536. When using REST, the values must be encoded as base64.
map<uint64, bytes> dest_custom_records = 11;
boolean getAllowSelfPayment()
If set, circular payments to self are permitted.
bool allow_self_payment = 14;
java.util.List<LightningApi.FeatureBit> getDestFeaturesList()
Features assumed to be supported by the final node. All transitive feature dependencies must also be set properly. For a given feature bit pair, either optional or remote may be set, but not both. If this field is nil or empty, the router will try to load destination features from the graph as a fallback.
repeated .lnrpc.FeatureBit dest_features = 15;
int getDestFeaturesCount()
Features assumed to be supported by the final node. All transitive feature dependencies must also be set properly. For a given feature bit pair, either optional or remote may be set, but not both. If this field is nil or empty, the router will try to load destination features from the graph as a fallback.
repeated .lnrpc.FeatureBit dest_features = 15;
LightningApi.FeatureBit getDestFeatures(int index)
Features assumed to be supported by the final node. All transitive feature dependencies must also be set properly. For a given feature bit pair, either optional or remote may be set, but not both. If this field is nil or empty, the router will try to load destination features from the graph as a fallback.
repeated .lnrpc.FeatureBit dest_features = 15;
index
- The index of the element to return.java.util.List<java.lang.Integer> getDestFeaturesValueList()
Features assumed to be supported by the final node. All transitive feature dependencies must also be set properly. For a given feature bit pair, either optional or remote may be set, but not both. If this field is nil or empty, the router will try to load destination features from the graph as a fallback.
repeated .lnrpc.FeatureBit dest_features = 15;
int getDestFeaturesValue(int index)
Features assumed to be supported by the final node. All transitive feature dependencies must also be set properly. For a given feature bit pair, either optional or remote may be set, but not both. If this field is nil or empty, the router will try to load destination features from the graph as a fallback.
repeated .lnrpc.FeatureBit dest_features = 15;
index
- The index of the value to return.com.google.protobuf.ByteString getPaymentAddr()
The payment address of the generated invoice.
bytes payment_addr = 16;