Get Blockchain Transactions
Get the transactions associated with an account in reverse block timestamp order.
Request:
- requestType is getBlockchainTransactions
- account is the account ID
- timestamp is the earliest block (in seconds since the genesis block) to retrieve (optional)
- type is the type of transactions to retrieve (optional)
- subtype is the subtype of transactions to retrieve (optional)
- firstIndex is a zero-based index to the first transaction to retrieve (optional)
- lastIndex is a zero-based index to the last transaction to retrieve (optional)
- numberOfConfirmations is the required number of confirmations per transaction (optional)
- withMessage is true to retrieve only only transactions having a message attachment, either non-encrypted or decryptable by the account (optional)
- phasedOnly is true to retrieve only phased transactions (optional unless nonPhasedOnly provided)
- nonPhasedOnly is true to retrieve only nonphased transactions (optional unless phasedOnly provided)
- includeExpiredPrunable is true’ to retrieve pruned data if available (optional)
- includePhasingResult is true to retrieve execution status of each phased transaction (optional)
- executedOnly is true to exclude phased transactions that are not yet executed (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)
Note: Refer to Get Constants for definitions of types and subtypes.
Response:
- transactions (A) is an array of transactions (refer to Get Transaction for details)
- 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)