Constructs a new instance of the Honeycomb client.
The connection to the Solana blockchain or RPC URL.
Optional args: { Additional configuration options for Honeycomb.
Optional confirmOptional env?: stringProtected _emitterAn EventEmitter to handle custom events in Honeycomb.
Readonly connectionA connection to a Solana JSON RPC endpoint.
The environment setting for Honeycomb, defaulting to "main".
Readonly programThe program ID of the Honeycomb hive cotrol program.
Get the cluster name based on the RPC endpoint.
Get the options for sending ad confirming transactions on the Solana blockchain.
Set the options for sending ad confirming transactions on the Solana blockchain.
Get a connection object with processed connnection.
Get the RPC endpoint of the current connection.
Unsubscribe from a custom event in Honeycomb.
The name of the custom event to unsubscribe from.
The event listener function to be removed.
Rest ...args: any[]The Honeycomb client instance.
Subscribe to a custom event in Honeycomb.
The name of the custom event to subscribe to.
The event listener function.
Rest ...args: any[]The Honeycomb client instance.
Optional key: string | PublicKeyFetch the public information for the specified environment.
Optional env: stringThe environment for which to fetch public information.
Optional reFetch: booleanIf true, re-fetches the public information even if it's already cached.
A Promise containing the public information as a map of labels and their corresponding values.
Generated using TypeDoc
Honeycomb class provides a client for interacting with Solana programs (Particulary Honycomb Protocol programs).