<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def walletpassphrase(self, passphrase, timeout=99999999, mint_only=True):
 """used to unlock wallet for minting"""

        return self.req("walletpassphrase", [passphrase, timeout, mint_only])