These are examples using burstjs with NodeJS.
Simply run,
cd cli
(if not already in./cli
)npm i
(installs all dependencies to run the examples)node ./<filename>
Where filename
is one of
create-subscription.js
list-transactions.js
send-burst.js
show-messages.js
The following examples are available
Level: Basic
List the recent transactions of given account and prints in table form to console
- core/apiCompose
- core/api.account.getAccountTransactions
- util/convertNQTStringToNumber
- util/isBurstAddress
- util/convertAddressToNumericId
Level: Basic
List only the messages of given account and prints in table form. Encrypted messages won't be encrypted
- core/apiCompose
- core/api.account.getAccountTransactions
- core/isAttachmentVersion
- util/convertBurstTimeToDate
- util/isBurstAddress
- util/convertAddressToNumericId