/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
address
REQUIRED(string)
- Account bech32 addresssender
OPTIONAL :(string)
- Address of the transaction senderreceiver
OPTIONAL :(string)
- Address of the transaction receivertoken
OPTIONAL :(string)
- Identifier of the tokensenderShard
OPTIONAL :(number)
- Id of the shard the sender address belongs toreceiverShard
OPTIONAL :(number)
- Id of the shard the receiver address belongs tominiBlockHash
OPTIONAL :(string)
- Filter by miniblock hashhashes
OPTIONAL :(array[string])
- Filter by a comma-separated list of transaction hashesstatus
OPTIONAL :(string)
- Status of the transaction (success / pending / invalid / fail)search
OPTIONAL :(string)
- Search in data objectfunction
OPTIONAL :(number)
- Filter transactions by function namebefore
OPTIONAL :(number)
- Before timestampafter
OPTIONAL :(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