/accounts/:address:/transactions/count
Returns total number of transactions for a given address where the account is sender or receiver, as well as total transactions count that have a certain status
Parameters
addressREQUIRED(string)- Account bech32 addresssenderOPTIONAL :(string)- Address of the transaction senderreceiverOPTIONAL :(string)- Address of the transaction receivertokenOPTIONAL :(string)- Identifier of the tokensenderShardOPTIONAL :(number)- Id of the shard the sender address belongs toreceiverShardOPTIONAL :(number)- Id of the shard the receiver address belongs tominiBlockHashOPTIONAL :(string)- Filter by miniblock hashhashesOPTIONAL :(array[string])- Filter by a comma-separated list of transaction hashesstatusOPTIONAL :(string)- Status of the transaction (success / pending / invalid / fail)searchOPTIONAL :(string)- Search in data objectfunctionOPTIONAL :(number)- Filter transactions by function namebeforeOPTIONAL :(number)- Before timestampafterOPTIONAL :(number)- After timestamp
Returns
number: total number of transactions
Example
Request
curl -X 'GET' \
'https://elrond-api.public.blastapi.io/accounts/erd1kzqsz927u9smz4y7wqc7v3cc5w6n7m0zcveg59twt6y44x00wn6sun45pa/transactions/count?sender=erd1kzqsz927u9smz4y7wqc7v3cc5w6n7m0zcveg59twt6y44x00wn6sun45pa&receiver=erd1kzqsz927u9smz4y7wqc7v3cc5w6n7m0zcveg59twt6y44x00wn6sun45pa&status=success' \
-H 'accept: application/json'
Result
492