Options
All
  • Public
  • Public/Protected
  • All
Menu

External module core

This is the main package, and almost all you may need to interact with the Signum Node API

see

Get started with composeApi or LedgerClientFactory

Index

References

Enumerations

Variables

Classes

Interfaces

Functions

Type aliases

References

AccountApi

AccountApi:

AliasApi

AliasApi:

Api

Api:

ApiComposer

ApiComposer:

ApiSettings

ApiSettings:

AssetApi

AssetApi:

BlockApi

BlockApi:

ContractApi

ContractApi:

MessageApi

MessageApi:

NetworkApi

NetworkApi:

TransactionApi

TransactionApi:

addAssetTreasuryAccount

addAssetTreasuryAccount:

addCommitment

addCommitment:

broadcastTransaction

broadcastTransaction:

burnAsset

burnAsset:

buyAlias

buyAlias:

buyTopLevelDomain

buyTopLevelDomain:

calculateDistributionFee

calculateDistributionFee:

callContractMethod

callContractMethod:

cancelAskOrder

cancelAskOrder:

cancelBidOrder

cancelBidOrder:

cancelSubscription

cancelSubscription:

composeApi

composeApi:

createSubscription

createSubscription:

distributeToAssetHolders

distributeToAssetHolders:

generateSendTransactionQRCode

generateSendTransactionQRCode:

generateSendTransactionQRCodeAddress

generateSendTransactionQRCodeAddress:

getAccount

getAccount:

getAccountBalance

getAccountBalance:

getAccountBlockIds

getAccountBlockIds:

getAccountBlocks

getAccountBlocks:

getAccountSubscriptions

getAccountSubscriptions:

getAccountTransactions

getAccountTransactions:

getAliasById

getAliasById:

getAliasByName

getAliasByName:

getAliases

getAliases:

getAliasesOnSale

getAliasesOnSale:

getAllAssets

getAllAssets:

getAllContractIds

getAllContractIds:

getAllContractsByCodeHash

getAllContractsByCodeHash:

getAllTrades

getAllTrades:

getAsset

getAsset:

getAssetHolders

getAssetHolders:

getAssetTrades

getAssetTrades:

getAssetTradesPerAccount

getAssetTradesPerAccount:

getAssetTradesPerAsset

getAssetTradesPerAsset:

getAssetTransfers

getAssetTransfers:

getAssetTransfersPerAccount

getAssetTransfersPerAccount:

getAssetTransfersPerAsset

getAssetTransfersPerAsset:

getAssetsByIssuer

getAssetsByIssuer:

getAssetsByName

getAssetsByName:

getAssetsByOwner

getAssetsByOwner:

getBlockByHeight

getBlockByHeight:

getBlockById

getBlockById:

getBlockByTimestamp

getBlockByTimestamp:

getBlockId

getBlockId:

getBlockchainStatus

getBlockchainStatus:

getBlocks

getBlocks:

getContract

getContract:

getContractMapValuesByFirstKey

getContractMapValuesByFirstKey:

getContractsByAccount

getContractsByAccount:

getDistributionAmountsFromTransaction

getDistributionAmountsFromTransaction:

getMiningInfo

getMiningInfo:

getNetworkInfo

getNetworkInfo:

getOpenAskOrders

getOpenAskOrders:

getOpenAskOrdersPerAccount

getOpenAskOrdersPerAccount:

getOpenAskOrdersPerAsset

getOpenAskOrdersPerAsset:

getOpenBidOrders

getOpenBidOrders:

getOpenBidOrdersPerAccount

getOpenBidOrdersPerAccount:

getOpenBidOrdersPerAsset

getOpenBidOrdersPerAsset:

getPeer

getPeer:

getPeers

getPeers:

getRewardRecipient

getRewardRecipient:

getServerStatus

getServerStatus:

getSingleContractMapValue

getSingleContractMapValue:

getSubscription

getSubscription:

getSubscriptionPayments

getSubscriptionPayments:

getSubscriptionsToAccount

getSubscriptionsToAccount:

getSuggestedFees

getSuggestedFees:

getTime

getTime:

getTopLevelDomains

getTopLevelDomains:

getTradeHistoryPerAccount

getTradeHistoryPerAccount:

getTransaction

getTransaction:

getTransactionByFullHash

getTransactionByFullHash:

getUnconfirmedAccountTransactions

getUnconfirmedAccountTransactions:

getUnconfirmedTransactions

getUnconfirmedTransactions:

issueAsset

issueAsset:

mintAsset

mintAsset:

parseTransactionBytes

parseTransactionBytes:

placeAskOrder

placeAskOrder:

placeBidOrder

placeBidOrder:

publishContract

publishContract:

publishContractByReference

publishContractByReference:

removeCommitment

removeCommitment:

searchAliasesByName

searchAliasesByName:

sellAlias

sellAlias:

sendAmountToMultipleRecipients

sendAmountToMultipleRecipients:

sendAmountToSingleRecipient

sendAmountToSingleRecipient:

sendEncryptedMessage

sendEncryptedMessage:

sendMessage

sendMessage:

sendSameAmountToMultipleRecipients

sendSameAmountToMultipleRecipients:

setAccountInfo

setAccountInfo:

setAlias

setAlias:

setRewardRecipient

setRewardRecipient:

signAndBroadcastTransaction

signAndBroadcastTransaction:

transferAsset

transferAsset:

transferAssetOwnership

transferAssetOwnership:

transferMultipleAssets

transferMultipleAssets:

Variables

Const DefaultApiEndpoint

DefaultApiEndpoint: "/api" = "/api"

The default endpoint for ApiSettings

Const DefaultDeadline

DefaultDeadline: 1440 = 1440

The default deadline (in minutes) for Transactions

Functions

getAttachmentVersion

  • getAttachmentVersion(transaction: Transaction): string

getRecipientAmountsFromMultiOutPayment

getRecipientsAmount

  • getRecipientsAmount(recipientId: string, transaction: Transaction): Amount
  • Gets the amount from a transaction, considering ordinary and multi out transactions (with same and different payments)

    Parameters

    • recipientId: string

      The numeric id of the recipient

    • transaction: Transaction

      The payment transaction

    Returns Amount

    the amount value object

isAttachmentVersion

  • isAttachmentVersion(transaction: Transaction, versionIdentifier: string): boolean

Const isMultiOutSameTransaction

  • isMultiOutSameTransaction(transaction: Transaction): boolean

Const isMultiOutTransaction

  • isMultiOutTransaction(transaction: Transaction): boolean

Type aliases

Ledger

Ledger: Api

Alias for Api