What's address metadata hashes?


Author
Message
lulalala
lulalala
Attaching to Tangle (65 reputation)Attaching to Tangle (65 reputation)Attaching to Tangle (65 reputation)Attaching to Tangle (65 reputation)Attaching to Tangle (65 reputation)Attaching to Tangle (65 reputation)Attaching to Tangle (65 reputation)Attaching to Tangle (65 reputation)Attaching to Tangle (65 reputation)
Group: Forum Members
Posts: 1, Visits: 19
While reading about sweeping in the official documentation:

https://iota.readme.io/v1.2.0/docs/user-deposit-address-sweeping-to-internal-exchange-addresses#section-determine-the-correct-sweep-inputs

I see these initial variables:


  const addresses = [
   'ZRMBFCFLJSEIHYSXGDMOJOCORBWSSGJDJMVZGWUYGXTJYUJQELKOXNWOYBYTMYEIHP9PPPKWDEVOYJPZH',
   'TXPETAIGWJGETC9Y9FKKLHIBZHO9KQESOHZBKEQBEAKJJKDQCSD9CRPKSZIXIGTPMLBVYXLHNNDMZFTSH'
  ]
 
  // Address metadata
  // hashes represent any unresolved sweeps
  const metadata = [
   {security: 2, keyIndex: 1, user: 'Chris', hashes: []},
   {security: 3, keyIndex: 2, user: 'Dom', hashes: ['']}
  ]

But what are `hashes` actually? Do I obtain those from another API or do I compute it somehow? Why is one empty array while another one an array of empty string?
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Login

Explore
Messages
Mentions
Search