Skip to main content
Returns the number of transactions sent from an address. This method will use 40 Compute Units.
Linea Mainnet keeps state for the last 512 blocks, about an hour. Requests for an older block return 0x0, not an error, so check the block is inside the window.

Reference: Here

Parameters

  1. DATA, 20 Bytes - address.
  2. QUANTITY|TAG - integer block number, or the string "latest", "earliest" or "pending", see the default block parameter

Returns

QUANTITY - String hex value representing integer of the number of transactions sent from this address.