Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CLINetworkAdapter

Hierarchy

  • CLINetworkAdapter

Index

Constructors

constructor

Properties

consensusHash

consensusHash: string | null

feeRate

feeRate: number | null

gracePeriod

gracePeriod: number | null

legacyNetwork

legacyNetwork: BlockstackNetwork

namespaceBurnAddress

namespaceBurnAddress: string | null

nodeAPIUrl

nodeAPIUrl: string

optAlwaysCoerceAddress

optAlwaysCoerceAddress: boolean

priceToPay

priceToPay: string | null

priceUnits

priceUnits: string | null

receiveFeesPeriod

receiveFeesPeriod: number | null

Methods

broadcastTransaction

  • broadcastTransaction(tx: string): Promise<any>

broadcastZoneFile

  • broadcastZoneFile(zonefile: string, txid: string): Promise<any>

coerceAddress

  • coerceAddress(address: string): string

coerceMainnetAddress

  • coerceMainnetAddress(address: string): string

getAccountHistoryPage

  • getAccountHistoryPage(address: string, page: number): Promise<any[]>

getBlockchainNameRecord

  • getBlockchainNameRecord(name: string): Promise<any>

getConsensusHash

  • getConsensusHash(): Promise<string>

getFeeRate

  • getFeeRate(): Promise<number>

getGracePeriod

  • getGracePeriod(): Promise<number>

getNameHistory

  • getNameHistory(name: string, page: number): Promise<Record<string, any[]>>

getNameInfo

getNamePrice

  • getNamePrice(name: string): Promise<PriceType>

getNamesOwned

  • getNamesOwned(address: string): Promise<string[]>

getNamespaceBurnAddress

  • getNamespaceBurnAddress(namespace: string, useCLI?: boolean, receiveFeesPeriod?: number): Promise<string>
  • Parameters

    • namespace: string
    • Default value useCLI: boolean = true
    • Default value receiveFeesPeriod: number = -1

    Returns Promise<string>

getNamespacePrice

  • getNamespacePrice(namespaceID: string): Promise<PriceType>

isMainnet

  • isMainnet(): boolean

isTestnet

  • isTestnet(): boolean

setCoerceMainnetAddress

  • setCoerceMainnetAddress(value: boolean): void

Generated using TypeDoc