-
Notifications
You must be signed in to change notification settings - Fork 16
JSON API BTC
Pavel edited this page Dec 13, 2018
·
1 revision
"blockchain":"Bitcoin",
"net_type":1,
"builder":{
"type":"basic",
"payload":
{
"inputs":[
{
"balance/amount/value???":"130000000",
"tx_id":"48979223adb5f7f340c4f27d6cc45a38adb37876b2d7e34d2457cbf57342a391",
"index":0,
"script_pub_key":"76a914d3f68b887224cabcc90a9581c7bbdace878666db88ac",
"private_key":"cQeGKosJjWPn9GkB7QmvmotmBbVg1hm8UjdN6yLXEWZ5HAcRwam7"
}
],
"outputs":[
{
"address":"1DaBnJ28DocZBxPy7g6Lv8W6Yhcu98YSrE",
"amount":"1000000",
"pays_for_comision":true
},
{
"address":"1LKkvj9UhjUXe76M1uRfEPn39Lcx15etR7",
"is_change": true
}
]
}
},
"transaction":{
"is_replaceable": true,
"fee":{
"fee_per_byte":"30"
}
}
}
{
"transaction": {
"serialized": "0x000",
"change": {
"address": "1LKkvj9UhjUXe76M1uRfEPn39Lcx15etR7",
"amount": "1000"
},
"total_fee": "9999",
"total_spent": "109999"
}
}