Skip to content

Get Account Properties

Get the Account properties for a specific account or setter.

Request:

  • requestType is getAccountProperties
  • recipient is the account ID to which the property is attached to
  • setter is the account ID who set the property (optional if recipient provided)
  • property is the property key (optional)
  • firstIndex is a zero-based index to the first block to retrieve (optional)
  • lastIndex is a zero-based index to the last block to retrieve (optional)
  • requireBlock is the block ID of a block that must be present in the blockchain during execution (optional)
  • requireLastBlock is the block ID of a block that must be last in the blockchain during execution (optional)

Response:

  • recipient: (S) is the account number of the recipient account (only if recipient is defined in the request)
  • requestProcessingTime (N) is the API request processing time (in millisec)
  • setter: (S) is the account number of the setter account (only if setter is defined in the request)
  • properties: (A) is an array of properties including the fields:
  • setterRS: (S) is the Reed-Solomon address of the setter account (only if setter is omitted in the request)
  • recipientRS: (S) is the Reed-Solomon address of the recipient account (only if recipient is omitted in the request)
  • recipient: (S) is the account number of the recipient account (only if recipient is omitted in the request)
  • property: (S) property name
  • setter: (S) is the account number of the setter account (only if setter is omitted in the request)
  • value: (S) property value