@arkade-os/sdk Documentation - v0.4.21
    Preparing search index...

    Class AssetInput

    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.

    Index

    Properties

    input: AssetInputLocal | AssetInputIntent

    Accessors

    Methods

    • Serialize the asset input into an existing buffer writer.

      Parameters

      • writer: BufferWriter

      Returns void

    • Create an intent-backed asset input referencing an external intent transaction.

      Parameters

      • txid: string
      • vin: number
      • amount: number | bigint

      Returns AssetInput