Cashu-TS - v4.5.1
    Preparing search index...

    Class MeltOnchainBuilderExperimental

    Builder for melting proofs via an onchain Bitcoin transaction.

    Any overage above the selected quote amount and fee option is offered as NUT-08 change.

    // Basic onchain melt (1 fee option)
    const result = await wallet.ops.meltOnchain(quote, proofs).privkey('sk').run();

    // with custom keyset ID and selected fee option
    await wallet.ops
    .meltOnchain(quote, proofs)
    .keyset('01abc...')
    .privkey('sk')
    .feeIndex(0)
    .run();

    Onchain support follows NUT-30 semantics and may change.

    Index

    Constructors

    Methods

    Constructors

    Methods