getAccountTransactionIds

Get the transaction IDs associated with an account in reverse block timestamp order.

Request: requestType is getAccountTransactionIds 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 the a zero-based index to the first transaction ID to retrieve (optional) lastIndex is the a zero-based index to the last transaction ID to retrieve (optional) numberOfConfirmations is the required number of confirmations per transaction (optional) Note: Refer to Get Constants for definitions of types and subtypes

Response:

(A) transactionIds is the array of transaction IDs (S) lastBlock is the last block ID on the blockchain (applies if requireBlock is provided but not requireLastBlock) (N) requestProcessingTime is the API request processing time (in millisec)

Example: Refer to Get Account Transaction Ids example. ===Get Account Transactions === Get the transactions associated with an account in reverse block timestamp order.

Request: requestType is getAccountTransactions 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 the a zero-based index to the first transaction ID to retrieve (optional) lastIndex is the a zero-based index to the last transaction ID to retrieve (optional) numberOfConfirmations is the required number of confirmations per transaction (optional)

Note: Refer to Get Constants for definitions of types and subtypes

Response:

(A) transaction is the array of transaction (refer to Get Transaction for details) (N) requestProcessingTime is the API request processing time (in millisec)

Example:

Get Account Transaction Ids

Request:

http://localhost:801/BEAM?requestType=getAccountTransactionIds&account=BEAM-7X92-29W5-7LQA-4V8CH

Response:

{ “transactionIds”: [ “14471919803527301514”, “8408429517094397948”, “7677510357080940908”, “15605878519502379168”, “13241821260511921007”, “16748761036604486700”, “6521866371443385678” ], “requestProcessingTime”: 7

}

Last updated