Companion
object Companion
Content copied to clipboard
Functions
create
Link copied to clipboard
fun create(chainHash: ByteVector32, amount: MilliSatoshi?, paymentHash: ByteVector32, privateKey: PrivateKey, description: String, minFinalCltvExpiryDelta: CltvExpiryDelta, features: Features, paymentSecret: ByteVector32 = randomBytes32(), paymentMetadata: ByteVector? = null, expirySeconds: Long? = null, extraHops: List<List<PaymentRequest.TaggedField.ExtraHop>> = listOf(), timestampSeconds: Long = currentTimestampSeconds()): PaymentRequest
Content copied to clipboard
decode Amount
Link copied to clipboard
encode Amount
Link copied to clipboard
encode Timestamp
Link copied to clipboard
read
Link copied to clipboard
unit
Link copied to clipboard
Properties
DEFAULT_EXPIRY_SECONDS
Link copied to clipboard
DEFAULT_MIN_FINAL_EXPIRY_DELTA
Link copied to clipboard