ReadonlyamountReadonlyvoutStatic ReadonlyTYPE_Serialize the asset output to raw bytes.
Serialize the asset output into an existing buffer writer.
Encode the asset output to a hex string.
Validate the asset output fields.
StaticcreateCreate a local asset output referencing a transaction output index.
StaticfromStaticfromStaticfrom
AssetOutput references a real transaction output and specify the amount in satoshis. it must be present in an AssetGroup.
Param: vout
the output index in the transaction
Param: amount
asset amount in satoshis