Constructor for the PrivateApiClient object.
The client configuration.
Protected
compactCompacts bytes payload per operation.
The operation data.
The operation type id.
The expire period.
The compacted bytes payload.
Protected
getProtected
getNode signs a message.
The message to sign.
A promise that resolves to an ISignedMessage object.
Protected
sendSends a post JSON rpc request to the node.
The rpc method to call.
The parameters to pass to the rpc method.
A promise that resolves as the result of the rpc method.
An error if the rpc method returns an error.
Set new providers as IProvider.
The new providers to set as an array of IProvider.
Will throw an error if no public providers are included in the given array of providers.
Will throw an error if no private providers are included in the given array of providers.
Generated using TypeDoc
Private Api Client for interacting with a massa node.