@raoul-picconi/mojito-sdk
    Preparing search index...

    Function getBTCTransaction

    • Get detailed Bitcoin transaction from mempool.space API

      Parameters

      • txid: string

        Transaction ID to fetch

      • isTestnet: boolean = false

        Whether to use testnet or mainnet

      Returns Promise<BTCDetailedTransaction>

      Promise resolving to detailed transaction

      Error if fetch fails