Protected
_Protected
dryrunBoolean indicating whether or not the client is set to run dryruns as messages. (non default behavior)
Retrieves the transaction that created this process. This transaction contains the initial state and configuration of the process in its tags.
Promise resolving to the transaction data containing process creation details
Gets the wallet this client uses to sign messages
the wallet used for message signing
A Readonly Client can only perform dry run and result operations, however does not require a wallet to be used. If a wallet is specified on instantiation the client will additionally be able to use write operations (messages).
Boolean indicating whether or not the client is for read operations only.
Boolean indicating whether or not the client is set to run dryruns as messages. (non default behavior)
Protected
messageProtected
Optional
anchor: stringOptional
anchor: stringPerforms a raffle pull to select a winner.
Promise resolving to true if successful
Protected
resultProtected
Protected
resultsProtected
Optional
from: stringOptional
to: stringControls whether dryrun executes as a message or simulation.
When true, dryrun will execute as a real message. When false (default), executes as a simulation.
Sets the list of entrants for the raffle.
Array of entrant names
Promise resolving to true if successful
Sets the wallet being used for this client. If the client is readonly it will now have write abilities.
the wallet to use with this client.
Retrieves the list of entrants for a specific user's raffle.
ID of the user whose raffle entrants to view
Promise resolving to array of entrant names
Retrieves the most recent raffle pull by finding the one with the highest ID.
Promise resolving to the most recent pull details
Retrieves the list of all raffle owners.
Promise resolving to array of user IDs
Retrieves details of a specific raffle pull for a user.
ID of the user whose pull to view
ID of the pull to view
Promise resolving to pull details
Retrieves all raffle pulls for a specific user.
Optional
_userId: stringPromise resolving to an object containing array of pulls
Static
autoStatic
default
See
specification