Hi.. I have gone through blockchain API documentation and understood how to send bitcoins to a recipient but now I want to send bitcoins to two recipients at once. I am using the following code:
recipes ={'1Pd9gXJ8EqyGrqMKVevQWNjjF4B4dcSykf':10000,'14gVMjoCbjaGU3s9EQghVxYTAJgkmqqtHV':10000}
url_multi = 'https://blockchain.info/nl/merchant/MYKEY/sendmany?password=MYPASSWORD&recipients='+recipes+'&fee=15000'
requests.get(url_multi)
but it doesn’t work. How can I do it?
Error log:
TypeError: cannot concatenate 'str' and 'dict' objects