Protected_Create a PITokenClient for a specific token process ID
The process ID of the token to create a client for
A configured PITokenClient
Creates token client pairs for all available PI tokens The first item is a PITokenClient created with the id field The second item is a BaseToken client created with the process field
A map of token ticker to [PITokenClient, TokenClient] tuples
Creates an array of token client pairs for all available PI tokens Each pair contains a PITokenClient created with the id field and a BaseToken client created with the process field
An array of [PITokenClient, TokenClient] tuples
Creates token clients for all available PI tokens
A map of token ticker to PITokenClient instances
Creates an array of PITokenClient instances for all available PI tokens
An array of PITokenClient instances
ProtecteddryrunGets the current AO client instance being used by this process client.
The IAOClient instance currently in use
Gets information about the PI Oracle process.
Promise resolving to a DryRunResult with oracle information
Gets available PI tokens from the delegation oracle.
Promise resolving to a list of PI tokens as a string
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 a map of all PI tokens with their token process IDs and other details
A map of token ticker to token 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)
ProtectedmessageProtectedOptionalanchor: stringOptionalanchor: stringParse the raw PI tokens string into a structured array
Raw PI tokens data string
Parsed PI tokens
ProtectedresultProtectedProtectedresultsProtectedOptionalfrom: stringOptionalto: 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 wallet being used for this client. If the client is readonly it will now have write abilities.
the wallet to use with this client.
StaticautoStaticbuildStatic method to easily build a default Oracle client
OptionalcuUrl: stringOptional Compute Unit URL to override the default
A configured PIOracleClient instance
StaticbuilderCreate a new builder instance for PIOracleClient
A new builder instance
Staticdefault
Client for interacting with the PI Oracle process. The Oracle provides information about all available PI tokens.