Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Implements

Index

Constructors

constructor

Properties

accountEndpoint

accountEndpoint: string = '/v2/accounts'

bnsLookupUrl

bnsLookupUrl: string = 'https://stacks-node-api.mainnet.stacks.co'

broadcastEndpoint

broadcastEndpoint: string = '/v2/transactions'

chainId

chainId: ChainID = ...

contractAbiEndpoint

contractAbiEndpoint: string = '/v2/contracts/interface'

coreApiUrl

coreApiUrl: string = 'https://stacks-node-api.mainnet.stacks.co'

readOnlyFunctionCallEndpoint

readOnlyFunctionCallEndpoint: string = '/v2/contracts/call-read'

transferFeeEstimateEndpoint

transferFeeEstimateEndpoint: string = '/v2/fees/transfer'

version

version: TransactionVersion = ...

Methods

getAbiApiUrl

  • getAbiApiUrl(address: string, contract: string): string

getAccountApiUrl

  • getAccountApiUrl(address: string): string

getBlockTimeInfoUrl

  • getBlockTimeInfoUrl(): string

getBroadcastApiUrl

  • getBroadcastApiUrl(): string

getInfoUrl

  • getInfoUrl(): string

getNameInfo

  • getNameInfo(fullyQualifiedName: string): Promise<any>
  • Get WHOIS-like information for a name, including the address that owns it, the block at which it expires, and the zone file anchored to it (if available).

    This is intended for use in third-party wallets or in DApps that register names.

    Parameters

    • fullyQualifiedName: string

    Returns Promise<any>

getPoxInfoUrl

  • getPoxInfoUrl(): string

getReadOnlyFunctionCallApiUrl

  • getReadOnlyFunctionCallApiUrl(contractAddress: string, contractName: string, functionName: string): string
  • Parameters

    • contractAddress: string
    • contractName: string
    • functionName: string

    Returns string

getStackerInfoUrl

  • getStackerInfoUrl(contractAddress: string, contractName: string): string
  • Parameters

    • contractAddress: string
    • contractName: string

    Returns string

getTransferFeeEstimateApiUrl

  • getTransferFeeEstimateApiUrl(): string

isMainnet

  • isMainnet(): boolean

Generated using TypeDoc