+ if (ptr != 0) { bindings.QueryShortChannelIds_free(ptr); }
+ }
+
+ /**
+ * The genesis hash of the blockchain being queried
+ */
+ public byte[] get_chain_hash() {
+ byte[] ret = bindings.QueryShortChannelIds_get_chain_hash(this.ptr);
+ Reference.reachabilityFence(this);
+ return ret;
+ }
+
+ /**
+ * The genesis hash of the blockchain being queried
+ */
+ public void set_chain_hash(byte[] val) {
+ bindings.QueryShortChannelIds_set_chain_hash(this.ptr, InternalUtils.check_arr_len(val, 32));
+ Reference.reachabilityFence(this);
+ Reference.reachabilityFence(val);
+ }
+
+ /**
+ * The short_channel_ids that are being queried
+ *
+ * Returns a copy of the field.
+ */
+ public long[] get_short_channel_ids() {
+ long[] ret = bindings.QueryShortChannelIds_get_short_channel_ids(this.ptr);
+ Reference.reachabilityFence(this);
+ return ret;
+ }
+
+ /**
+ * The short_channel_ids that are being queried
+ */
+ public void set_short_channel_ids(long[] val) {
+ bindings.QueryShortChannelIds_set_short_channel_ids(this.ptr, val);
+ Reference.reachabilityFence(this);
+ Reference.reachabilityFence(val);