Bitcoin Forum
December 14, 2024, 12:06:25 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Create new Transaction with wallet by BlockCypher  (Read 112 times)
vnanhtuan (OP)
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
November 25, 2017, 10:47:59 AM
 #1

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]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!