PageSourceSearch

https://docs.syscoin.org/assets/js/0f5337d7.290e5583.js

js syscoin.org collected 2026-10-02 02:33:39 UTC 227,815 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[6492],{28713:(e,t,a)=>{a.d(t,{h$:()=>s,XY:()=>n,pL:()=>i,uv:()=>r,r6:()=>o,hf:()=>d,zU:()=>c,rD:()=>p,Pg:()=>u,lg:()=>y,aX:()=>_,gY:()=>m,k7:()=>f,gO:()=>l,k0:()=>k,hw:()=>h,PE:()=>b,DT:()=>v,i6:()=>g,mR:()=>S,P0:()=>j,Xs:()=>w,pH:()=>x,F3:()=>N,XV:()=>T,kO:()=>O,VE:()=>B,r5:()=>A,uY:()=>I,Op:()=>P,Tj:()=>U,fA:()=>q,Tm:()=>D,pi:()=>X,$c:()=>R,r3:()=>H,j1:()=>V,r2:()=>J,AM:()=>z,Gs:()=>E,KU:()=>G,sC:()=>M,sW:()=>C,CU:()=>W,ss:()=>F,oI:()=>L,aS:()=>K,y:()=>Y,G3:()=>Z,cv:()=>Q,cq:()=>$,zS:()=>ee,xE:()=>te,BG:()=>ae,fo:()=>se,tC:()=>ne,Jb:()=>ie,K4:()=>re,uR:()=>oe,E7:()=>de,wI:()=>ce,OS:()=>pe,uL:()=>ue,z2:()=>ye,zn:()=>_e,uT:()=>me,ye:()=>fe,WG:()=>le,M6:()=>ke,Tf:()=>he,nY:()=>be,M0:()=>ve,qQ:()=>ge,gC:()=>Se,eu:()=>je,dx:()=>we,jv:()=>xe,Ke:()=>Ne,ir:()=>Te,_h:()=>Oe,MX:()=>Be,jY:()=>Ae,Cw:()=>Ie,UM:()=>Pe,db:()=>Ue,lS:()=>qe,Wd:()=>De,ai:()=>Xe,vh:()=>Re,Lu:()=>He,Qj:()=>Ve,g6:()=>Je,az:()=>ze,T5:()=>Ee,zh:()=>Ge,Ut:()=>Me,qR:()=>Ce,cO:()=>We,AH:()=>Fe,fn:()=>Le,R5:()=>Ke,hy:()=>Ye,Pc:()=>Ze,Gx:()=>Qe,GC:()=>$e,Xh:()=>et,E2:()=>tt,KA:()=>at,PF:()=>st,Pu:()=>nt,lH:()=>it,LP:()=>rt,Ln:()=>ot,fY:()=>dt,yX:()=>ct,Ll:()=>pt,X8:()=>ut,bB:()=>yt,_S:()=>_t,hz:()=>mt,Pn:()=>ft,l2:()=>lt,HQ:()=>kt,R3:()=>ht,rn:()=>bt,H4:()=>vt,Pl:()=>gt,Pe:()=>St,WY:()=>jt,NX:()=>wt,Ni:()=>xt});const s=JSON.parse('[{"key":"0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"3","data":{"name":" pubData","type":" [  _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]'),n=JSON.parse('[{"key":"0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"1","data":{"name":" value","type":" _BN_  /  _String_","description":" Value transferred. Type will be  _BN_  if within a  [  _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)  object,  _String_  if within a  [  _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo)  object"}}]'),i=JSON.parse('[{"key":"0","data":{"name":" precision","type":" _Number_","description":" Digits precision for this asset. Range is 0 to 8"}},{"key":"1","data":{"name":" symbol","type":" _String_","description":" Symbol up to 8 characters in length in ASCII"}},{"key":"2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum satoshis for supply. Range is 1 to 1 quintillion (10^18)"}},{"key":"3","data":{"name":" description","type":" _String_","description":" Description in ASCII describing token. The description will be encoded via JSON in the pubdata field for the asset and will be in the 'desc' field of the JSON object"}},{"key":"4","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"5","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Defaults to 127 or ALL capabilities. Update capabilities on this asset. Read more  [  _here_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#updatecapabilityflags)"}},{"key":"6","data":{"name":" notarykeyid","type":" _String_","description":" Notary KeyID, the hash160 of the address used for notarization. Should be P2WPKH"}},{"key":"7","data":{"name":" notarydetails","type":" [  _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Details related to the notarization of transactions using this asset"},"children":[{"key":"7-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"7-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"7-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account  [  _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub)  and  [  HD path ](https://learnmeabitcoin.com/technical/derivation-paths)  information is required by the notary to verify change addresses belong to the sender account"}}]},{"key":"8","data":{"name":" auxFeeDetails","type":" [  _AuxFeeDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfeedetails)","description":" Enforce auxiliary fees to every transaction on this asset"},"children":[{"key":"8-0","data":{"name":" auxfeekeyid","type":" _String_","description":" AuxFee KeyID, the hash160 of the address used where fees are paid out to. Should be P2WPKH"}},{"key":"8-1","data":{"name":" auxfees","type":" [  _AuxFee_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfee) _Array_","description":" Details of the auxiliary fees that must be paid for each transaction"},"children":[{"key":"8-1-0","data":{"name":" bound","type":" _BN_","description":" Lower bound from which the given auxiliary fee percentage begins"}},{"key":"8-1-1","data":{"name":" percent","type":" _Number_","description":" Percentage fee that must be paid when a transaction's value is above the given bound (percentages are cumulative)"}}]}]}]'),r=JSON.parse('[{"key":"0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]'),o=JSON.parse('[{"key":"0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"1","data":{"name":" outputs","type":" [  _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]'),d=JSON.parse('[{"key":"0","data":{"name":" bound","type":" _BN_","description":" Lower bound from which the given auxiliary fee percentage begins"}},{"key":"1","data":{"name":" percent","type":" _Number_","description":" Percentage fee that must be paid when a transaction's value is above the given bound (percentages are cumulative)"}}]'),c=JSON.parse('[{"key":"0","data":{"name":" auxfeekeyid","type":" _String_","description":" AuxFee KeyID, the hash160 of the address used where fees are paid out to. Should be P2WPKH"}},{"key":"1","data":{"name":" auxfees","type":" [  _AuxFee_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfee) _Array_","description":" Details of the auxiliary fees that must be paid for each transaction"},"children":[{"key":"1-0","data":{"name":" bound","type":" _BN_","description":" Lower bound from which the given auxiliary fee percentage begins"}},{"key":"1-1","data":{"name":" percent","type":" _Number_","description":" Percentage fee that must be paid when a transaction's value is above the given bound (percentages are cumulative)"}}]}]'),p=JSON.parse('[{"key":"0","data":{"name":" \\\\_\\\\_D","type":" _Buffer_","description":""}},{"key":"1","data":{"name":" \\\\_\\\\_Q","type":" _Buffer_","description":""}},{"key":"2","data":{"name":" chainCode","type":" _Buffer_","description":""}},{"key":"3","data":{"name":" network","type":" [  Network ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":""}},{"key":"4","data":{"name":" \\\\_\\\\_DEPTH","type":" _Number_","description":""}},{"key":"5","data":{"name":" \\\\_\\\\_INDEX","type":" _Number_","description":""}},{"key":"6","data":{"name":" \\\\_\\\\_PARENT\\\\_FINGERPRINT","type":" _Number_","description":""}}
1,{"key":"7","data":{"type":" lowR","description":" _Boolean_"}}]'),u=JSON.parse('[{"key":"0","data":{"name":" mnemonic","type":" _String_","description":" 12 word, Bip32 seed phrase","required":" yes"}},{"key":"1","data":{"name":" password","type":" _String_","description":" Encryption password for local storage on web clients","required":" no"}},{"key":"2","data":{"name":" isTestnet","type":" _Boolean_","description":" If using testnet set this to true","required":" no"}},{"key":"3","data":{"name":" networks","type":" [  _Networks_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#networks)","description":" Defaults to Syscoin network. Bitcoinjs-lib network settings for coin being used","required":" no"},"children":[{"key":"3-0","data":{"name":" mainnet","type":" [  _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" [  Network ](#network)  object to be used for mainnet"},"children":[{"key":"3-1-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"3-1-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"3-1-2","data":{"name":" bip32","type":" [  _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"3-1-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"3-1-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"3-1-5","data":{"type":" wif","description":" ` Hex`"}}]},{"key":"3-1","data":{"name":" testnet","type":" [  _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" [  Network ](#network)  object to be used for testnet"},"children":[{"key":"3-1-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"3-1-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"3-1-2","data":{"name":" bip32","type":" [  _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"3-1-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"3-1-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"3-1-5","data":{"type":" wif","description":" ` Hex`"}}]}]},{"key":"4","data":{"name":" SLIP44","type":" _Number_","description":" SLIP44 value for the coin, see:  [  SLIP44 Values ](https://github.com/satoshilabs/slips/blob/master/slip-0044.md)","required":" no"}},{"key":"5","data":{"name":" pubTypes","type":" _String_","description":" Defaults to Syscoin ZPub/VPub types. Specific ZPub for BIP84 and VPub for testnet","required":" no"}}]'),y=JSON.parse('[{"key":"0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"2","data":{"name":" bip32","type":" [  _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"5","data":{"type":" wif","description":" ` Hex`"}}]'),_=JSON.parse('[{"key":"0","data":{"name":" mainnet","type":" [  _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" [  Network ](#network)  object to be used for mainnet"},"children":[{"key":"1-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"1-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"1-2","data":{"name":" bip32","type":" [  _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"1-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"1-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"1-5","data":{"type":" wif","description":" ` Hex`"}}]},{"key":"1","data":{"name":" testnet","type":" [  _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" [  Network ](#network)  object to be used for testnet"},"children":[{"key":"1-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"1-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"1-2","data":{"name":" bip32","type":" [  _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"1-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"1-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"1-5","data":{"type":" wif","description":" ` Hex`"}}]}]'),m=JSON.parse('[{"key":"0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account  [  _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub)  and  [  HD path ](https://learnmeabitcoin.com/technical/derivation-paths)  information is required by the notary to verify change addresses belong to the sender account"}}]'),f=JSON.parse('[{"key":"0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"3","data":{"name":" assetInfo","type":" [  _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"3-1","data":{"name":" value","type":" _BN_  /  _String_","description":" Value transferred. Type will be  _BN_  if within a  [  _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)  object,  _String_  if within a  [  _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo)  object"}}]},{"key":"4","data":{"type":" script","description":" _Buffer_"}}]'),l=JSON.parse('[{"key":"0","data":{"name":" inputs","type":" [  _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0","data":{"name":" unknownKeyVals","type":" [  _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" witnessUtxo","type":" [  _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"1","data":{"name":" outputs","type":" [  _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"1-3","data":{"name":" assetInfo","type":" [  _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"1-3-1","data":{"name":" value","type":" _BN_  /  _String_","description":" Value transferred. Type will be  _BN_  if within a  [  _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)  object,  _String_  if within a  [  _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo)  object"}}]},{"key":"1-4","data":{"type":" script","description":" _Buffer_"}}]}
1,{"key":"2","data":{"type":" globalMap","description":" ` Object`"}}]'),k=JSON.parse('[{"key":"0","data":{"name":" unknownKeyVals","type":" [  _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"1","data":{"name":" witnessUtxo","type":" [  _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]'),h=JSON.parse('[{"key":"0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"1","data":{"name":" inputs","type":" [  _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"1-7","data":{"name":" assetInfo","type":" [  _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"2-3-1","data":{"name":" value","type":" _BN_  /  _String_","description":" Value transferred. Type will be  _BN_  if within a  [  _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)  object,  _String_  if within a  [  _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo)  object"}}]}]},{"key":"2","data":{"name":" outputs","type":" [  _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"2-3","data":{"name":" assetInfo","type":" [  _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"2-3-1","data":{"name":" value","type":" _BN_  /  _String_","description":" Value transferred. Type will be  _BN_  if within a  [  _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)  object,  _String_  if within a  [  _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo)  object"}}]},{"key":"2-4","data":{"type":" script","description":" _Buffer_"}}]}]'),b=JSON.parse('[{"key":"0","data":{"name":" type","type":" _String_","description":""}},{"key":"1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"3","data":{"name":" path","type":" _String_","description":""}},{"key":"4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"7","data":{"name":" assetInfo","type":" [  _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"7-1","data":{"name":" value","type":" _BN_  /  _String_","description":" Value transferred. Type will be  _BN_  if within a  [  _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)  object,  _String_  if within a  [  _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo)  object"}}]}]'),v=JSON.parse('[{"key":"0","data":{"name":" data","type":" [  _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" Bitcoin PSBT object"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [  _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [  _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [  _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [  _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [  _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_  /  _String_","description":" Value transferred. Type will be  _BN_  if within a  [  _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)  object,  _String_  if within a  [  _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo)  object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]}
1,{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),g=JSON.parse('[{"key":"0","data":{"name":" contract","type":" _Buffer_","description":" Hex buffer with the ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"1","data":{"name":" pubdata","type":" _Buffer_","description":" Hex buffer with the public data information of the token"}},{"key":"2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum supply in sats"}},{"key":"3","data":{"name":" precision","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"4","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Update capabilities on this asset"}}]'),S=JSON.parse('[{"key":"0","data":{"name":" type","type":" _String_","description":""}},{"key":"1","data":{"name":" address","type":" _String_","description":""}},{"key":"2","data":{"name":" txId","type":" _String_","description":""}},{"key":"3","data":{"name":" path","type":" _String_","description":""}},{"key":"4","data":{"name":" vout","type":" _Number_","description":""}},{"key":"5","data":{"name":" value","type":" _BN_","description":""}},{"key":"6","data":{"name":" locktime","type":"","description":""}},{"key":"7","data":{"type":" assetInfo","description":" [  _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)"},"children":[{"key":"7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"7-1","data":{"name":" value","type":" _BN_  /  _String_","description":" Value transferred. Type will be  _BN_  if within a  [  _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)  object,  _String_  if within a  [  _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo)  object"}}]}]'),j=JSON.parse('[{"key":"0","data":{"name":" utxos","type":" [  _SanitizedUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedutxo) _Array_","description":""},"children":[{"key":"0-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1","data":{"name":" address","type":" _String_","description":""}},{"key":"0-2","data":{"name":" txId","type":" _String_","description":""}},{"key":"0-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-4","data":{"name":" vout","type":" _Number_","description":""}},{"key":"0-5","data":{"name":" value","type":" _BN_","description":""}},{"key":"0-6","data":{"name":" locktime","type":"","description":""}},{"key":"0-7","data":{"type":" assetInfo","description":" [  _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)"},"children":[{"key":"0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-7-1","data":{"name":" value","type":" _BN_  /  _String_","description":" Value transferred. Type will be  _BN_  if within a  [  _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)  object,  _String_  if within a  [  _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo)  object"}}]}]},{"key":"1","data":{"name":" assets","type":" [  _SanitizedAssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedassetdetails) _Map_","description":" Mapped from asset GUIDs to  [  _SanitizedAssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedassetdetails)  objects."},"children":[{"key":"1-0","data":{"name":" contract","type":" _Buffer_","description":" Hex buffer with the ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"1-1","data":{"name":" pubdata","type":" _Buffer_","description":" Hex buffer with the public data information of the token"}},{"key":"1-2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum supply in sats"}},{"key":"1-3","data":{"name":" precision","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"1-4","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Update capabilities on this asset"}}]}]'),w=JSON.parse('[{"key":"0","data":{"name":" Signer","type":" [  _Signer_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#Signer)","description":" If letting Syscoin manage  [  _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub)  keys you would want to use an  [  Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/ut
1ils#Signer) . With  [  Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer)  assigned, signing will happen automatically when creating raw transactions","required":" no"}},{"key":"1","data":{"name":" blockbookURL","type":" _String_","description":" A back-end blockbook URL that will provide UTXO and required information to sign. User can always provide their own list of UTXOs in the same format as blockbook using  [  utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)  to sanitize the UTXO data to acceptable internal format","required":" no"}},{"key":"2","data":{"name":" network","type":" [  _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" The blockchain network and bip32 settings. The utils file has some examples including Bitcoin and Syscoin, it will default to Syscoin.","required":" no"},"children":[{"key":"2-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"2-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"2-2","data":{"name":" bip32","type":" [  _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"2-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"2-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"2-5","data":{"type":" wif","description":" ` Hex`"}}]}]'),x=JSON.parse('[{"key":"0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]'),N=JSON.parse('[{"key":"0","data":{"name":" password","type":" _String_","description":" Encryption password for local storage on web clients","required":" no"}},{"key":"1","data":{"name":" isTestnet","type":" _Boolean_","description":" If using testnet set this to true","required":" no"}},{"key":"2","data":{"name":" networks","type":" [  _Networks_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#networks)","description":" Defaults to Syscoin network. Bitcoinjs-lib network settings for coin being used","required":" no"},"children":[{"key":"2-0","data":{"name":" mainnet","type":" [  _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" [  Network ](#network)  object to be used for mainnet"},"children":[{"key":"2-1-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"2-1-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"2-1-2","data":{"name":" bip32","type":" [  _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"2-1-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"2-1-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"2-1-5","data":{"type":" wif","description":" ` Hex`"}}]},{"key":"2-1","data":{"name":" testnet","type":" [  _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" [  Network ](#network)  object to be used for testnet"},"children":[{"key":"2-1-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"2-1-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"2-1-2","data":{"name":" bip32","type":" [  _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"2-1-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"2-1-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"2-1-5","data":{"type":" wif","description":" ` Hex`"}}]}]},{"key":"3","data":{"name":" SLIP44","type":" _Number_","description":" SLIP44 value for the coin, see:  [  SLIP44 Values ](https://github.com/satoshilabs/slips/blob/master/slip-0044.md)","required":" no"}},{"key":"4","data":{"name":" pubTypes","type":" _String_","description":" Defaults to Syscoin ZPub/VPub types. Specific ZPub for BIP84 and VPub for testnet","required":" no"}}
1,{"key":"5","data":{"name":" connectSrc","type":" _String_","description":" URL source to connect to","required":" no"}},{"key":"6","data":{"name":" disableLazyLoad","type":" _Boolean_","description":" Prevents iframe injection until TrezorConnect.method is be called","required":" no"}}]'),T=JSON.parse('[{"key":"0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"6","data":{"name":" path","type":" _String_","description":""}},{"key":"7","data":{"name":" assetInfo","type":" [  _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"7-1","data":{"name":" value","type":" _BN_  /  _String_","description":" Value transferred. Type will be  _BN_  if within a  [  _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)  object,  _String_  if within a  [  _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo)  object"}}]}]'),O=JSON.parse('[{"key":"0","data":{"name":" utxos","type":" [  _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"0-7","data":{"name":" assetInfo","type":" [  _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-7-1","data":{"name":" value","type":" _BN_  /  _String_","description":" Value transferred. Type will be  _BN_  if within a  [  _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)  object,  _String_  if within a  [  _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo)  object"}}]}]},{"key":"1","data":{"name":" assets","type":" [  _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"1-3","data":{"name":" pubData","type":" [  _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or  [  _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub)  to fetch UTXOs for"}}]'),B=JSON.parse('[{"key":"0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"1","data":{"type":" value","description":" _Buffer_"}}]'),A=JSON.parse('[{"key":"0","data":{"name":" 0","type":"","description":" No flags enabled"}},{"key":"1","data":{"name":" 1","type":"","description":" Ability to update public data field"}},{"key":"2","data":{"name":" 2","type":"","description":" Ability to update smart contract field"}},{"key":"3","data":{"name":" 4","type":"","description":" Ability to issue or distribute supply via  [  assetsend ](#assetSend)"}},{"key":"4","data":{"name":" 8","type":"","description":" Ability to update notary address"}},{"key":"5","data":{"name":" 16","type":"","description":" Ability to update notary details"}},{"key":"6","data":{"name":" 32","type":"","description":" Ability to update aux fees"}},{"key":"7","data":{"name":" 64","type":"","description":" Ability to update capability flags"}},{"key":"8","data":{"name":" 127","type":"","description":" All flags enabled"}}]'),I=JSON.parse('[{"key":"0","data":{"name":" assetOpts","type":" [  _AssetOptionsBurn_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoptionsBurn)","description":" Asset details","required":" no"},"children":[{"key":"0-0","data":{"name":" ethaddress","type":" _String_","description":" If burning for purpose of sending over SysEthereum bridge specify the destination Ethereum address where tokens should be sent to on Ethereum"}}]},{"key":"1","data":{"name":" txOpts","type":" [  _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","de
1scription":" Transaction options","required":" no"},"children":[{"key":"1-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"1-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"1-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"1-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"2","data":{"name":" assetMap","type":" [  _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs","required":" yes"},"children":[{"key":"2-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"2-1","data":{"name":" outputs","type":" [  _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"2-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"2-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"3","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and  [  Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/ut
1ils#Signer)  is defined then a new change address will be automatically created using the next available change address index in the  [  HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"4","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"5","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific  [  _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub)  or address this field should be set","required":" no"}},{"key":"6","data":{"name":" utxos","type":" [  _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using  [  utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"6-0","data":{"name":" utxos","type":" [  _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"6-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"6-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"6-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"6-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"6-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"6-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"6-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"6-0-7","data":{"name":" assetInfo","type":" [  _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"6-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"6-0-7-1","data":{"name":" value","type":" _BN_  /  _String_","description":" Value transferred. Type will be  _BN_  if within a  [  _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)  object,  _String_  if within a  [  _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo)  object"}}]}]},{"key":"6-1","data":{"name":" assets","type":" [  _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"6-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"6-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"6-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"6-1-3","data":{"name":" pubData","type":" [  _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"6-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"6-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"6-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"6-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"6-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"6-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or  [  _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub)  to fetch UTXOs for"}}]},{"key":"7","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),P=JSON.parse('[{"key":"0","data":{"type":" [  _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A  [  PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)  if the  [  Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/ut
1ils#Signer)  is set or a result object (res) which is used to create a  [  PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)  and sign/send if an  [  _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub)  or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [  _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [  _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [  _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [  _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [  _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_  /  _String_","description":" Value transferred. Type will be  _BN_  if within a  [  _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)  object,  _String_  if within a  [  _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo)  object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),U=JSON.parse('[{"key":"0","data":{"name":" assetOpts","type":" [  _AssetOptionsMint_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoptionsmint)","description":" Asset details","required":" no"},"children":[{"key":"0-0","data":{"name":" ethtxid","type":" _String_","description":" The transaction that calls freezeBurnERC20() on ERC20Manager contract"}},{"key":"0-1","data":{"name":" web3url","type":" _String_","description":" If using eth-proof fully qualified Web3 HTTP-RPC URL that eth-proof needs to obtain the transaction proof and receipt proof information needed by Syscoin to validate the mint"}},{"key":"0-2","data":{"name":" blocknumber","type":" _Buffer_","description":" If ethtxid/web3url not provided. Block number of transaction including freezeBurnERC20() call"}},{"key":"0-3","data":{"name":" txvalue","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the transaction hex encoded in RLP format"}},{"key":"0-4","data":{"name":" txroot","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the transaction merkle root encoded in RLP format"}},{"key":"0-5","data":{"name":" txparentnodes","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the transaction merkle proof encoded in RLP format"}},{"key":"0-6","data":{"name":" txpath","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the merkle path for the transaction and receipt proof"}},{"key":"0-7","data":{"name":" receiptvalue","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the transaction receipt hex encoded in RLP format"}},{"key":"0-8","data":{"name":" receiptroot","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the receipt merkle root encoded in RLP format"}},{"key":"0-9","data":{"name":" receiptparentnodes","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the receipt merkle proof encoded in RLP format"}}]},{"key":"1","data":{"name":" txOpts","type":" [  _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","de
1scription":" Transaction options","required":" no"},"children":[{"key":"1-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"1-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"1-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"1-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"2","data":{"name":" assetMap","type":" [  _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs","required":" yes"},"children":[{"key":"2-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"2-1","data":{"name":" outputs","type":" [  _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"2-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"2-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"3","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and  [  Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/ut
1ils#Signer)  is defined then a new change address will be automatically created using the next available change address index in the  [  HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"4","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"5","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific  [  _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub)  or address this field should be set","required":" no"}},{"key":"6","data":{"name":" utxos","type":" [  _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using  [  utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"6-0","data":{"name":" utxos","type":" [  _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"6-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"6-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"6-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"6-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"6-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"6-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"6-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"6-0-7","data":{"name":" assetInfo","type":" [  _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"6-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"6-0-7-1","data":{"name":" value","type":" _BN_  /  _String_","description":" Value transferred. Type will be  _BN_  if within a  [  _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)  object,  _String_  if within a  [  _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo)  object"}}]}]},{"key":"6-1","data":{"name":" assets","type":" [  _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"6-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"6-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"6-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"6-1-3","data":{"name":" pubData","type":" [  _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"6-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"6-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"6-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"6-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"6-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"6-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or  [  _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub)  to fetch UTXOs for"}}]},{"key":"7","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),q=JSON.parse('[{"key":"0","data":{"type":" [  _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A  [  PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)  if the  [  Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/ut
1ils#Signer)  is set or a result object (res) which is used to create a  [  PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)  and sign/send if an  [  _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub)  or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [  _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [  _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [  _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [  _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [  _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_  /  _String_","description":" Value transferred. Type will be  _BN_  if within a  [  _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)  object,  _String_  if within a  [  _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo)  object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),D=JSON.parse('[{"key":"0","data":{"name":" txOpts","type":" [  _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"0-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"0-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"0-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"0-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"1","data":{"name":" assetMap","type":" [  _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs","required":" yes"},"children":[{"key":"1-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"1-1","data":{"name":" outputs","type":" [  _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"1-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"1-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"2","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and  [  Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/ut
1ils#Signer)  is defined then a new change address will be automatically created using the next available change address index in the  [  HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"3","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"4","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific  [  _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub)  or address this field should be set","required":" no"}},{"key":"5","data":{"name":" utxos","type":" [  _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using  [  utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"5-0","data":{"name":" utxos","type":" [  _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"5-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"5-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"5-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"5-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"5-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"5-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"5-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"5-0-7","data":{"name":" assetInfo","type":" [  _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"5-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-0-7-1","data":{"name":" value","type":" _BN_  /  _String_","description":" Value transferred. Type will be  _BN_  if within a  [  _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)  object,  _String_  if within a  [  _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo)  object"}}]}]},{"key":"5-1","data":{"name":" assets","type":" [  _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"5-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"5-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"5-1-3","data":{"name":" pubData","type":" [  _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"5-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"5-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"5-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"5-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"5-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"5-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or  [  _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub)  to fetch UTXOs for"}}]},{"key":"6","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),X=JSON.parse('[{"key":"0","data":{"type":" [  _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A  [  PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)  if the  [  Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/ut
1ils#Signer)  is set or a result object (res) which is used to create a  [  PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)  and sign/send if an  [  _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub)  or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [  _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [  _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [  _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [  _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [  _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_  /  _String_","description":" Value transferred. Type will be  _BN_  if within a  [  _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)  object,  _String_  if within a  [  _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo)  object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),R=JSON.parse('[{"key":"0","data":{"name":" assetOpts","type":" [  _AssetOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoptions)","description":" Asset details","required":" yes"},"children":[{"key":"0-0","data":{"name":" precision","type":" _Number_","description":" Digits precision for this asset. Range is 0 to 8"}},{"key":"0-1","data":{"name":" symbol","type":" _String_","description":" Symbol up to 8 characters in length in ASCII"}},{"key":"0-2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum satoshis for supply. Range is 1 to 1 quintillion (10^18)"}},{"key":"0-3","data":{"name":" description","type":" _String_","description":" Description in ASCII describing token. The description will be encoded via JSON in the pubdata field for the asset and will be in the 'desc' field of the JSON object"}},{"key":"0-4","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"0-5","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Defaults to 127 or ALL capabilities. Update capabilities on this asset. Read more  [  _here_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#updatecapabilityflags)"}},{"key":"0-6","data":{"name":" notarykeyid","type":" _String_","description":" Notary KeyID, the hash160 of the address used for notarization. Should be P2WPKH"}},{"key":"0-7","data":{"name":" notarydetails","type":" [  _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Details related to the notarization of transactions using this asset"},"children":[{"key":"0-7-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"0-7-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"0-7-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account  [  _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub)  and  [  HD path ](https://learnmeabitcoin.com/technical/derivation-paths)  information is required by the notary to verify change addresses belong to the sender account"}}]},{"key":"0-8","data":{"name":" auxFeeDetails","type":" [  _AuxFeeDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfeedetails)","description":" Enforce auxiliary fees to every transaction on this asset"},"children":[{"key":"0-8-0","data":{"name":" auxfeekeyid","type":" _String_","description":" AuxFee KeyID, the hash160 of the address used where fees are paid out to. Should be P2WPKH"}},{"key":"0-8-1","data":{"name":" auxfees","type":" [  _AuxFee_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfee) _Array_","description":" Details of the auxiliary fees that must be paid for each transaction"},"children":[{"key":"0-8-1-0","data":{"name":" bound","type":" _BN_","description":" Lower bound from which the given auxiliary fee percentage begins"}},{"key":"0-8-1-1","data":{"name":" percent","type":" _Number_","description":" Percentage fee that must be paid when a transaction's value is above the given bound (percentages are cumulative)"}}]}]}]},{"key":"1","data":{"name":" txOpts","type":" [  _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","de
1scription":" Transaction options","required":" no"},"children":[{"key":"1-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"1-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"1-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"1-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"2","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and  [  Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer)  is defined then a new change address will be automatically created using the next available change address index in the  [  HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"3","data":{"name":" sysReceivingAddress","type":" _String_","description":" Address which will hold the new asset. If not defined and  [  Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/ut
1ils#Signer)  is defined then a new receiving address will be automatically created using the next available receiving address index in the  [  HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"4","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"5","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific  [  _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub)  or address this field should be set","required":" no"}},{"key":"6","data":{"name":" utxos","type":" [  _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using  [  utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"6-0","data":{"name":" utxos","type":" [  _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"6-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"6-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"6-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"6-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"6-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"6-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"6-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"6-0-7","data":{"name":" assetInfo","type":" [  _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"6-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"6-0-7-1","data":{"name":" value","type":" _BN_  /  _String_","description":" Value transferred. Type will be  _BN_  if within a  [  _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)  object,  _String_  if within a  [  _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo)  object"}}]}]},{"key":"6-1","data":{"name":" assets","type":" [  _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"6-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"6-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"6-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"6-1-3","data":{"name":" pubData","type":" [  _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"6-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"6-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"6-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"6-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"6-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"6-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or  [  _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub)  to fetch UTXOs for"}}]}]'),H=JSON.parse('[{"key":"0","data":{"type":" [  _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A  [  PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)  if the  [  Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/ut
1ils#Signer)  is set or a result object (res) which is used to create a  [  PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)  and sign/send if an  [  _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub)  or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [  _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [  _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [  _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [  _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [  _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_  /  _String_","description":" Value transferred. Type will be  _BN_  if within a  [  _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)  object,  _String_  if within a  [  _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo)  object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),V=JSON.parse('[{"key":"0","data":{"name":" txOpts","type":" [  _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"0-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"0-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"0-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"0-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"1","data":{"name":" assetMap","type":" [  _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs","required":" yes"},"children":[{"key":"1-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"1-1","data":{"name":" outputs","type":" [  _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"1-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"1-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"2","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and  [  Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/ut
1ils#Signer)  is defined then a new change address will be automatically created using the next available change address index in the  [  HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"3","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"4","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific  [  _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub)  or address this field should be set","required":" no"}},{"key":"5","data":{"name":" utxos","type":" [  _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using  [  utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"5-0","data":{"name":" utxos","type":" [  _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"5-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"5-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"5-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"5-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"5-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"5-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"5-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"5-0-7","data":{"name":" assetInfo","type":" [  _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"5-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-0-7-1","data":{"name":" value","type":" _BN_  /  _String_","description":" Value transferred. Type will be  _BN_  if within a  [  _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)  object,  _String_  if within a  [  _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo)  object"}}]}]},{"key":"5-1","data":{"name":" assets","type":" [  _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"5-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"5-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"5-1-3","data":{"name":" pubData","type":" [  _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"5-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"5-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"5-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"5-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"5-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"5-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or  [  _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub)  to fetch UTXOs for"}}]},{"key":"6","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),J=JSON.parse('[{"key":"0","data":{"type":" [  _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A  [  PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)  if the  [  Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/ut
1ils#Signer)  is set or a result object (res) which is used to create a  [  PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)  and sign/send if an  [  _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub)  or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [  _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [  _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [  _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [  _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [  _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_  /  _String_","description":" Value transferred. Type will be  _BN_  if within a  [  _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)  object,  _String_  if within a  [  _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo)  object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),z=JSON.parse('[{"key":"0","data":{"name":" assetGuid","type":" _String_","description":" Asset GUID to update","required":" yes"}},{"key":"1","data":{"name":" assetOpts","type":" [  _AssetOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoptions)","description":" Asset details","required":" yes"},"children":[{"key":"1-0","data":{"name":" precision","type":" _Number_","description":" Digits precision for this asset. Range is 0 to 8"}},{"key":"1-1","data":{"name":" symbol","type":" _String_","description":" Symbol up to 8 characters in length in ASCII"}},{"key":"1-2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum satoshis for supply. Range is 1 to 1 quintillion (10^18)"}},{"key":"1-3","data":{"name":" description","type":" _String_","description":" Description in ASCII describing token. The description will be encoded via JSON in the pubdata field for the asset and will be in the 'desc' field of the JSON object"}},{"key":"1-4","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"1-5","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Defaults to 127 or ALL capabilities. Update capabilities on this asset. Read more  [  _here_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#updatecapabilityflags)"}},{"key":"1-6","data":{"name":" notarykeyid","type":" _String_","description":" Notary KeyID, the hash160 of the address used for notarization. Should be P2WPKH"}},{"key":"1-7","data":{"name":" notarydetails","type":" [  _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Details related to the notarization of transactions using this asset"},"children":[{"key":"1-7-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"1-7-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"1-7-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account  [  _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub)  and  [  HD path ](https://learnmeabitcoin.com/technical/derivation-paths)  information is required by the notary to verify change addresses belong to the sender account"}}]},{"key":"1-8","data":{"name":" auxFeeDetails","type":" [  _AuxFeeDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfeedetails)","description":" Enforce auxiliary fees to every transaction on this asset"},"children":[{"key":"1-8-0","data":{"name":" auxfeekeyid","type":" _String_","description":" AuxFee KeyID, the hash160 of the address used where fees are paid out to. Should be P2WPKH"}},{"key":"1-8-1","data":{"name":" auxfees","type":" [  _AuxFee_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfee) _Array_","description":" Details of the auxiliary fees that must be paid for each transaction"},"children":[{"key":"1-8-1-0","data":{"name":" bound","type":" _BN_","description":" Lower bound from which the given auxiliary fee percentage begins"}},{"key":"1-8-1-1","data":{"name":" percent","type":" _Number_","description":" Percentage fee that must be paid when a transaction's value is above the given bound (percentages are cumulative)"}}]}]}]},{"key":"2","data":{"name":" txOpts","type":" [  _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","de
1scription":" Transaction options","required":" no"},"children":[{"key":"2-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"2-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"2-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"2-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"3","data":{"name":" assetMap","type":" [  _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs","required":" yes"},"children":[{"key":"3-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"3-1","data":{"name":" outputs","type":" [  _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"3-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"3-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"4","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and  [  Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/ut
1ils#Signer)  is defined then a new change address will be automatically created using the next available change address index in the  [  HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"5","data":{"name":" sysReceivingAddress","type":" _String_","description":" Address which will hold the new asset. If not defined and  [  Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer)  is defined then a new receiving address will be automatically created using the next available receiving address index in the  [  HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"6","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"7","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific  [  _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub)  or address this field should be set","required":" no"}},{"key":"8","data":{"name":" utxos","type":" [  _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using  [  utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/ut
1ils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"8-0","data":{"name":" utxos","type":" [  _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"8-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"8-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"8-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"8-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"8-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"8-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"8-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"8-0-7","data":{"name":" assetInfo","type":" [  _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"8-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"8-0-7-1","data":{"name":" value","type":" _BN_  /  _String_","description":" Value transferred. Type will be  _BN_  if within a  [  _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)  object,  _String_  if within a  [  _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo)  object"}}]}]},{"key":"8-1","data":{"name":" assets","type":" [  _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"8-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"8-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"8-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"8-1-3","data":{"name":" pubData","type":" [  _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"8-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"8-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"8-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"8-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"8-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"8-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or  [  _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub)  to fetch UTXOs for"}}]},{"key":"9","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),E=JSON.parse('[{"key":"0","data":{"type":" [  _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A  [  PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)  if the  [  Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/ut
1ils#Signer)  is set or a result object (res) which is used to create a  [  PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)  and sign/send if an  [  _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub)  or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [  _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [  _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [  _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [  _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [  _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_  /  _String_","description":" Value transferred. Type will be  _BN_  if within a  [  _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)  object,  _String_  if within a  [  _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo)  object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),G=JSON.parse('[{"key":"0","data":{"name":" assetInfo","type":" ` Object`","description":" Object containing infuraurl and ethtxid fields populated","required":" yes"}}]'),M=JSON.parse('[{"key":"0","data":{"type":" [  _SPVProof_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#spvproof)","description":" SPV proof object"}}]'),C=JSON.parse('[{"key":"0","data":{"name":" psbt","type":" [  _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" Partially signed transaction object","required":" yes"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [  _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [  _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [  _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [  _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [  _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_  /  _String_","description":" Value transferred. Type will be  _BN_  if within a  [  _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)  object,  _String_  if within a  [  _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo)  object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]}
1,{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]},{"key":"1","data":{"name":" pathIn","type":" _String_","description":" Custom HD BIP32 path useful if signing from a specific address like a multisig","required":" no"}}]'),W=JSON.parse('[{"key":"0","data":{"name":" trezorTx","type":" [  _TrezorTransaction_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#trezortransaction)","description":" A  [  PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)  in the format of a  [  TrezorTransaction ](/docs/dev-resources/documentation/javascript-sdk-ref/types#trezortransaction)"},"children":[{"key":"0-0","data":{"name":" coin","type":" _String_","description":" Denotes the coin being used in the transaction"}},{"key":"0-1","data":{"name":" version","type":" ???????","description":""}},{"key":"0-2","data":{"name":" inputs","type":" [  _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":""},"children":[{"key":"0-2-0","data":{"name":" unknownKeyVals","type":" [  _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-2-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-2-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-2-1","data":{"name":" witnessUtxo","type":" [  _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-2-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-2-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-2-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-3","data":{"type":" outputs","description":" [  _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_"}}]}]'),F=JSON.parse('[{"key":"0","data":{"type":" _Number_","description":" The account index of the new account"}}]'),L=JSON.parse('[{"key":"0","data":{"name":" NFTID","type":" _Number_","description":" The desired NFT ID for the child asset","required":" yes"}},{"key":"1","data":{"name":" assetGuid","type":" _Number_","description":" The assetGuid of the base asset","required":" yes"}}]'),K=JSON.parse('[{"key":"0","data":{"type":" _Number_","description":" Returns the GUID for a child asset with the given NFT ID"}}]'),Y=JSON.parse('[{"key":"0","data":{"name":" addressIndex","type":" _Number_","description":" [  HD path ](https://learnmeabitcoin.com/technical/derivation-paths)  address index","required":" yes"}},{"key":"1","data":{"name":" isChange","type":" _Boolean_","description":" [  HD path ](https://learnmeabitcoin.com/technical/derivation-paths)  change marker","required":" yes"}}]'),Z=JSON.parse('[{"key":"0","data":{"type":" [  _KeyPair_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#keypair)","description":" The bitcoinjs-lib key pair derived from the address index and change marker"}}]'),Q=JSON.parse('[{"key":"0","data":{"name":" res","type":" [  _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The resulting object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [  _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [  _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_  /  _String_","description":" Value transferred. Type will be  _BN_  if within a  [  _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)  object,  _String_  if within a  [  _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo)  object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [  _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [  _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_  /  _String_","description":" Value transferred. Type will be  _BN_  if within a  [  _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)  object,  _String_  if within a  [  _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo)  object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]},{"key":"1","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),$=JSON.parse('[{"key":"0","data":{"name":" psbt","type":" [  _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A  [  PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)  from bitcoinjs-lib"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [  _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [  _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [  _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [  _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [  _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_  /  _String_","description":" Value transferred. Type will be  _BN_  if within a  [  _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)  object,  _String_  if within a  [  _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo)  object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]}
1,{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),ee=JSON.parse('[{"key":"0","data":{"name":" txOpts","type":" [  _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" yes"},"children":[{"key":"0-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"0-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"0-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"0-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"1","data":{"name":" changeAddress","type":" _String_","description":" Change address if defined is where change outputs are sent to. If not defined and  [  Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/ut
1ils#Signer)  is defined then a new change address will be automatically created using the next available change address index in the  [  HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" yes"}},{"key":"2","data":{"name":" outputsArr","type":" ` Object`","description":" Output array defining tuples to which addresses to send coins to and how much","required":" yes"}},{"key":"3","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"4","data":{"name":" fromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific  [  _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub)  or address this field should be set","required":" no"}},{"key":"5","data":{"name":" utxos","type":" [  _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using  [  utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/ut
1ils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"5-0","data":{"name":" utxos","type":" [  _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"5-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"5-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"5-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"5-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"5-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"5-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"5-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"5-0-7","data":{"name":" assetInfo","type":" [  _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"5-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-0-7-1","data":{"name":" value","type":" _BN_  /  _String_","description":" Value transferred. Type will be  _BN_  if within a  [  _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)  object,  _String_  if within a  [  _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo)  object"}}]}]},{"key":"5-1","data":{"name":" assets","type":" [  _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"5-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"5-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"5-1-3","data":{"name":" pubData","type":" [  _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"5-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"5-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"5-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"5-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"5-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"5-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or  [  _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub)  to fetch UTXOs for"}}]},{"key":"6","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),te=JSON.parse('[{"key":"0","data":{"type":" [  _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A  [  PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)  if the  [  Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/ut
1ils#Signer)  is set or a result object (res) which is used to create a  [  PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)  and sign/send if an  [  _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub)  or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [  _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [  _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [  _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [  _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [  _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_  /  _String_","description":" Value transferred. Type will be  _BN_  if within a  [  _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)  object,  _String_  if within a  [  _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo)  object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),ae=JSON.parse('[{"key":"0","data":{"name":" index","type":" _Number_","description":" Account number to derive","required":" yes"}}]'),se=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" Private key for the account specified by the account index"}}]'),ne=JSON.parse('[{"key":"0","data":{"name":" keypath","type":" _String_","description":" BIP32  [  HD path ](https://learnmeabitcoin.com/technical/derivation-paths)  of key desired based on internal seed and network","required":" yes"}}]'),ie=JSON.parse('[{"key":"0","data":{"type":" [  _KeyPair_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#keypair)","description":" A bitcoinjs-lib key pair"}}]'),re=JSON.parse('[{"key":"0","data":{"name":" keypath","type":" _String_","description":" BIP32  [  HD path ](https://learnmeabitcoin.com/technical/derivation-paths)  of the key desired based on internal seed and network","required":" yes"}}]'),oe=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" A bitcoinjs-lib public key"}}]'),de=JSON.parse('[{"key":"0","data":{"name":" utxos","type":" [  _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using  [  utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/ut
1ils#sanitizeblockbookutxos)","required":" yes"},"children":[{"key":"0-0","data":{"name":" utxos","type":" [  _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"0-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"0-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"0-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"0-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"0-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"0-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"0-0-7","data":{"name":" assetInfo","type":" [  _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"0-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-0-7-1","data":{"name":" value","type":" _BN_  /  _String_","description":" Value transferred. Type will be  _BN_  if within a  [  _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)  object,  _String_  if within a  [  _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo)  object"}}]}]},{"key":"0-1","data":{"name":" assets","type":" [  _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"0-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"0-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"0-1-3","data":{"name":" pubData","type":" [  _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"0-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"0-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"0-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"0-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"0-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"0-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or  [  _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub)  to fetch UTXOs for"}}]},{"key":"1","data":{"name":" fromXpubOrAddress","type":" _String_","description":" If wanting to fund from specific  [  xPUBs ](https://learnmeabitcoin.com/technical/extended-keys#:~:text=An%20extended%20key%20is%20a,in%20a%20hierarchical%20deterministic%20wallet.&text=In%20addition%2C%20a%20corresponding%20extended,the%20same%20child%20public%20keys%20.)  or addresses this field should be set. Can be an array of  [  xPUBs ](https://learnmeabitcoin.com/technical/extended-keys#:~:text=An%20extended%20key%20is%20a,in%20a%20hierarchical%20deterministic%20wallet.&text=In%20addition%2C%20a%20corresponding%20extended,the%20same%20child%20public%20keys%20.)  or addresses in combination","required":" no"}},{"key":"2","data":{"name":" txOpts","type":" [  _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","de
1scription":" Transaction options","required":" no"},"children":[{"key":"2-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"2-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"2-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"2-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"3","data":{"name":" assetMap","type":" [  _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs (For asset transactions only)","required":" no"},"children":[{"key":"3-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"3-1","data":{"name":" outputs","type":" [  _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"3-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"3-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"4","data":{"name":" excludeZeroConf","type":" _Boolean_","description":" False by default. Filtering out 0 conf UTXO, new/update/send asset transactions must use confirmed inputs only, as per Syscoin Core mempool policy","required":" no"}}]'),ce=JSON.parse('[{"key":"0","data":{"type":" [  _SanitizedUTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedutxos)","description":" Sanitized UTXO object array in JSON."},"children":[{"key":"0-0","data":{"name":" utxos","type":" [  _SanitizedUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedutxo) _Array_","description":""},"children":[{"key":"0-0-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-0-1","data":{"name":" address","type":" _String_","description":""}},{"key":"0-0-2","data":{"name":" txId","type":" _String_","description":""}},{"key":"0-0-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-0-4","data":{"name":" vout","type":" _Number_","description":""}},{"key":"0-0-5","data":{"name":" value","type":" _BN_","description":""}},{"key":"0-0-6","data":{"name":" locktime","type":"","description":""}},{"key":"0-0-7","data":{"type":" assetInfo","description":" [  _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)"},"children":[{"key":"0-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-0-7-1","data":{"name":" value","type":" _BN_  /  _String_","description":" Value transferred. Type will be  _BN_  if within a  [  _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)  object,  _String_  if within a  [  _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo)  object"}}]}]},{"key":"0-1","data":{"name":" assets","type":" [  _SanitizedAssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedassetdetails) _Map_","description":" Mapped from asset GUIDs to  [  _SanitizedAssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedassetdetails)  objects."},"children":[{"key":"0-1-0","data":{"name":" contract","type":" _Buffer_","description":" Hex buffer with the ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"0-1-1","data":{"name":" pubdata","type":" _Buffer_","description":" Hex buffer with the public data information of the token"}},{"key":"0-1-2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum supply in sats"}},{"key":"0-1-3","data":{"name":" precision","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"0-1-4","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Update capabilities on this asset"}}]}]}]'),pe=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" addressOrXpub","type":" _String_","description":" An address or  [  _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub)  to fetch UTXOs for","required":" yes"}},{"key":"2","data":{"name":" options","type":" ` Object`","description":" Optional queries based on  [  https://github.com/syscoin/blockbook/blob/master/docs/api.md#get-xpub ](https://github.com/syscoin/blockbook/blob/master/docs/api.md#get-xpub)","required":""}},{"key":"3","data":{"name":" xpub","type":" _Boolean_","description":" If addressOrXpub is an  [  _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub)  set to true","required":""}},{"key":"4","data":{"name":" Signer","type":" [  _Signer_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#Signer)","description":" [  _Signer_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#Signer)  object if you wish to update change/receiving indexes from backend provider (and XPUB token information is provided in response)"}}]'),ue=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" The account object in JSON"}}]'),ye=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" assetGuid","type":" _Number_","description":" GUID of the token/asset to fetch","required":" yes"}}]'),_e=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" The asset information in JSON"}}]'),me=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" blockhash","type":" _String_","description":" Block hash of the block information to fetch","required":" yes"}}]'),fe=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" The block information in JSON"}}]'),le=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" filter","type":" _String_","description":" Asset to fetch via filter, will filter contract or symbol fields","required":" yes"}}]'),ke=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" JSON array in response, asset information objects in JSON"}}]'),he=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" txid","type":" _String_","description":" Transaction ID of the transaction to fetch","required":" yes"}}]'),be=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" The transaction information in JSON"}}]'),ve=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" txid","type":" _String_","description":" Transaction ID of the transaction to fetch","required":" yes"}}]'),ge=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" The SPV proof in JSON"}}]'),Se=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" addressOrXpub","type":" _String_","description":" An address or  [  _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub)  to fetch UTXO's for","required":" yes"}},{"key":"2","data":{"name":" options","type":" ` Object`","description":" Optional queries based on  [  https://github.com/syscoin/blockbook/blob/master/docs/api.md#get-utxo ](https://github.com/syscoin/blockbook/blob/master/docs/api.md#get-utxo)"}}]'),je=JSON.parse('[{"key":"0","data":{"type":" [  _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" UTXO object array"},"children":[{"key":"0-0","data":{"name":" utxos","type":" [  _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"0-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"0-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"0-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}}
1,{"key":"0-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"0-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"0-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"0-0-7","data":{"name":" assetInfo","type":" [  _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"0-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-0-7-1","data":{"name":" value","type":" _BN_  /  _String_","description":" Value transferred. Type will be  _BN_  if within a  [  _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)  object,  _String_  if within a  [  _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo)  object"}}]}]},{"key":"0-1","data":{"name":" assets","type":" [  _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"0-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"0-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"0-1-3","data":{"name":" pubData","type":" [  _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"0-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"0-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"0-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"0-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"0-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"0-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or  [  _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub)  to fetch UTXOs for"}}]}]'),we=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" blocks","type":" _Number_","description":" How many blocks to estimate fee for","required":" yes"}},{"key":"2","data":{"name":" options","type":" ` Object`","description":" Optional queries based on  [  https://github.com/syscoin/blockbook/blob/master/docs/api.md#get-utxo ](https://github.com/syscoin/blockbook/blob/master/docs/api.md#get-utxo)"}}]'),xe=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" Fee object in JSON"}}]'),Ne=JSON.parse('[{"key":"0","data":{"name":" endPoint","type":" _String_","description":" Fully qualified URL which will take transaction information and respond with a signature or error on denial","required":" yes"}},{"key":"1","data":{"name":" txHex","type":" _String_","description":" Raw transaction hex","required":" yes"}}]'),Te=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" JSON object in response, signature on success and error on denial of notarization"}}]'),Oe=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}}]'),Be=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" Provider object in JSON"}}]'),Ae=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" An  [  _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub)  in hex format"}}]'),Ie=JSON.parse('[{"key":"0","data":{"name":" keyPair","type":" ` Object`","description":" Bitcoinjs-lib key pair","required":" yes"}}]'),Pe=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" A P2WPKH address"}}]'),Ue=JSON.parse('[{"key":"0","data":{"name":" pubKey","type":" _String_","description":" Bitcoinjs-lib public key","required":" yes"}}]'),qe=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" A P2WPKH address"}}]'),De=JSON.parse('[{"key":"0","data":{"name":" tx","type":" [  _Transaction_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transaction)","description":" Bitcoinjs transaction","required":" yes"}}]'),Xe=JSON.parse('[{"key":"0","data":{"type":" [  _Allocation_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#allocation) _Array_","description":" Array of allocation objects"}}]'),Re=JSON.parse('[{"key":"0","data":{"name":" assetGuid","type":" _Number_","description":" GUID of the child token/asset","required":" yes"}}]'),He=JSON.parse('[{"key":"0","data":{"type":" [  _AssetIDs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetids)","description":" Object containing the base asset GUID and NFT ID"},"children":[{"key":"0-0","data":{"name":" baseAssetID","type":" _String_","description":" Asset GUID of the base asset"}},{"key":"0-1","data":{"name":" NFTID","type":" _String_","description":" NFT ID of the asset"}}]}]'),Ve=JSON.parse('[{"key":"0","data":{"name":" res","type":" [  _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The result object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [  _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [  _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_  /  _String_","description":" Value transferred. Type will be  _BN_  if within a  [  _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)  object,  _String_  if within a  [  _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo)  object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [  _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [  _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_  /  _String_","description":" Value transferred. Type will be  _BN_  if within a  [  _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)  object,  _String_  if within a  [  _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo)  object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]},{"key":"1","data":{"name":" assets","type":" ` ??????????`","description":" Asset objects that are evaluated for notarization, and if they do require notarization then fetch signatures via fetchNotarizationFromEndPoint()","required":" yes"}}]'),Je=JSON.parse('[{"key":"0","data":{"type":" [  _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Asset map of objects requiring notarization or null if no notarization is required"},"children":[{"key":"0-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"0-1","data":{"name":" outputs","type":" [  _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"0-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]}]'),ze=JSON.parse('[{"key":"0","data":{"name":" assetGuid","type":" _Number_","description":" GUID of the child token/asset","required":" yes"}}]'),Ee=JSON.parse('[{"key":"0","data":{"type":" _Number_","description":" Asset GUID of the base asset"}}]'),Ge=JSON.parse('[{"key":"0","data":{"type":" _Buffer_","description":" The BIP32 root master fingerprint."}}]'),Me=JSON.parse('[{"key":"0","data":{"name":" outputs","type":" _Array_","description":" Transaction output array","required":" yes"}},{"key":"1","data":{"name":" memoHeader","type":" _String_","description":" Memo prefix, application specific. If not passed in just return the raw opreturn script if found."}}]'),Ce=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" Memo, or null if none exists"}}]'),We=JSON.parse('[{"key":"0","data":{"name":" script","type":" _Number_","description":" OP\\\\_RETURN script output","required":" yes"}},{"key":"1","data":{"name":" memoHeader","type":" _String_","description":" Memo prefix, application specific","required":" yes"}}]'),Fe=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" Memo, or null if none exists"}}]'),Le=JSON.parse('[{"key":"0","data":{"name":" skipIncrement","type":" _Number_","description":" If we should not count the internal 
1change index counter (if you want to get the same change address in the future)","required":" no"}}]'),Ke=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" An address used for change outputs"}}]'),Ye=JSON.parse('[{"key":"0","data":{"name":" skipIncrement","type":" _Number_","description":" If we should not count the internal change index counter (if you want to get the same change address in the future)","required":" no"}}]'),Ze=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" An address used for receiving outputs"}}]'),Qe=JSON.parse('[{"key":"0","data":{"name":" notaryAssets","type":" [  _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Asset objects that require notarization, fetch signatures via fetchNotarizationFromEndPoint()","required":" yes"},"children":[{"key":"0-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"0-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"0-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account  [  _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub)  and  [  HD path ](https://learnmeabitcoin.com/technical/derivation-paths)  information is required by the notary to verify change addresses belong to the sender account"}}]},{"key":"1","data":{"name":" txHex","type":" _String_","description":" Signed transaction hex created from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"}}]'),$e=JSON.parse('[{"key":"0","data":{"type":" _Boolean_","description":" Representing if notarization was done by acquiring a witness signature from notary"}}]'),et=JSON.parse('[{"key":"0","data":{"type":" [  _BIP32Node_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32node)","description":" BIP32 root node representing the seed"},"children":[{"key":"0-0","data":{"name":" \\\\_\\\\_D","type":" _Buffer_","description":""}},{"key":"0-1","data":{"name":" \\\\_\\\\_Q","type":" _Buffer_","description":""}},{"key":"0-2","data":{"name":" chainCode","type":" _Buffer_","description":""}},{"key":"0-3","data":{"name":" network","type":" [  Network ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":""}},{"key":"0-4","data":{"name":" \\\\_\\\\_DEPTH","type":" _Number_","description":""}},{"key":"0-5","data":{"name":" \\\\_\\\\_INDEX","type":" _Number_","description":""}},{"key":"0-6","data":{"name":" \\\\_\\\\_PARENT\\\\_FINGERPRINT","type":" _Number_","description":""}},{"key":"0-7","data":{"type":" lowR","description":" _Boolean_"}}]}]'),tt=JSON.parse('[{"key":"0","data":{"name":" psbt","type":" [  _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" The resulting PSBT object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [  _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [  _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [  _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [  _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [  _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_  /  _String_","description":" Value transferred. Type will be  _BN_  if within a  [  _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)  object,  _String_  if within a  [  _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo)  object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]}
1,{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]},{"key":"1","data":{"name":" notaryAssets","type":" ??????????","description":" Asset objects require notarization, fetch signatures via fetchNotarizationFromEndPoint()","required":" yes"}},{"key":"2","data":{"name":" rawTx","type":" _String_","description":""}}]'),at=JSON.parse('[{"key":"0","data":{"type":" [  _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" PSBT output notarized along with index"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [  _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [  _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [  _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [  _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [  _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_  /  _String_","description":" Value transferred. Type will be  _BN_  if within a  [  _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)  object,  _String_  if within a  [  _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo)  object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),st=JSON.parse('[{"key":"0","data":{"name":" password","type":" _String_","description":" Decryption password to unlock seed phrase","required":" yes"}}]'),nt=JSON.parse('[{"key":"0","data":{"type":" _Boolean_","description":" On success or fail of restore"}}]'),it=JSON.parse('[{"key":"0","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" The  [  _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub)  or address to fetch UTXOs for","required":" yes"}},{"key":"1","data":{"name":" utxoObject","type":" [  _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Back-end provider UTXO JSON object to be sanitized","required":" yes"},"children":[{"key":"1-0","data":{"name":" utxos","type":" [  _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"1-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"1-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"1-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"1-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}}
1,{"key":"1-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"1-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"1-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"1-0-7","data":{"name":" assetInfo","type":" [  _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"1-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"1-0-7-1","data":{"name":" value","type":" _BN_  /  _String_","description":" Value transferred. Type will be  _BN_  if within a  [  _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)  object,  _String_  if within a  [  _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo)  object"}}]}]},{"key":"1-1","data":{"name":" assets","type":" [  _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"1-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"1-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"1-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"1-1-3","data":{"name":" pubData","type":" [  _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"1-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"1-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"1-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"1-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"1-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"1-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or  [  _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub)  to fetch UTXOs for"}}]},{"key":"2","data":{"name":" network","type":" [  _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" Defaults to Syscoin Mainnet. Network to be used to create address for notary and auxfee payout address if those features exist for the asset","required":" no"},"children":[{"key":"2-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"2-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"2-2","data":{"name":" bip32","type":" [  _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"2-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"2-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"2-5","data":{"type":" wif","description":" ` Hex`"}}]},{"key":"3","data":{"name":" txOpts","type":" [  _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" If this is passed in we use assetWhiteList field of options to skip over (if assetWhiteList is null) UTXOs if they use notarization for an asset that is not a part of assetMap","required":" no"},"children":[{"key":"3-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"3-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"3-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"3-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}
1]},{"key":"4","data":{"name":" assetMap","type":" [  _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Destination outputs for a transaction requiring UTXO sanitizing, used in assetWhiteList, check described above","required":" no"},"children":[{"key":"4-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"4-1","data":{"name":" outputs","type":" [  _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"4-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"4-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"5","data":{"name":" excludeZeroConf","type":" _Boolean_","description":" False by default. Filtering out 0 conf UTXO, new/update/send asset transactions must use confirmed inputs only as per Syscoin Core mempool policy","required":" no"}}]'),rt=JSON.parse('[{"key":"0","data":{"type":" [  _SanitizedUTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedutxos)","description":" Sanitized UTXO object for use internally in this library"},"children":[{"key":"0-0","data":{"name":" utxos","type":" [  _SanitizedUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedutxo) _Array_","description":""},"children":[{"key":"0-0-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-0-1","data":{"name":" address","type":" _String_","description":""}},{"key":"0-0-2","data":{"name":" txId","type":" _String_","description":""}},{"key":"0-0-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-0-4","data":{"name":" vout","type":" _Number_","description":""}},{"key":"0-0-5","data":{"name":" value","type":" _BN_","description":""}},{"key":"0-0-6","data":{"name":" locktime","type":"","description":""}},{"key":"0-0-7","data":{"type":" assetInfo","description":" [  _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)"},"children":[{"key":"0-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-0-7-1","data":{"name":" value","type":" _BN_  /  _String_","description":" Value transferred. Type will be  _BN_  if within a  [  _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)  object,  _String_  if within a  [  _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo)  object"}}]}]},{"key":"0-1","data":{"name":" assets","type":" [  _SanitizedAssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedassetdetails) _Map_","description":" Mapped from asset GUIDs to  [  _SanitizedAssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedassetdetails)  objects."},"children":[{"key":"0-1-0","data":{"name":" contract","type":" _Buffer_","description":" Hex buffer with the ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"0-1-1","data":{"name":" pubdata","type":" _Buffer_","description":" Hex buffer with the public data information of the token"}},{"key":"0-1-2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum supply in sats"}},{"key":"0-1-3","data":{"name":" precision","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"0-1-4","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Update capabilities on this asset"}}]}]}]'),ot=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" ` Object`","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" txHex","type":" _Boolean_","description":" Raw transaction hex","required":" yes"}},{"key":"2","data":{"name":" Signer","type":" [  _Signer_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#Signer)","description":" Signer object if you wish to update change/receiving indexes from backend provider through  [  fetchBackendAccount() ](#fetchbackendaccount)"}}]'),dt=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" Returns txid in response or error"}}]'),ct=JSON.parse('[{"key":"0","data":{"name":" accountIndex","type":" _Number_","description":" Account number to use","required":" yes"}}]'),pt=JSON.parse('[{"key":"0","data":{"name":" tokens","type":" _Array_","description":" [  _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub)  tokens from the provider response to  [  _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub)  account details","required":" yes"}}]'),ut=JSON.parse('[{"key":"0","data":{"name":" rawHex","type":" _String_","description":" Raw transaction hex","required":" yes"}},{"key":"1","data":{"name":" memoHeader","type":" _String_","description":" Memo prefix, application specific","required":" yes"}},{"key":"2","data":{"name":" buffMemo","type":" _Buffer_","description":" Buffer memo to put into the transaction","required":" yes"}}]'),yt=JSON.parse('[{"key":"0","data":{"type":" [  _Transaction_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transaction)","description":" Returns the transaction with the memo appended to the inside of the OP\\\\_RETURN output, or null if not found"}}]'),_t=JSON.parse('[{"key":"0","data":{"name":" res","type":" [  _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The resulting object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [  _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [  _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_  /  _String_","description":" Value transferred. Type will be  _BN_  if within a  [  _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)  object,  _String_  if within a  [  _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo)  object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [  _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [  _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_  /  _String_","description":" Value transferred. Type will be  _BN_  if within a  [  _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)  object,  _String_  if within a  [  _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo)  object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]}]'),mt=JSON.parse('[{"key":"0","data":{"name":" res","type":" [  _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The resulting object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [  _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [  _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_  /  _String_","description":" Value transferred. Type will be  _BN_  if within a  [  _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)  object,  _String_  if within a  [  _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo)  object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [  _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [  _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_  /  _String_","description":" Value transferred. Type will be  _BN_  if within a  [  _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)  object,  _String_  if within a  [  _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo)  object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]},{"key":"1","data":{"name":" notaryAssets","type":" [  _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Asset objects that are required for notarization, fetch signatures via  [  fetchNotarizationFromEndPoint() ](/docs/dev-resources/documentation/javascript-sdk-ref/ut
1ils#fetchnotarizationfromendpoint)","required":" no"},"children":[{"key":"1-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"1-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"1-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account  [  _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub)  and  [  HD path ](https://learnmeabitcoin.com/technical/derivation-paths)  information is required by the notary to verify change addresses belong to the sender account"}}]},{"key":"2","data":{"name":" Signer","type":" [  _Signer_ ](/docs/dev-resources/documentation/javascript-sdk-ref/ut
1ils#Signer)","description":" Signer used to sign transaction","required":" no"}},{"key":"3","data":{"name":" pathIn","type":" _String_","description":" Custom HD BIP32 path useful if signing from a specific address like a multisig","required":" no"}}]'),ft=JSON.parse('[{"key":"0","data":{"type":" [  _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A signed  [  PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)  if successful or unsigned if it failed"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [  _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [  _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [  _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [  _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [  _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_  /  _String_","description":" Value transferred. Type will be  _BN_  if within a  [  _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)  object,  _String_  if within a  [  _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo)  object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),lt=JSON.parse('[{"key":"0","data":{"name":" res","type":" [  _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The resulting object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [  _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [  _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_  /  _String_","description":" Value transferred. Type will be  _BN_  if within a  [  _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)  object,  _String_  if within a  [  _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo)  object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [  _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [  _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_  /  _String_","description":" Value transferred. Type will be  _BN_  if within a  [  _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)  object,  _String_  if within a  [  _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo)  object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]},{"key":"1","data":{"name":" Signer","type":" [  _Signer_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#Signer)","description":"","required":" yes"}},{"key":"2","data":{"name":" notaryAssets","type":" [  _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Asset objects that are required for notarization, fetch signatures via  [  fetchNotarizationFromEndPoint() ](/docs/dev-resources/documentation/javascript-sdk-ref/ut
1ils#fetchnotarizationfromendpoint)","required":" no"},"children":[{"key":"2-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"2-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"2-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account  [  _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub)  and  [  HD path ](https://learnmeabitcoin.com/technical/derivation-paths)  information is required by the notary to verify change addresses belong to the sender account"}}]}]'),kt=JSON.parse('[{"key":"0","data":{"type":" [  _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A signed  [  PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)  if successful or unsigned if it failed"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [  _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [  _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [  _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [  _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [  _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_  /  _String_","description":" Value transferred. Type will be  _BN_  if within a  [  _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)  object,  _String_  if within a  [  _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo)  object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),ht=JSON.parse('[{"key":"0","data":{"name":" res","type":" [  _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The resulting object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [  _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [  _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_  /  _String_","description":" Value transferred. Type will be  _BN_  if within a  [  _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)  object,  _String_  if within a  [  _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo)  object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [  _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [  _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_  /  _String_","description":" Value transferred. Type will be  _BN_  if within a  [  _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)  object,  _String_  if within a  [  _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo)  object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]},{"key":"1","data":{"name":" wif","type":" _String_","description":" Private key in  [  WIF ](https://en.bitcoin.it/wiki/Wallet_import_format)  format to sign inputs of the transaction for","required":" yes"}},{"key":"2","data":{"name":" notaryAssets","type":" [  _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Asset objects that are required for notarization, fetch signatures via  [  fetchNotarizationFromEndPoint() ](/docs/dev-resources/documentation/javascript-sdk-ref/ut
1ils#fetchnotarizationfromendpoint)","required":" no"},"children":[{"key":"2-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"2-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"2-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account  [  _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub)  and  [  HD path ](https://learnmeabitcoin.com/technical/derivation-paths)  information is required by the notary to verify change addresses belong to the sender account"}}]}]'),bt=JSON.parse('[{"key":"0","data":{"type":" [  _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A signed  [  PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)  if successful or unsigned if it failed"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [  _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [  _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [  _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [  _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [  _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_  /  _String_","description":" Value transferred. Type will be  _BN_  if within a  [  _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)  object,  _String_  if within a  [  _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo)  object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),vt=JSON.parse('[{"key":"0","data":{"name":" psbt","type":" [  _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" Partially signed transaction object","required":" yes"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [  _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [  _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [  _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [  _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [  _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_  /  _String_","description":" Value transferred. Type will be  _BN_  if within a  [  _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)  object,  _String_  if within a  [  _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo)  object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]}
1,{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]},{"key":"1","data":{"name":" pathIn","type":" _String_","description":" Custom HD BIP32 path useful if signing from a specific address like a multisig","required":" no"}}]'),gt=JSON.parse('[{"key":"0","data":{"type":" [  _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A  [  PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)  from bitcoinjs-lib"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [  _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [  _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [  _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [  _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [  _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_  /  _String_","description":" Value transferred. Type will be  _BN_  if within a  [  _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)  object,  _String_  if within a  [  _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo)  object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),St=JSON.parse('[{"key":"0","data":{"name":" res","type":" [  _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The resulting object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [  _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [  _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_  /  _String_","description":" Value transferred. Type will be  _BN_  if within a  [  _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)  object,  _String_  if within a  [  _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo)  object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [  _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [  _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_  /  _String_","description":" Value transferred. Type will be  _BN_  if within a  [  _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)  object,  _String_  if within a  [  _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo)  object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]},{"key":"1","data":{"name":" wif","type":" ` ?????????`","description":" Private key in WIF format to sign inputs with","required":" yes"}},{"key":"2","data":{"name":" network","type":" [  _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" bitcoinjs-lib Network object","required":" yes"},"children":[{"key":"2-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"2-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"2-2","data":{"name":" bip32","type":" [  _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"2-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"2-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"2-5","data":{"type":" wif","description":" ` Hex`"}}]}]'),jt=JSON.parse('[{"key":"0","data":{"name":" psbt","type":" [  _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A  [  PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)  from bitcoinjs-lib"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [  _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [  _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [  _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [  _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [  _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_  /  _String_","description":" Value transferred. Type will be  _BN_  if within a  [  _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)  object,  _String_  if within a  [  _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo)  object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]}
1,{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),wt=JSON.parse('[{"key":"0","data":{"name":" txOpts","type":" [  _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"0-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"0-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"0-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"0-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"1","data":{"name":" assetMap","type":" [  _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs","required":" yes"},"children":[{"key":"1-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"1-1","data":{"name":" outputs","type":" [  _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"1-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"1-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"2","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and  [  Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/ut
1ils#Signer)  is defined then a new change address will be automatically created using the next available change address index in the  [  HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"3","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"4","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific  [  _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub)  or address this field should be set","required":" no"}},{"key":"5","data":{"name":" utxos","type":" [  _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using  [  utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"5-0","data":{"name":" utxos","type":" [  _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"5-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"5-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"5-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"5-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"5-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"5-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"5-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"5-0-7","data":{"name":" assetInfo","type":" [  _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"5-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-0-7-1","data":{"name":" value","type":" _BN_  /  _String_","description":" Value transferred. Type will be  _BN_  if within a  [  _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)  object,  _String_  if within a  [  _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo)  object"}}]}]},{"key":"5-1","data":{"name":" assets","type":" [  _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"5-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"5-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"5-1-3","data":{"name":" pubData","type":" [  _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"5-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"5-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"5-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"5-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"5-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"5-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or  [  _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub)  to fetch UTXOs for"}}]},{"key":"6","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),xt=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" A  [  PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)  if the  [  Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/ut
1ils#Signer)  is set or a result object (res) which is used to create a  [  PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)  and sign/send if an  [  _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub)  or address are passed in to the fund transaction"}}]')},80951:(e,t,a)=>{a.r(t),a.d(t,{default:()=>y,frontMatter:()=>o,metadata:()=>d,toc:()=>c});var s=a(58168),n=(a(96540),a(15680)),i=a(84419),r=a(28713);const o={sidebar_position:5},d={unversionedId:"dev-resources/documentation/javascript-sdk-ref/trezorsigner",id:"dev-resources/documentation/javascript-sdk-ref/trezorsigner",isDocsHomePage:!1,title:"TrezorSigner",description:"These are the TrezorSigner exported functions, TrezorSigner is used to manage and sign transactions using a Trezor hardware wallet. BIP44/BIP84 are supported. P2WPKH, P2WSH, P2PKH, P2SH.",source:"@site/docs/dev-resources/documentation/javascript-sdk-ref/trezorsigner.mdx",sourceDirName:"dev-resources/documentation/javascript-sdk-ref",slug:"/dev-resources/documentation/javascript-sdk-ref/trezorsigner",permalink:"/docs/dev-resources/documentation/javascript-sdk-ref/trezorsigner",version:"current",sidebarPosition:5,frontMatter:{sidebar_position:5},sidebar:"tutorialSidebar",previous:{title:"HDSigner",permalink:"/docs/dev-resources/documentation/javascript-sdk-ref/hdsigner"},next:{title:"Types",permalink:"/docs/dev-resources/documentation/javascript-sdk-ref/types"}},c=[{value:"backup",id:"backup",children:[]},{value:"convertToTrezorFormat",id:"converttotrezorformat",children:[]},{value:"createAccount",id:"createaccount",children:[]},{value:"deriveAccount",id:"deriveaccount",children:[]},{value:"getAccountNode",id:"getaccountnode",children:[]},{value:"getAccountXpub",id:"getaccountxpub",children:[]},{value:"getAddressFromPubKey",id:"getaddressfrompubkey",children:[]},{value:"getNewChangeAddress",id:"getnewchangeaddress",children:[]},{value:"getNewReceivingAddress",id:"getnewreceivingaddress",children:[]},{value:"restore",id:"restore",children:[]},{value:"setAccountIndex",id:"setaccountindex",children:[]},{value:"setLatestIndexesFromXPubTokens",id:"setlatestindexesfromxpubtokens",children:[]},{value:"sign",id:"sign",children:[]}],p={toc:c},u="wrapper";function y({components:e,...t}){return(0,n.yg)(u,(0,s.A)({},p,t,{components:e,mdxType:"MDXLayout"}),(0,n.yg)("p",null,"These are the TrezorSigner exported functions, TrezorSigner is used to manage and sign transactions using a Trezor hardware wallet. BIP44/BIP84 are supported. P2WPKH, P2WSH, P2PKH, P2SH."),(0,n.yg)("h3",{id:"backup"},"backup"),(0,n.yg)("h5",{id:"backup-1"},(0,n.yg)("em",{parentName:"h5"},"backup()")),(0,n.yg)("p",null,"Encrypt to password and backup to local storage for persistence."),(0,n.yg)("hr",null),(0,n.yg)("h3",{id:"converttotrezorformat"},"convertToTrezorFormat"),(0,n.yg)("h5",{id:"converttotrezorformat-1"},(0,n.yg)("em",{parentName:"h5"},"convertToTrezorFormat()")),(0,n.yg)("p",null,"Converts a Syscoin PSBT to Trezor format."),(0,n.yg)(i.A,{paramTable:r.sW,returnTable:r.CU,anchor:"#converttotrezorformat",mdxType:"ShowInfoComponent"}),(0,n.yg)("hr",null),(0,n.yg)("h3",{id:"createaccount"},"createAccount"),(0,n.yg)("h5",{id:"createaccount-1"},(0,n.yg)("em",{parentName:"h5"},"createAccount()")),(0,n.yg)("p",null,"Create and derive a new account."),(0,n.yg)(i.A,{returnTable:r.ss,anchor:"#createaccount",mdxType:"ShowInfoComponent"}),(0,n.yg)("hr",null),(0,n.yg)("h3",{id:"deriveaccount"},"deriveAccount"),(0,n.yg)("h5",{id:"deriveaccount-index-"},(0,n.yg)("em",{parentName:"h5"},"deriveAccount( index )")),(0,n.yg)("p",null,"Derive a HD account based on the index number passed in."),(0,n.yg)(i.A,{paramTable:r.BG,returnTable:r.fo,anchor:"#deriveaccount",mdxType:"ShowInfoComponent"}),(0,n.yg)("hr",null),(0,n.yg)("h3",{id:"getaccountnode"},"getAccountNode"),(0,n.yg)("h5",{id:"getaccountnode-1"},(0,n.yg)("em",{parentName:"h5"},"getAccountNode()")),(0,n.yg)("p",null,"Returns the ",(0,n.yg)("a",{parentName:"p",href:"utils/#trezorsigner"},"TrezorSigner"),"'s BIP32 root node."),(0,n.yg)(i.A,{returnTable:r.Xh,anchor:"#getrootnode",mdxType:"ShowInfoComponent"}),(0,n.yg)("hr",null),(0,n.yg)("h3",{id:"getaccountxpub"},"getAccountXpub"),(0,n.yg)("h5",{id:"getaccountxpub-1"},(0,n.yg)("em",{parentName:"h5"},"getAccountXpub()")),(0,n.yg)("p",null,"Gets the ",(0,n.yg)("a",{parentName:"p",href:"types/#xpub"},"xPub")," for the account currently in use by the ",(0,n.yg)("a",{parentName:"p",href:"utils/#trezorsigner"},"TrezorSigner"),", useful for public provider look-ups based on ",(0,n.yg)("a",{parentName:"p",href:"types/#xpub"},"xPub")," accounts."),(0,n.yg)(i.A,{returnTable:r.jY,anchor:"#getaccountxpub",mdxType:"ShowInfoComponent"}),(0,n.yg)("hr",null),(0,n.yg)("h3",{id:"getaddressfrompubkey"},"getAddressFromPubKey"),(0,n.yg)("h5",{id:"getaddressfrompubkey-pubkey-"},(0,n.yg)("em",{parentName:"h5"},"getAddressFromPubKey( pubKey )")),(0,n.yg)("p",null,"Takes a public key and gives back a P2WPKH address."),(0,n.yg)(i.A,{paramTable:r.db,returnTable:r.lS,anchor:"#getaddressfrompubkey",mdxType:"ShowInfoComponent"}),(0,n.yg)("hr",null),(0,n.yg)("h3",{id:"getnewchangeaddress"},"getNewChangeAddress"),(0,n.yg)("h5",{id:"getnewchangeaddress-skipincrement-"},(0,n.yg)("em",{parentName:"h5"},"getNewChangeAddress( skipIncrement )")),(0,n.yg)("p",null,"Get new address for sending change to."),(0,n.yg)(i.A,{paramTable:r.fn,returnTable:r.R5,anchor:"#getnewchangeaddress",mdxType:"ShowInfoComponent"}),(0,n.yg)("hr",null),(0,n.yg)("h3",{id:"getnewreceivingaddress"},"getNewReceivingAddress"),(0,n.yg)("h5",{id:"getnewreceivingaddress-skipincrement-"},(0,n.yg)("em",{parentName:"h5"},"getNewReceivingAddress( skipIncrement )")),(0,n.yg)("p",null,"Get new address for sending coins to."),(0,n.yg)(i.A,{paramTable:r.hy,returnTable:r.Pc,anchor:"#getnewreceivingaddress",mdxType:"ShowInfoComponent"}),(0,n.yg)("hr",null),(0,n.yg)("h3",{id:"restore"},"restore"),(0,n.yg)("h5",{id:"restore-password-"},(0,n.yg)("em",{parentName:"h5"},"restore( password )")),(0,n.yg)("p",null,"Restore on load from local storage and decrypt data to de-serialize objects."),(0,n.yg)(i.A,{paramTable:r.PF,returnTable:r.Pu,anchor:"#restore",mdxType:"ShowInfoComponent"}),(0,n.yg)("hr",null),(0,n.yg)("h3",{id:"setaccountindex"},"setAccountIndex"),(0,n.yg)("h5",{id:"setaccountindex-accountindex-"},(0,n.yg)("em",{parentName:"h5"},"setAccountIndex( accountIndex )")),(0,n.yg)("p",null,"Set HD account based on accountIndex number passed in so HD indexes (change/receiving) will be updated accordingly to this account."),(0,n.yg)(i.A,{paramTable:r.yX,anch
1or:"#setaccountindex",mdxType:"ShowInfoComponent"}),(0,n.yg)("hr",null),(0,n.yg)("h3",{id:"setlatestindexesfromxpubtokens"},"setLatestIndexesFromXPubTokens"),(0,n.yg)("h5",{id:"setlatestindexesfromxpubtokens-tokens-"},(0,n.yg)("em",{parentName:"h5"},"setLatestIndexesFromXPubTokens( tokens )")),(0,n.yg)("p",null,"Sets the change and receiving indexes from ",(0,n.yg)("a",{parentName:"p",href:"types/#xpub"},"xPub")," tokens passed in, from a back-end provider response."),(0,n.yg)(i.A,{paramTable:r.Ll,anchor:"#setlatestindexesfromxpubtokens",mdxType:"ShowInfoComponent"}),(0,n.yg)("hr",null),(0,n.yg)("h3",{id:"sign"},"sign"),(0,n.yg)("h5",{id:"sign-res-"},(0,n.yg)("em",{parentName:"h5"},"sign( res )")),(0,n.yg)("p",null,"Create signing information based on the ",(0,n.yg)("a",{parentName:"p",href:"utils/#trezorsigner"},"TrezorSigner")," (if set)"),(0,n.yg)(i.A,{paramTable:r._S,anchor:"#sign",mdxType:"ShowInfoComponent"}))}y.isMDXComponent=!0},84419:(e,t,a)=>{a.d(t,{A:()=>p});var s=a(96540),n=(a(59119),a(62297),a(6631),a(76520)),i=a.n(n);a(92349);class r extends s.Component{constructor(e){super(e),this.state={nodes:this.props.root,tableType:this.props.type,expandedKeys:{}},this.renderParam=this.renderParam.bind(this),this.renderParams=this.renderParams.bind(this),this.getParamElement=this.getParamElement.bind(this)}getParamElement(e){let t=`**\`${e.data.name}\`**`,a="";return" yes"===e.data.required&&(a="Required"),"param"!==this.state.tableType&&"type"!==this.state.tableType&&"return"!==this.state.tableType||!e.data.name?null:s.createElement("li",{class:"li-param"},s.createElement("div",{class:"flex short"},s.createElement(i(),{class:"md-type",children:t}),s.createElement("p",{class:"required"},a)))}renderParam(e){let t=`${e.data.type}`;return e.children?s.createElement("div",{class:"md-type"},this.getParamElement(e),s.createElement("ul",{class:"ul-param"},s.createElement("li",{class:"li-param"},s.createElement("details",{class:"short-spacing"},s.createElement("summary",null,s.createElement("div",null,s.createElement(i(),{class:"md-type",children:t}),s.createElement(i(),{class:"md-type",children:e.data.description}))),this.renderParams(e.children))))):s.createElement("div",{class:"md-type"},this.getParamElement(e),s.createElement("ul",{class:"ul-param"},s.createElement("li",{class:"li-param"},s.createElement("div",{class:"short-spacing"},s.createElement(i(),{class:"md-type",children:t}),s.createElement(i(),{class:"md-type",children:e.data.description})))))}renderParams(e){return s.createElement("ul",{class:"ul-param md-type"},e.map(e=>this.renderParam(e)))}render(){return null!=this.state.nodes?s.createElement("div",null,this.renderParams(this.state.nodes)):null}}const o=r;var d=a(85467);class c extends s.Component{constructor(e){super(e),this.state={showInfo:!1,paramTable:this.props.paramTable,returnTable:this.props.returnTable,typeTable:this.props.typeTable,examples:this.props.examples,anchor:this.props.anchor,showTitles:this.props.showTitles,buttonShowText:"\u1405"},this.checkLocationHash=this.checkLocationHash.bind(this),this.renderParams=this.renderParams.bind(this),this.renderReturns=this.renderReturns.bind(this),this.renderExamples=this.renderExamples.bind(this),this.renderTypes=this.renderTypes.bind(this),this.renderTable=this.renderTable.bind(this),this.toggleButton=this.toggleButton.bind(this)}componentDidMount(){void 0!==this.state.anchor&&this.checkLocationHash()}checkLocationHash(){"undefined"!=typeof location&&this.state.hash!==location.hash&&(location.hash==this.props.anchor?this.setState({showInfo:!0,hash:location.hash,buttonShowText:"\u1401"}):this.setState({hash:location.hash}))}componentDidUpdate(){void 0!==this.state.anchor&&this.checkLocationHash()}renderTable(e,t,a){return!1!==this.state.showTitles?s.createElement("div",null,s.createElement("h4",null,t),s.createElement(o,{root:a,type:e})):s.createElement(o,{root:a,type:e})}renderParams(){return void 0!==this.state.paramTable?this.renderTable("param","Parameters",this.state.paramTable):null}renderReturns(){return void 0!==this.state.returnTable?this.renderTable("return","Returns",this.state.returnTable):null}renderTypes(){return void 0!==this.state.typeTable?this.renderTable("type","Types",this.state.typeTable):null}renderExamples(){return void 0!==this.state.examples?!1!==this.state.showTitles?s.createElement("div",null,s.createElement("h4",null,"Examples"),s.createElement(d.A,{examples:this.state.examples})):s.createElement(d.A,{examples:this.state.examples}):null}toggleButton(){this.setState({showInfo:!this.state.showInfo}),this.state.showInfo?this.state.buttonShowText="\u1405":this.state.buttonShowText="\u1401"}render(){return this.state.showInfo?s.createElement("div",null,s.createElement("button",{class:"toggle-button",onClick:()=>this.toggleButton()},this.state.buttonShowText),this.renderParams(),this.renderReturns(),this.renderExamples(),this.renderTypes()):s.createElement("div",null,s.createElement("button",{class:"toggle-button",onClick:()=>this.toggleButton()},this.state.buttonShowText))}}const p=c},85467:(e,t,a)=>{a.d(t,{A:()=>y});var s=a(58168),n=a(96540),i=a(39243),r=a(76520),o=a.n(r),d=a(6272),c=a(50607);const p={code({node:e,inline:t,className:a,children:i,...r}){const o=/language-(\w+)/.exec(a||"");return!t&&o?n.createElement(d.A,(0,s.A)({style:c.A,language:o[1],PreTag:"div",children:String(i).replace(/\n$/,"")},r)):n.createElement("code",(0,s.A)({className:a},r))}};class u extends n.Component{constructor(e){super(e),this.state={examples:this.props.examples,selectedIndex:0}}render(){return this.state.examples&&this.state.examples.length>0?this.state.examples.length>1?n.createElement(i.tU,{selectedIndex:this.state.selectedIndex,onSelect:e=>this.setState({selectedIndex:e})},n.createElement(i.wb,null,this.state.examples.map((e,t)=>n.createElement(i.oz,{key:t,label:t},"Example ",t+1))),this.state.examples.map((e,t)=>n.createElement(i.Kp,{key:t},n.createElement(o(),{components:p,children:e})))):this.state.examples.map((e,t)=>n.createElement(o(),{key:t,components:p,children:e})):null}}const y=u}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.