Optionalscript?: Optional xUDT type script fields.
Provide args to reuse existing xUDT args. Provide codeHash and
hashType to use an explicit deployment instead of the known xUDT script
shorthand.
OptionalxUdtArgs?: CoinXUdtArgsLike | nullStructured xUDT args.
When provided, this value is encoded with CoinXUdtArgs and
overrides script.args.
Script configurations for CoinXUdt.
CoinXUdtaccepts either existing xUDT type args throughscript.args, or structured args throughxUdtArgs. When both are provided,xUdtArgsis used to build the finalscript.args.A complete
scriptwithcodeHashandhashTypetakes priority overknownScript. If the script is incomplete,knownScriptis used as shorthand and defaults to ccc.KnownScript.XUdt.