+ /**
+ * The public key used by the recipient to sign invoices.
+ */
+ public byte[] signing_pubkey() {
+ byte[] ret = bindings.Offer_signing_pubkey(this.ptr);
+ Reference.reachabilityFence(this);
+ return ret;
+ }
+
+ /**
+ * Returns whether the given chain is supported by the offer.
+ */
+ public boolean supports_chain(byte[] chain) {
+ boolean ret = bindings.Offer_supports_chain(this.ptr, InternalUtils.check_arr_len(chain, 32));
+ Reference.reachabilityFence(this);
+ Reference.reachabilityFence(chain);
+ return ret;
+ }
+
+ /**
+ * Whether the offer has expired.
+ */
+ public boolean is_expired() {
+ boolean ret = bindings.Offer_is_expired(this.ptr);
+ Reference.reachabilityFence(this);
+ return ret;
+ }
+