-
Notifications
You must be signed in to change notification settings - Fork 2
Home
Welcome to the steem-transact wiki! This contains documentation for the package.
The package itself is a function which is used to instantiate an object containing the actual package functions.
client
: a dsteem
client used to broadcast transactions to the blockchain.
steem
: a dsteem
instance used for utilities.
prefix
: an optional argument, only used for custom_json transactions. Starts every custom_json transaction id with the provided prefix.
The json
function broadcasts a custom_json transaction.
username
: the username of the user to sign the transaction (without the @ symbol)
key
: the private posting key of the user to sign the transaction
id
: the id of the transaction to create (the prefix will be appended to the beginning).
json
: the json string for the custom_json transaction
callback
: the function to be called upon successful broadcast or error (arguments (err, result)).