Class: Profile

profile~ Profile


new Profile(connection, addr)

Concatenate an Profile, and its updates, into a current representation of the Profile's state.

Parameters:
Name Type Description
connection Driver

blockchain connection

addr String

Public address of the user

Members


addr :String

Returns the address that this profile represents

Type:
  • String

connection :Driver

Returns the connection that this profile is querying against

Type:
  • Driver

Methods


getAttributes(cb)

Load items from the blockchain starting from the declaration at the beginning of the user's activity, to the present. Return the accumulated state of this user.

Parameters:
Name Type Description
cb function

Callback to receive attributes as a hash in the form: function(err, attrs)