def METHOD_NAME(self, stake):
    hash_ = self.get_latest_block().hash_bytes
    if self.account_key_nonce is None:
        self.account_key_nonce = self.get_nonce_for_pk(
            self.signer_key.account_id, self.signer_key.pk)
    self.account_key_nonce += 1
    tx = sign_staking_tx(nodes[index].signer_key,
                         nodes[index].validator_key, stake,
                         self.account_key_nonce, hash_)
    logger.info(f'{self.signer_key.account_id} stakes {stake}')
    res = self.send_tx_and_wait(tx, timeout=15)
    if 'error' in res or 'Failure' in res['result']['status']:
        logger.info(res)