Options
All
  • Public
  • Public/Protected
  • All
Menu

Class StacksMainnet

Hierarchy

Implements

Index

Properties

accountEndpoint

accountEndpoint: string = "/v2/accounts"

bnsLookupUrl

bnsLookupUrl: string = "https://core.blockstack.org"

broadcastEndpoint

broadcastEndpoint: string = "/v2/transactions"

chainId

chainId: ChainID = ChainID.Mainnet

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 = TransactionVersion.Mainnet

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>

getPoxInfoUrl

  • getPoxInfoUrl(): string

getReadOnlyFunctionCallApiUrl

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

getStackerInfoUrl

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

getTransferFeeEstimateApiUrl

  • getTransferFeeEstimateApiUrl(): string

isMainnet

  • isMainnet(): boolean

Generated using TypeDoc