Protected
_Claim provider rewards
Posts a timeunlocked commitement to a randomness request
The timelock puzzle input base64 (no 0x)
The timelock puzzle modulus base64 (no 0x)
Id of the randomness request to commit to
Triggers resolution of stuck contests
Creates a new randomness request using a list of provider IDs.
Optional
requestedInputs: numberThe number of requested random inputs.
A unique identifier for tracking the request callback.
Protected
dryrunGets a list of all provider activity
Gets all users info: internal balance/created at time
Retrieves all open, incomplete randomness requests for a specific provider. These requests lack required inputs (modulus, proof, output).
The identifier for the provider.
Boolean 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 provider activity for a given provider
Retrieves the number of available random values associated with the specified provider.
Fetches randomness requests based on a list of request IDs.
Array of IDs for the randomness requests to retrieve.
Retrieves a randomness request based on a callback ID.
The callback ID of the randomness request to retrieve.
Gets a users info: internal balance/created at time
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: stringPrepays for future random requests
Optional
userId: stringRedeem random credits
Optional
providersIds: string[]Optional
requestedInputs: numberOptional
callbackId: stringProtected
resultProtected
Protected
resultsProtected
Optional
from: stringOptional
to: stringPosts a timeunlocked commitement to a randomness request
Id of the randomness request to reveal
base64 (no 0x)
base64 (no 0x)
Controls 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 wallet being used for this client. If the client is readonly it will now have write abilities.
the wallet to use with this client.
Updates the count of available random values for a specific provider.
Optional
info: MonitoringDataAn optional MonitoringData object containing provider monitoring information.
Static
autoStatic
builderStatic
default
See
specification