Pywaves. order creation problem

I tried to create buy-order.
[ERROR] {‘error’: 1, ‘message’: ‘failed to parse json message’, ‘cause’: None, ‘validationErrors’: {‘obj.matcherPublicKey’: [{‘msg’: [‘error.incorrect.publicKeyAccount’], ‘args’: []}]}}

What should I do? HELP!!!

Have you already updated to latest version?

Yes. I don’t understand where I can get the matcherPublicKey.

be sure also that you have enough balance to create order, it needs .003 fee

I dont think you need to specify this yourself normally, can u post the code snippet?

how was the problem solved

answer

import pywaves as pw
import configparser
node = “https://nodes.wavesplatform.com
matcher = “https://matcher.wavesplatform.com
pw.setNode(node, “mainnet”)
pw.setMatcher(matcher)