wallet-storage-client
Version:
Client only Wallet Storage
17 lines • 1.16 kB
TypeScript
import { sdk } from '../../index.client';
/**
* WhatOnChain.com has their own "hash/pos/R/L" proof format and a more TSC compliant proof format.
*
* The "/proof/tsc" endpoint is much closer to the TSC specification. It provides "index" directly and each node is just the provided hash value.
* The "targetType" is unspecified and thus defaults to block header hash, requiring a Chaintracks lookup to get the merkleRoot...
* Duplicate hash values are provided in full instead of being replaced by "*".
*
* @param txid
* @param chain
* @returns
*/
export declare function getMerklePathFromWhatsOnChainTsc(txid: string, chain: sdk.Chain, services: sdk.WalletServices): Promise<sdk.GetMerklePathResult>;
export declare function getRawTxFromWhatsOnChain(txid: string, chain: sdk.Chain): Promise<sdk.GetRawTxResult>;
export declare function getUtxoStatusFromWhatsOnChain(output: string, chain: sdk.Chain, outputFormat?: sdk.GetUtxoStatusOutputFormat): Promise<sdk.GetUtxoStatusResult>;
export declare function updateBsvExchangeRate(rate?: sdk.BsvExchangeRate, updateMsecs?: number): Promise<sdk.BsvExchangeRate>;
//# sourceMappingURL=whatsonchain.d.ts.map