Bitcoind sendfrom方法的比特币节点API不工作?

Bitcoind sendfrom方法的比特币节点API不工作?,bitcoind,Bitcoind,比特币节点api sendfrom方法(Bitcoin cli sendfrom“fromaddress”“toaddress”amount)在命令提示符下工作正常,但在postman中创建api时,它会询问“需要钱包密码,但尚未设置”。请查看下面的屏幕截图。 提前谢谢 bitcoinapi.setWalletPassphrase(passphrase); 这必须在运行API之前运行。钱包必须有密码。虽然此密码可以回答问题,但提供有关如何和/或为什么解决问题的附加上下文将提高答案的长期价值。

比特币节点api sendfrom方法(Bitcoin cli sendfrom“fromaddress”“toaddress”amount)在命令提示符下工作正常,但在postman中创建api时,它会询问“需要钱包密码,但尚未设置”。请查看下面的屏幕截图。

提前谢谢

bitcoinapi.setWalletPassphrase(passphrase);

这必须在运行API之前运行。钱包必须有密码。

虽然此密码可以回答问题,但提供有关如何和/或为什么解决问题的附加上下文将提高答案的长期价值。