Bitcoin Forum
June 15, 2024, 06:03:40 AM *
News: Voting for pizza day contest
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Bitcoin Discussion / Create new Transaction with wallet by BlockCypher on: November 25, 2017, 10:47:59 AM
I have a problem with creating new transaction by wallet.
I created a wallet with 3 addresses, after call API:
Call: https://api.blockcypher.com/v1/btc/test3/wallets/alice/addresses?token=MYTOKEN
Response:
{
  "token": "6898c******************",
  "name": "alice",
  "addresses": [
    "mxReqU96ndChteqeoY5oh8fdaP8hBd2xFp",
    "n18ktQ4BVQkB5VhL26vxbkXcFYGqo6SgSf",
    "mo6dzyjhJKQcD9VjBzbeUWNdckuXzRUXqE"
  ]
}

When I create a transaction with wallet, I received an Error: "Unable to find wallet alice"
Call: https://api.blockcypher.com/v1/btc/test3/txs/new
This is my parameters:
{
   "inputs": [
      {
         "wallet_name": "alice",
         "wallet_token":"MYTOKEN"
      }
   ],
   "outputs": [
      {
         "addresses": ["2N8hwP1WmJrFF5QWABn38y63uYLhnJYJYTF"],
         "value": 10000000
      }
   ]
}

Please help me with this issues. Thank you so much
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!