- public Uint8Array get_shutdown_pubkey() {
- Uint8Array ret = bindings.KeysInterface_get_shutdown_pubkey(this.ptr);
- return ret;
+ public ShutdownScript get_shutdown_scriptpubkey() {
+ number ret = bindings.KeysInterface_get_shutdown_scriptpubkey(this.ptr);
+ const ret_hu_conv: ShutdownScript = new ShutdownScript(null, ret);
+ ret_hu_conv.ptrs_to.add(this);
+ return ret_hu_conv;