Options
All
  • Public
  • Public/Protected
  • All
Menu

External module core.api.factories

This submodule describes the Factory Methods of the API. You almost will like to use composeApi rather than using the Factory Methods itself

The factory methods are higher-order functions which receives a ChainService instance in first order, and the payload in second order.

factoryMethod(burstServiceInstance)(methodArgs)

The factory methods are used ApiComposer and composeApi

Index

Functions

Const addCommitment

  • addCommitment(service: ChainService): (Anonymous function)

Const broadcastTransaction

Const callContractMethod

  • callContractMethod(service: ChainService): (Anonymous function)

Const cancelAskOrder

  • cancelAskOrder(service: ChainService): (Anonymous function)

Const cancelBidOrder

  • cancelBidOrder(service: ChainService): (Anonymous function)

Const cancelSubscription

  • cancelSubscription(service: ChainService): (Anonymous function)

Const createSubscription

  • createSubscription(service: ChainService): (Anonymous function)

Const generateSendTransactionQRCode

  • generateSendTransactionQRCode(service: ChainService): function

Const generateSendTransactionQRCodeAddress

  • generateSendTransactionQRCodeAddress(service: ChainService): function

Const getAccount

Const getAccountBalance

Const getAccountBlockIds

Const getAccountBlocks

Const getAccountSubscriptions

Const getAccountTransactions

Const getAliasById

Const getAliasByName

Const getAliases

Const getAllAssets

Const getAllContractIds

Const getAsset

Const getBlockByHeight

Const getBlockById

Const getBlockByTimestamp

Const getBlockId

Const getBlockchainStatus

Const getBlocks

Const getContract

Const getContractsByAccount

Const getMiningInfo

Const getNetworkInfo

Const getPeer

Const getPeers

Const getRewardRecipient

Const getServerStatus

Const getSubscription

Const getSubscriptionsToAccount

  • getSubscriptionsToAccount(service: ChainService): function

Const getSuggestedFees

Const getTime

Const getTransaction

Const getUnconfirmedAccountTransactions

  • getUnconfirmedAccountTransactions(service: ChainService): function

Const getUnconfirmedTransactions

  • getUnconfirmedTransactions(service: ChainService): function

Const issueAsset

Const parseTransactionBytes

Const placeAskOrder

  • placeAskOrder(service: ChainService): (Anonymous function)

Const placeBidOrder

  • placeBidOrder(service: ChainService): (Anonymous function)

Const publishContract

  • publishContract(service: ChainService): (Anonymous function)

Const publishContractByReference

  • publishContractByReference(service: ChainService): (Anonymous function)

Const removeCommitment

  • removeCommitment(service: ChainService): (Anonymous function)

Const sendAmountToMultipleRecipients

  • sendAmountToMultipleRecipients(service: ChainService): (Anonymous function)

Const sendAmountToSingleRecipient

  • sendAmountToSingleRecipient(service: ChainService): (Anonymous function)

Const sendEncryptedMessage

  • sendEncryptedMessage(service: ChainService): (Anonymous function)

Const sendMessage

Const sendSameAmountToMultipleRecipients

  • sendSameAmountToMultipleRecipients(service: ChainService): (Anonymous function)

Const setAccountInfo

  • setAccountInfo(service: ChainService): (Anonymous function)

Const setAlias

Const setAlias

Const setRewardRecipient

  • setRewardRecipient(service: ChainService): (Anonymous function)

Const signAndBroadcastTransaction

  • signAndBroadcastTransaction(chainService: ChainService): function

Const transferAsset

  • transferAsset(service: ChainService): (Anonymous function)