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

    Class OnchainWallet

    Onchain Bitcoin wallet implementation for traditional Bitcoin transactions.

    This wallet handles regular Bitcoin transactions on the blockchain without using the Ark protocol. It supports P2TR (Pay-to-Taproot) addresses and provides basic Bitcoin wallet functionality.

    const wallet = await OnchainWallet.create(identity, 'mainnet');
    const balance = await wallet.getBalance();
    const txid = await wallet.send({
    address: 'bc1...',
    amount: 50000
    });

    Implements

    Index

    Properties

    network: Network
    onchainP2TR: P2TR
    provider: OnchainProvider
    DUST_AMOUNT: number = 546
    MIN_FEE_RATE: number = 1

    Accessors

    Methods