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 BurstService instance in first order, and the payload in second order.

factoryMethod(burstServiceInstance)(methodArgs)

The factory methods are used ApiComposer and composeApi

Index

Functions

Const broadcastTransaction

Const callContractMethod

Const cancelSubscription

Const createSubscription

Const generateSendTransactionQRCode

  • generateSendTransactionQRCode(service: BurstService): function

Const generateSendTransactionQRCodeAddress

  • generateSendTransactionQRCodeAddress(service: BurstService): 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 getPeer

Const getPeers

Const getRewardRecipient

Const getServerStatus

Const getSubscription

Const getSubscriptionsToAccount

  • getSubscriptionsToAccount(service: BurstService): function

Const getTime

Const getTransaction

Const getUnconfirmedAccountTransactions

  • getUnconfirmedAccountTransactions(service: BurstService): function

Const getUnconfirmedTransactions

  • getUnconfirmedTransactions(service: BurstService): function

Const publishContract

Const sendAmount

Const sendAmountToMultipleRecipients

  • sendAmountToMultipleRecipients(service: BurstService): function

Const sendAmountToSingleRecipient

  • sendAmountToSingleRecipient(service: BurstService): function

Const sendEncryptedMessage

Const sendEncryptedTextMessage

Const sendMessage

Const sendSameAmountToMultipleRecipients

  • sendSameAmountToMultipleRecipients(service: BurstService): function

Const sendTextMessage

Const setAccountInfo

Const setAlias

Const setAlias

Const setRewardRecipient

Const suggestFee