+ /**
+ * The public key used by the recipient to sign invoices.
+ */
+ public byte[] signing_pubkey() {
+ long ret = bindings.Offer_signing_pubkey(this.ptr);
+ GC.KeepAlive(this);
+ if (ret >= 0 && ret <= 4096) { return null; }
+ byte[] ret_conv = InternalUtils.decodeUint8Array(ret);
+ return ret_conv;
+ }
+
+ /**
+ * Returns whether the given chain is supported by the offer.
+ */
+ public bool supports_chain(byte[] chain) {
+ bool ret = bindings.Offer_supports_chain(this.ptr, InternalUtils.encodeUint8Array(InternalUtils.check_arr_len(chain, 32)));
+ GC.KeepAlive(this);
+ GC.KeepAlive(chain);
+ return ret;
+ }
+
+ /**
+ * Whether the offer has expired.
+ */
+ public bool is_expired() {
+ bool ret = bindings.Offer_is_expired(this.ptr);
+ GC.KeepAlive(this);
+ return ret;
+ }
+