Options
All
  • Public
  • Public/Protected
  • All
Menu

Class StacksMocknet

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.Testnet

contractAbiEndpoint

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

coreApiUrl

coreApiUrl: string = "http://localhost:3999"

readOnlyFunctionCallEndpoint

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

transferFeeEstimateEndpoint

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

version

version: TransactionVersion = TransactionVersion.Testnet

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