obyte.js
GitHubDiscord
0.1.6
0.1.6
  • Obyte.js
  • Getting started
    • Quick start
    • Testnet
  • Client
    • Subscribe
    • Just saying
  • API
    • Get witnesses
    • Get peers
    • Get joint
    • Get last MCI
    • Get history
    • Get attestation
    • Get attestations
    • Get bots
    • Get asset metadata
    • Get definition
    • Get balances
    • Get profile units
    • Dry run AA (testnet)
    • Get AA state vars (testnet)
    • Core
      • Catchup
      • Get hash tree
      • Get light props
      • Post joint
      • Pick divisible coins for amount
      • Heartbeat
  • Post
    • Address definition change
    • Attestation
    • Asset
    • Asset attestors
    • Data
    • Data feed
    • Definition
    • Definition template
    • Payment
    • Poll
    • Vote
    • Profile
    • Text
  • Utils
    • Generate a random address
    • Get definition address
    • Is valid address
    • Keep connection alive
  • About
    • About
    • Links
    • Tutorials
Powered by GitBook
On this page
  • Example
  • Returns
  • Learn more
  1. API

Get profile units

Get profile unit ids from one or multiple addresses (max 100).

Example

const addresses = [
  'TMWNLXR42CKIP4A774BQGNVBZAPHY7GH',
  'ULQA63NGEZACP4N7ZMBUBISH6ZTCUS2Q'
];

client.api.getProfileUnits(addresses, function(err, result) {
  console.log(result);
});

Returns

[
  '46fTf+Wf5EAq5KQmEttKmKUlrFzzCkXYO1f3JLP7uyE=',
  'itguFXI8RtuLmmXK5/yXu+Rma2F3xmlvuipnYSeuwQI=',
  'U2y+yti2vSJpm4Le2/o+JBfBgbP0F5GDm7ffHHd3+AQ=',
  'DVwBupJaKPnEMQBT2sd3DDAumEYTVcPCxs7nyDS8CkA=',
  'Ii/IEEYuyJh+7r/Bkp6T8+Neu+DlZSNw+pupdq0U43U=',
  'pJWt6QqtDQLxmY/7h+rbKO+It6gLk8wfLnXNmnuguVs=',
  'zPEqWmZIiGdlDQw9q9/K5cVAQUkR1LlgUpnhwk5hCwQ=',
  'xrVwToW5Yy1xJqCm0DUuriZjbWDVyAk0CBj2DtK9uoI=',
  'wp8wScoEuznmVivWi5fYO6KL8z2U9KcqhtcQZza8LS4=',
  'GMqQeyPs+//n2YJg8tlc4EkR0GhemU+Jq0Fx76KQjIs=',
  'gYd2UTq5mBT298NaS7qcAHlBzB4RyCPw+k7PQSfjino=',
  'K1s64SAgA9EsknN6HP/KiBvNCs5mttkshyt/A5yo3q0=',
  'dJizRyUSQDqSg4vV4ExDRbwg8Wi3yK3MQvv+zzQEZxI=',
  'CvTEcsP+yIGEhU33Nt4XLs8otlh87gcGez86Wecam0M='
]

Learn more

PreviousGet balancesNextDry run AA (testnet)

Last updated 6 years ago

"22. Profiles" (page 32)

https://obyte.org/Byteball.pdf