Search Accounts
Get accounts having a name or description that match a given query in reverse relevance order.
Request:
- requestType is searchAccounts
- query is a full text query on the account fields name (S) and description (S) in the standard Lucene syntax
- firstIndex is a zero-based index to the first account to retrieve (optional)
- lastIndex is a zero-based index to the last account 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:
- accounts (A) is an array of account objects with the following fields:
- account (S) is the account number
- accountRS (S) is the Reed-Solomon address of the account
- name (S) is the name of the account
- description (S) is the description of the account (if applicable)
- lastBlock (S) is the last block ID on the blockchain (applies if requireBlock is provided but not requireLastBlock)
- requestProcessingTime (N) is the API request processing time (in millisec)