Interface IPrivateApiClient
Methods
nodeAddStakingSecretKeys
- nodeAddStakingSecretKeys(secretKeys): Promise<void>
Returns Promise<void>
- A promise so that the call can be asynchronous.
nodeAddToPeersWhitelist
- nodeAddToPeersWhitelist(ipAddress): Promise<void>
Returns Promise<void>
- A promise so that the call can be asynchronous.
nodeBanById
- nodeBanById(id): Promise<void>
Returns Promise<void>
- A promise so that the call can be asynchronous.
nodeBanByIpAddress
- nodeBanByIpAddress(ipAddress): Promise<void>
Returns Promise<void>
- A promise so that the call can be asynchronous.
nodeGetStakingAddresses
- nodeGetStakingAddresses(): Promise<string[]>
Returns Promise<string[]>
- Return an array of addresses that are stacking on the node.
nodeRemoveFromWhitelist
- nodeRemoveFromWhitelist(ipAddress): Promise<void>
Returns Promise<void>
- A promise so that the call can be asynchronous.
nodeRemoveStakingAddresses
- nodeRemoveStakingAddresses(addresses): Promise<void>
Returns Promise<void>
- A promise so that the call can be asynchronous.
nodeStop
- nodeStop(): Promise<void>
Returns Promise<void>
- A promise so that the call can be asynchronous.
nodeUnbanById
- nodeUnbanById(nodeId): Promise<void>
Returns Promise<void>
- A promise so that the call can be asynchronous.
nodeUnbanByIpAddress
- nodeUnbanByIpAddress(ipAddress): Promise<void>
Returns Promise<void>
- A promise so that the call can be asynchronous.
Private API client interface for creating an API to interact with a Massa Node.