Gets the amount for an input (in most cases, 330 sats)
Gets the transaction input index for an asset input, e.g. 0
Serialize the asset input to raw bytes.
Serialize the asset input into an existing buffer writer.
Encode the asset input to a hex string.
Validate the asset input fields.
StaticcreateCreate a local asset input that points at a transaction input index.
StaticcreateCreate an intent-backed asset input referencing an external intent transaction.
StaticfromStaticfromStaticfrom
AssetInput represents an input of an asset group. a local input references a real transaction input and specify the amount in satoshis. an intent input references an external intent transaction. It is created by the server to handle batch leaf transaction.