> For the complete documentation index, see [llms.txt](https://obytejs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://obytejs.com/0.1.17/post/asset-attestors.md).

# Asset attestors

### **Arguments**

* **asset** `string` *required*\
  Asset unit id.
* **attestors** `array` *required*\
  List of approved attestor addresses

### Returns

Returns the unit hash.

### Example

```javascript
const params = {
  asset: 'xamdfH5Uk+alv3le0pEA01qSsfZjycyMsqaqHtycJ1M=',
  attestors: [
    'X5ZHWBYBF4TUYS35HU3ROVDQJC772ZMG',
    'GZSEKMEQVOW2ZAHDZBABRTECDSDFBWVH',
    '2QLYLKHMUG237QG36Z6AWLVH4KQ4MEY6'
  ].sort()
};

client.post.assetAttestors(params, wif, function(err, result) {
  if (err) return console.error(err);
  console.log(result);
});
```

### **Learn more**

* "24. Assets" (page 33) <https://obyte.org/Byteball.pdf>
