Account structure

Core

  • base - balance and charge.

  • base.balance : long - balance size.

  • base.swaps : Map<String, Swap> - incomplete atomic swaps (of the balance).

  • base.charge - current charge.

  • base.charge.value : long - charge value.

  • base.charge.tail : long - fractional part of the charge.

  • base.charge.timestamp : long - charge update date.

  • core - core data.

  • core.auth - everything required to verify the EDS.

  • core.auth.pk - public key parameters.

  • core.auth.pk.alg : String - algorithm.

  • core.auth.pk.value : String - key (Base64-string).

  • core.auth.multisign - multisignature settings.

  • core.auth.multisign.voices : Map<String, long> - multisignature parameters.

  • core.auth.multisign.revoke- data for multisignature revocation

  • core.auth.multisign.revoke.alg : String- multisignature revocation hash algorithm.

  • core.auth.multisign.revoke.hash : String - multisignature revoke hash.

  • core.created : long - account creation date (unixtimestamp).

  • core.data : Map<String, Property> - data that the account has set up for itself.

  • core.snapshot : String - a snapshot of the data that the account has set to other accounts.

  • core.version : long - account format version.

To read the data set by other accounts you need to use the path external/<EON-TARGET-ID>/<PATH> : Map<String, Property>. Works only when the data is directly queried.

Payment

  • base - balance and charge.

  • base.balance : long - balance size.

  • base.swaps : Map<String, Swap> - incomplete atomic swaps (of the balance).

  • base.charge - current charge.

  • base.charge.value : long - charge value.

  • base.charge.tail : long - fractional part of the charge.

  • base.charge.timestamp : long - charge update date.

  • color - payment service data.

  • color.coin.decimal : long - number of decimal points.

  • color.coin.timestamp : long - coin creation date.

  • color.coin.mode : String - coin creation mode ("AUTO" for auto-emission).

  • color.coin.emission : long - current emission size.

  • color.balances : Map<String, long> - balances in colored coins.

  • color.swaps : Map<String, Swap> - incomplete atomic swaps (colored coins).

  • color.version : long - account format version.

Last updated