History of some addresses. Important note: different requests (even pagination requests) may return the same transaction for different addresses. We just validate if a transactions was already added in the same request.
GET/thin_wallet/address_history
History of some addresses. Important note: different requests (even pagination requests) may return the same transaction for different addresses. We just validate if a transactions was already added in the same request.
Request
Query Parameters
addresses[] stringrequired
Stringified array of addresses
Responses
- 200
Success
- application/json
- Schema
- success
- error
Schema
any
Success
{
"success": true,
"has_more": true,
"first_hash": "00000299670db5814f69cede8b347f830f73985eaa4cd1ce87c9a7c793771332",
"first_address": "1Pz5s5WVL52MK4EwBy9XVQUzWjF2LWWKiS",
"history": [
{
"hash": "00000299670db5814f69cede8b347f830f73985eaa4cd1ce87c9a7c793771336",
"timestamp": 1552422415,
"is_voided": false,
"parents": [
"00000b8792cb13e8adb51cc7d866541fc29b532e8dec95ae4661cf3da4d42cb5",
"00001417652b9d7bd53eb14267834eab08f27e5cbfaca45a24370e79e0348bb1"
],
"inputs": [
{
"value": 42500000044,
"script": "dqkURJPA8tDMJHU8tqv3SiO18ZCLEPaIrA==",
"decoded": {
"type": "P2PKH",
"address": "17Fbx9ouRUD1sd32bp4ptGkmgNzg7p2Krj",
"timelock": null
},
"token": "00",
"tx": "000002d28696f94f89d639022ae81a1d870d55d189c27b7161d9cb214ad1c90c",
"index": 0
}
],
"outputs": [
{
"value": 42499999255,
"script": "dqkU/B6Jbf5OnslsQrvHXQ4WKDTSEGKIrA==",
"decoded": {
"type": "P2PKH",
"address": "1Pz5s5WVL52MK4EwBy9XVQUzWjF2LWWKiS",
"timelock": null
},
"token": "00"
},
{
"value": 789,
"script": "dqkUrWoWhiP+qPeI/qwfwb5fgnmtd4CIrA==",
"decoded": {
"type": "P2PKH",
"address": "1GovzJvbzLw6x4H2a1hHb529cpEWzh3YRd",
"timelock": null
},
"token": "00"
}
],
"first_block": "000005af290a55b079014a0be3246479e84eeb635f02010dbf3e5f3414a85bbb"
}
]
}
Invalid address
{
"success": false,
"message": "The address xx is invalid"
}
Loading...