This section for the xchain Doge library provides developers with a comprehensive understanding of the operational workflow and underlying mechanisms of the library. It outlines the steps involved in utilizing the library's features and functionalities to interact effectively with the Dogecoin blockchain network.

Third-Party Library

It communicates with Doge by using BIP39 bitcoinjs-lib and WIF

Client URL

  • Mainnet: https://api.blockcypher.com/v1

  • Testnet: https://api.blockcypher.com/v1

Explorer URL

Address Generation

By default, the index is 0. - m/44'/3'/0'/0/ for mainnet, m/44'/3'/0'/0/ for testnet

Blockchain-Specific Functions

Additional functions to get fee information

  • getFeesWithRates

  • getFeesWithMemo

  • getFeeRates

type FeeRate = number
type FeeRates = Record<FeeOptionKey, FeeRate>
type FeesWithRates = { rates: FeeRates; fees: Fees }

getFeesWithRates(memo?: string): Promise<FeesWithRates>
getFeesWithMemo(memo: string): Promise<Fees>
getFeeRates(): Promise<FeeRates>

Scans UTXOs on the Address

scanUTXOs(): Promise<void>

You can check the functions available in this client from the following link xchain-docs

Last updated