Human Protocol SDK
v3.0.0
v3.0.0
  • README
  • Typescript SDK​
    • Encryption
      • Encryption
      • EncryptionUtils
    • Escrow
      • EscrowClient
      • EscrowUtils
    • KVStore
      • KVStoreClient
      • KVStoreUtils
    • Staking
      • StakingClient
    • Operator
      • OperatorUtils
    • Storage
      • StorageClient
    • Statistics
      • StatisticsClient
    • Transaction
      • TransactionUtils
  • Python SDK
    • agreement
      • bootstrap
      • measures
      • utils
    • encryption
      • encryption
      • legacy_encryption
      • encryption_utils
    • escrow
      • escrow_client
      • escrow_utils
    • kvstore
      • kvstore_client
      • kvstore_utils
    • staking
      • staking_client
      • staking_utils
    • operator
      • operator_utils
    • statistics
      • statistics_client
    • storage
      • storage_client
      • storage_utils
    • transaction
      • transaction_utils
    • constants
    • filter
    • utils
  • CHANGELOG
Powered by GitBook
On this page
  1. Python SDK

staking

Last updated 11 months ago

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
Code Example
Module
AllocationData
AllocationData.__init__()
StakingClient
StakingClient.__init__()
StakingClient.allocate()
StakingClient.approve_stake()
StakingClient.close_allocation()
StakingClient.distribute_reward()
StakingClient.get_allocation()
StakingClient.slash()
StakingClient.stake()
StakingClient.unstake()
StakingClient.withdraw()
StakingClientError