# Attestation

### **Arguments**

* **address** `string` *required*\
  Address of the attested user (the subject).
* **profile** `object` *required*\
  Verified data about the attested user.

### Returns

Returns the unit hash.

### Example

```javascript
const params = {
  address: 'IX77DDUQ56TVQVC3E77KIC5QLPQHD4PV',
  profile: {
    email: 'robertjsmc@gmail.com',
    user_id: 'mT+Qwu2e2OH+QJ5mwCijrkQ6Bz2IW/Ad9IIHHHffbwo='
  }
};

client.post.attestation(params, wif, function(err, result) {
  if (err) return console.error(err);
  console.log(result);
  // -> J12wi3v0tSco6JJKagqJ265/jEt8Evl4Rk03YIErlpQ=
});
```

### **Learn more**

* "23. Attestations" (page 32) <https://obyte.org/Byteball.pdf>
