# human\_protocol\_sdk.staking package

This module enables to perform actions on staking contracts and obtain staking information from both the contracts and subgraph.

## Submodules

* [human\_protocol\_sdk.staking.staking\_client module](https://sdk.humanprotocol.org/human-protocol-sdk/v4.1.5/python/human_protocol_sdk.staking.staking_client)
  * [Code Example](https://sdk.humanprotocol.org/human-protocol-sdk/v4.1.5/human_protocol_sdk.staking.staking_client#code-example)
  * [Module](https://sdk.humanprotocol.org/human-protocol-sdk/v4.1.5/human_protocol_sdk.staking.staking_client#module)
  * [`StakingClient`](https://sdk.humanprotocol.org/human-protocol-sdk/v4.1.5/human_protocol_sdk.staking.staking_client#human_protocol_sdk.staking.staking_client.StakingClient)
    * [`StakingClient.__init__()`](https://sdk.humanprotocol.org/human-protocol-sdk/v4.1.5/human_protocol_sdk.staking.staking_client#human_protocol_sdk.staking.staking_client.StakingClient.__init__)
    * [`StakingClient.approve_stake()`](https://sdk.humanprotocol.org/human-protocol-sdk/v4.1.5/human_protocol_sdk.staking.staking_client#human_protocol_sdk.staking.staking_client.StakingClient.approve_stake)
    * [`StakingClient.get_staker_info()`](https://sdk.humanprotocol.org/human-protocol-sdk/v4.1.5/human_protocol_sdk.staking.staking_client#human_protocol_sdk.staking.staking_client.StakingClient.get_staker_info)
    * [`StakingClient.slash()`](https://sdk.humanprotocol.org/human-protocol-sdk/v4.1.5/human_protocol_sdk.staking.staking_client#human_protocol_sdk.staking.staking_client.StakingClient.slash)
    * [`StakingClient.stake()`](https://sdk.humanprotocol.org/human-protocol-sdk/v4.1.5/human_protocol_sdk.staking.staking_client#human_protocol_sdk.staking.staking_client.StakingClient.stake)
    * [`StakingClient.unstake()`](https://sdk.humanprotocol.org/human-protocol-sdk/v4.1.5/human_protocol_sdk.staking.staking_client#human_protocol_sdk.staking.staking_client.StakingClient.unstake)
    * [`StakingClient.withdraw()`](https://sdk.humanprotocol.org/human-protocol-sdk/v4.1.5/human_protocol_sdk.staking.staking_client#human_protocol_sdk.staking.staking_client.StakingClient.withdraw)
  * [`StakingClientError`](https://sdk.humanprotocol.org/human-protocol-sdk/v4.1.5/human_protocol_sdk.staking.staking_client#human_protocol_sdk.staking.staking_client.StakingClientError)
