Human Protocol SDK
search
⌘Ctrlk
Human Protocol SDK
  • HUMAN Protocol SDK
  • Typescript SDK
    • Encryption
    • Escrow
    • KVStore
    • Staking
    • Operator
    • Storage
    • Statistics
    • Transaction
  • Python SDK
    • agreement
    • encryption
    • escrow
    • kvstore
    • staking
      • staking_client
      • staking_utils
    • operator
    • statistics
    • storage
    • transaction
    • constants
    • filter
    • utils
  • CHANGELOG
gitbookPowered by GitBook
block-quoteOn this pagechevron-down
  1. Python SDK

staking

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

hashtag
Submodules

  • human_protocol_sdk.staking.staking_client module

    • Code Example

    • Module

    • StakingClient

      • StakingClient.__init__()

      • StakingClient.approve_stake()

      • StakingClient.get_staker_info()

      • StakingClient.slash()

      • StakingClient.stake()

      • StakingClient.unstake()

      • StakingClient.withdraw()

    • StakingClientError

  • human_protocol_sdk.staking.staking_utils module

    • Code Example

    • Module

    • StakerData

      • StakerData.__init__()

    • StakingUtils

      • StakingUtils.get_staker()

      • StakingUtils.get_stakers()

    • StakingUtilsError

Last updated 1 month ago