service-my-wallet-v3 icon indicating copy to clipboard operation
service-my-wallet-v3 copied to clipboard

BLOCKCHAIN SEND BTC MY WALLET -> OTHER WALLET

Open gutofurlan opened this issue 4 years ago • 15 comments

Hello, I need to send balance from my wallet to another wallet via api rest, how can I do it? I found this data https://www.blockchain.com/api/blockchain_wallet_api but it uses localhost as a base, but I would like to access it via the blockchain api, would it be possible? Thanks

gutofurlan avatar Jan 19 '21 22:01 gutofurlan

Yes Make outgoing payments api call

http://localhost:3000/merchant/$guid/payment?password=$main_password&second_password=$second_password&to=$address&amount=$amount&from=$from&fee=$fee

Run Wallet service on you server

waqas61 avatar Jan 20 '21 08:01 waqas61

ok but if i access a url (https://blockchain.info/merchant/$guid/) other than localhost, does it work?

gutofurlan avatar Jan 20 '21 11:01 gutofurlan

No you have to start service on your server By installing npm install -g blockchain-wallet-service

waqas61 avatar Jan 20 '21 11:01 waqas61

If you are having issue we can fix it via ZOOM session

waqas61 avatar Jan 20 '21 11:01 waqas61

Ok, I understand that I can only use localhost, but how can I upload it to production? Since my application is in php and I will make a request for this other node server? Does the blockchain itself not provide the service?

gutofurlan avatar Jan 20 '21 13:01 gutofurlan

You just need to start blockchain-wallet-service and make curl requests from php

waqas61 avatar Jan 20 '21 13:01 waqas61

OK but how can I start the service in production mode? I cannot guarantee that my server after a reboot will upload all of this ... Is there a deployment for production? Ex. Vue JS when running the deploy it turns into html files that we just put into production, but before inheriting the npm run serves that a server goes up on port 8000.

gutofurlan avatar Jan 20 '21 13:01 gutofurlan

Please have zoom session to fix it

waqas61 avatar Jan 20 '21 13:01 waqas61

My zoom is not work, please access link: https://meet.google.com/goc-xaho-vbr

gutofurlan avatar Jan 20 '21 14:01 gutofurlan

No you have to start service on your server By installing npm install -g blockchain-wallet-service

yes, can i connect with you. Am having same issue

ralphsunny22 avatar Jan 29 '21 15:01 ralphsunny22

Hi, I am getting the error below when I try to send money via API: The requested URL returned error: 500 Internal Server Error

mmt78 avatar Jun 06 '21 17:06 mmt78

Hi, I am getting the error below when I try to send money via API: The requested URL returned error: 500 Internal Server Error

Did you check ? Blockchain service is running or not

waqas61 avatar Jun 07 '21 15:06 waqas61

Hi, I am getting the error below when I try to send money via API: The requested URL returned error: 500 Internal Server Error

Did you check ? Blockchain service is running or not

Of course it is running.

mmt78 avatar Jun 07 '21 15:06 mmt78

I have to check the via Zoom

waqas61 avatar Jun 07 '21 15:06 waqas61

I have to check the via Zoom

https://github.com/blockchain/service-my-wallet-v3/issues/506 Please check here first.

mmt78 avatar Jun 07 '21 19:06 mmt78