Get Proof

Retrieve the proof of a transaction in the tree

Code samples


const headers = {
  'Accept':'application/json'
};

fetch('/tree/proof/{txid}',
{
  method: 'GET',

  headers: headers
})
.then(function(res) {
    return res.json();
}).then(function(body) {
    console.log(body);
});

GET /tree/proof/{txid}

Parameters

Example responses

200 Response

{
  "code": 0,
  "message": "string",
  "data": {
    "value": {
      "txid": "string",
      "version": 0,
      "locktime": 0,
      "vin": [
        {}
      ],
      "vout": [
        {}
      ],
      "size": 0,
      "weight": 0,
      "fee": 0,
      "status": {
        "confirmed": true,
        "block_height": 0,
        "block_hash": "string",
        "block_time": 0
      }
    },
    "proof": "string"
  }
}

Responses

Response Schema

Status Code 200

Last updated