/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 address

  • sender OPTIONAL : (string) - Address of the transaction sender

  • receiver OPTIONAL : (string) - Address of the transaction receiver

  • token OPTIONAL : (string) - Identifier of the token

  • senderShard OPTIONAL : (number) - Id of the shard the sender address belongs to

  • receiverShard OPTIONAL : (number) - Id of the shard the receiver address belongs to

  • miniBlockHash OPTIONAL : (string) - Filter by miniblock hash

  • hashes OPTIONAL : (array[string]) - Filter by a comma-separated list of transaction hashes

  • status OPTIONAL : (string) - Status of the transaction (success / pending / invalid / fail)

  • search OPTIONAL : (string) - Search in data object

  • functionOPTIONAL : (number) - Filter transactions by function name

  • before OPTIONAL : (number) - Before timestamp

  • after 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

Last updated