coinpit-client
Version:
client library for coinpit
84 lines (83 loc) • 2.94 kB
JSON
{
"createtx" : {
"input" : "mnDfP9WSBL6txZBg78rCwHSSWQ1p76XUYr",
"amount" : 500000,
"destination": "moQrEg798u7m5zn7pkxRx5xcdiv22ZCrRG",
"unspents" : [
{
"txid" : "74d89bedaa4f46cc8c52814f97a9694c87dcf0ee23ecee4c7b155795071a92b0",
"vout" : 1,
"amount" : 189976873,
"addresses" : ["mnDfP9WSBL6txZBg78rCwHSSWQ1p76XUYr"],
"script" : "OP_DUP OP_HASH160 a91b0e11dc2b23ff7cc2450db2573c9ca4b6356c OP_EQUALVERIFY OP_CHECKSIG",
"script_hex" : "76a914a91b0e11dc2b23ff7cc2450db2573c9ca4b6356c88ac",
"script_type" : "pubkeyhash",
"required_signatures": 1,
"spent" : false,
"confirmations" : 29
},
{
"txid" : "803eaf5a99aac4b8e3a7620d2f55a09124ec09777e2e58d78660b91b9a4ce34f",
"vout" : 1,
"amount" : 2247880000,
"addresses" : ["mnDfP9WSBL6txZBg78rCwHSSWQ1p76XUYr"],
"script" : "OP_DUP OP_HASH160 a91b0e11dc2b23ff7cc2450db2573c9ca4b6356c OP_EQUALVERIFY OP_CHECKSIG",
"script_hex" : "76a914a91b0e11dc2b23ff7cc2450db2573c9ca4b6356c88ac",
"script_type" : "pubkeyhash",
"required_signatures": 1,
"spent" : false,
"confirmations" : 212
}
],
"network": "testnet",
"margin" : 22000000,
"expected" : "0100000001b0921a079557157b4ceeec23eef0dc874c69a9974f81528ccc464faaed9bd8740100000000ffffffff0220a10700000000001976a9145699740ccdb372505f3db0ecf4caa8f3e4fd4ae988acb3034b0b000000001976a9144983b109f083131f0132e74c849be2d790e2116a88ac00000000"
},
"filterUnspents" : [
{
"input" : [
{
"amount" : 2247880000,
"spent" : false,
"confirmations": 212,
"double_spend" : true
}, {
"amount" : 2247880000,
"spent" : true,
"confirmations": 1
}, {
"amount" : 2247880000,
"spent" : false,
"confirmations": 2
}, {
"amount" : 2247880000,
"spent" : false,
"confirmations": 0
}, {
"amount" : 2247880000,
"spent" : false,
"confirmations": 5
}, {
"amount" : 2247880000,
"spent" : false,
"confirmations": 1
}
],
"output": [
{
"amount" : 2247880000,
"spent" : false,
"confirmations": 2
}, {
"amount" : 2247880000,
"spent" : false,
"confirmations": 5
}, {
"amount" : 2247880000,
"spent" : false,
"confirmations": 1
}
]
}
]
}