obyte.js
GitHubDiscord
0.1.3
0.1.3
  • 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
    • 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 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 attestations

Get all attestations of a specific address.

Example

const params = {
  address: 'ULQA63NGEZACP4N7ZMBUBISH6ZTCUS2Q'
};

client.api.getAttestations(params, function(err, result) {
  console.log(result);
});

Returns

[
  {
    unit: 'ekUq+0FW1uf1Bm1Dos7epi6AdWy2+m8CTOzU5/04y84=',
    attestor_address: 'I2ADHGP4HL6J37NQAD73J7E5SKFIXJOT',
    profile: {
      profile_hash: 'cyZ7L8pPE4Df7pqH4jKtpuaB2SLEy2HR/K2rBGLRzYM=',
      user_id: 'd4wISqCAUd1yDv2FGyjQD/+Xe+l7GGGtuxzxlpKayfk='
    }
  },
  {
    unit: '0miOAkbyv40DGVyJToxWroyoiJ+xhOnDb1aTbF6YXR8=',
    attestor_address: 'C4O37BFHR46UP6JJ4A5PA5RIZH5IFPZF',
    profile: {
      nonus: 1
    }
  },
  {
    unit: '7SEJqVRpog8Ezn5A3PSDX+h3iIYMfJaUsozoUlrsm+o=',
    attestor_address: 'H5EZTQE7ABFH27AUDTQFMZIALANK6RBG',
    profile: {
      email: 'fabien@bonustrack.co',
      user_id: 'uyeABSHzEgArC14L504vKgza+BmpgXlemnkDpyFC0mA='
    }
  }
]

Learn more

PreviousGet attestationNextGet bots

Last updated 6 years ago

"23. Attestations" (page 32)

https://obyte.org/Byteball.pdf