Protected
_Protected
dryrunGets delegation information for the specified wallet.
Optional
walletAddress: stringOptional wallet address to get delegations for. If not provided, uses the wallet specified in the configuration.
Promise resolving to delegation information details
Gets information from the delegate process.
Promise resolving to a DryRunResult with delegation information
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 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: stringParse the raw delegation info string into a structured object
Raw delegation data string
Parsed delegation information
Protected
resultProtected
Protected
resultsProtected
Optional
from: stringOptional
to: stringSets delegation preferences for the calling wallet.
Delegation options including target wallet and factor
Promise resolving to the result of the delegation operation
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.
Static
autoStatic
buildStatic method to easily build a default Delegate client
Optional
cuUrl: stringOptional Compute Unit URL to override the default
A configured PIDelegateClient instance
Static
builderCreate a new builder instance for PIDelegateClient
A new builder instance
Static
default
Client for interacting with the PI delegate process.