Skip to main content

/transactions/count

Returns the total number of transactions

Parameters

  • sender OPTIONAL : (string) - Address of the transaction sender
  • receiver OPTIONAL : (string) - Address of the transaction receiver
  • token OPTIONAL(string) - The token identifier (example: WEGLD-bd4d79)
  • 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
  • function : (string) - Filter transactions by function name
  • condition DEPRECATED (string) - Condition for elastic search queries
  • before OPTIONAL : (number) - Before timestamp
  • after OPTIONAL : (number) - After timestamp

Returns

  • count: (number) - total number of transactions

Example

Request

curl -X 'GET' \
'https://elrond-api.public.blastapi.io/transactions/count?sender=erd1te7tsja33s33dtgyga29m7jv6h7wuln96ptfjuu5gw0z2cvjgx6sn8qutd&token=WEGLD-bd4d79' \
-H 'accept: application/json'

Result

127