POSTGet Transactions by Accounts

Data APIhttps://web3.nodit.io/v1/ethereum/mainnet/blockchain/getTransactionsByAccounts

Retrieves the list of transactions sent or received by one or more accounts.

Path Parameters
chainstring (enum)required

Parameter to specify the target chain for the query.

networkstring (enum)required

Parameter to specify the network of the target chain. Supported networks may vary depending on the chain.

Request Body
accountAddressesstring[]required

Parameter specifying an array of account addresses to query. Each address can be entered as a 40-character hexadecimal string starting with 0x, and up to 10 addresses can be specified at once.

relationstring (enum)

Parameter for filtering transactions where the queried account address is the sender or recipient.

  • from: Filter by sender only.
  • to: Filter by recipient only.
  • both (default): Returns all transactions where the queried address appears in from or to.
fromBlockstring

Parameter specifying the starting block for the query. You can enter one of the following formats:

  • block number: Enter block number as a decimal string.
  • block hash: 64-character hexadecimal (including "0x").
  • block tag: Use "earliest" or "latest" to specify the first block or the most recent block.

Notes:

  • This field cannot be used together with fromDate and toDate.
  • If provided without fromBlock, results are queried from genesis block to this block.
  • toBlock value cannot be less than fromBlock value.
  • If fromBlock and toBlock have the same value, only that block is queried.
  • "earliest" for toBlock is only allowed when fromBlock is "earliest".
  • If fromBlock and toBlock are not provided, the API queries data from the latest 30 days.
toBlockstring

Parameter specifying the ending block for the query. You can enter one of the following formats:

  • block number: Enter block number as a decimal string.
  • block hash: 64-character hexadecimal (including "0x").
  • block tag: Use "earliest" or "latest" to specify the first block or the most recent block.

Notes:

  • This field cannot be used together with fromDate and toDate.
  • If provided without fromBlock, results are queried from genesis block to this block.
  • toBlock value cannot be less than fromBlock value.
  • If fromBlock and toBlock have the same value, only that block is queried.
  • "earliest" for toBlock is only allowed when fromBlock is "earliest".
  • If fromBlock and toBlock are not provided, the API queries data from the latest 30 days.
fromDatestring

Parameter specifying the start date for the query. Date must follow ISO 8601 format (YYYY-MM-DDThh:mm:ss{time zone}) including seconds.

Notes:

  • If provided without toDate, results are queried from this date to the latest block.
  • fromDate value must be equal to or earlier than toDate value.
  • If fromDate and toDate have the same value, only blocks from that date are queried.
  • This field cannot be used together with fromBlock and toBlock.
  • If fromDate and toDate are not provided, the API queries data from the latest 30 days.
toDatestring

Parameter specifying the end date for the query. Date must follow ISO 8601 format (YYYY-MM-DDThh:mm:ss{time zone}) including seconds.

Notes:

  • If provided without fromDate, results are queried from genesis block to this date.
  • toDate value must be equal to or later than fromDate value.
  • If fromDate and toDate have the same value, only blocks from that date are queried.
  • This field cannot be used together with fromBlock and toBlock.
  • If fromDate and toDate are not provided, the API queries data from the latest 30 days.
pageinteger

The page parameter specifies the data page to query. It accepts values up to 100; for pages exceeding 100, use the cursor pagination method.

The page and cursor parameters cannot be used together. If both page and cursor are empty, cursor pagination is used.

rppinteger

rpp stands for results per page and specifies the page size. You can specify a number greater than 0 and up to 100.

cursorstring

The cursor parameter supports pagination and data navigation between pages. Provide the cursor value from the previous page in the next request to load the next page of data.

The page and cursor parameters cannot be used together. If both page and cursor are empty, cursor pagination is used.

withCountboolean

Parameter specifying whether to include the count field in the response. The count field indicates the total number of requested data items. When set to true, the count field is included and response speed may be slower.

withLogsboolean

Parameter specifying whether to include the logs field in the response. Response speed may be slower when set to true.

withDecodeboolean

Parameter specifying whether to include decodedInput and decodedLog fields in the response. Response speed may be slower when set to true.

decodedLog is part of logs, so it is not included when withLogs is false even if withDecode is true. decodedInput interprets the transaction input field and provides the result. However, different functions may use the same function selector, so the result may not match the actually called function. Additional verification is recommended for non-standard ERC functions.

Responses
pageinteger

Field representing the page number specified in the page parameter. This field is only included in the response when a value greater than 0 is specified for the page parameter.

rppinteger

Field representing the number of results per page specified in the rpp parameter.

cursorstring

A field for cursor pagination. This value must be provided in the next request to load the next page of data.

countinteger

Field representing the total count of requested data. This field is only included in the response when true is set for the withCount parameter.

fromDatestring

Field representing the start of the query range in Date mode. Returned in ISO 8601 format.

toDatestring

Field representing the end of the query range in Date mode. Returned in ISO 8601 format.

fromBlockinteger

Field representing the start block height of the query range in Block mode.

toBlockinteger

Field representing the end block height of the query range in Block mode.

fromLedgerinteger

Field representing the start ledger index of the query range in Ledger mode.

toLedgerinteger

Field representing the end ledger index of the query range in Ledger mode.

transactionHashstringrequired

A field representing the hash of the transaction. Provided as a 64-character hexadecimal string prefixed with 0x.

transactionIndexintegerrequired

A field representing the index of the transaction. Indicates the order within the block. Provided in decimal string format.

blockHashstringrequired

A field representing the hash of the block. Provided as a 64-character hexadecimal string prefixed with 0x.

blockNumberintegerrequired

A field representing the block number.

fromstringrequired

A field representing the address that initiated the transaction. Provided as a 40-character hexadecimal string prefixed with 0x.

tostringrequired

A field representing the recipient address of the transaction. For contract creation transactions, this field returns null. Provided as a 40-character hexadecimal string prefixed with 0x.

valuestringrequired

A field representing the amount of tokens transferred in the transaction. Provided in decimal string format.

inputstringrequired

A field representing the data of the transaction. For Native Token (ETH, MATIC, etc.) transfers, this field is empty. Provided as a hexadecimal string prefixed with 0x.

decodedInputobject

A field representing the decoded result of the transaction input. Included in the response only when the withDecode parameter is set to true, providing function data executed based on the decoded input. This field is not provided even when withDecode is true if the function cannot be identified.

typestring

A field representing the function type of the transaction.

namestring

A field representing the function name of the transaction.

signaturestring

A field representing the function signature of the transaction.

argsobject[]
namestring

A field representing the name of the argument.

typestring

A field representing the type of the argument.

valuestring

A field representing the value of the argument.

functionSelectorstringrequired

A 4-byte function selector value that identifies the called function. The function selector is the first 4 bytes of the Keccak-256 hash of the function signature. Provided as an 8-character hexadecimal string prefixed with 0x.

noncestringrequired

A field representing the nonce value of the transaction. Used for transaction deduplication and ordering. Provided in decimal string format.

gasstringrequired

A field representing the maximum amount of gas the user intends to allocate for transaction execution. Provided in decimal string format.

gasPricestringrequired

A field representing the amount the user is willing to pay per unit of gas. Used in the transaction model before EIP-1559 (London Hard fork) with fixed fees; users can manually set the price based on network congestion. Provided in decimal string format.

maxFeePerGasstring

A field representing the maximum fee the user is willing to pay per unit of gas. Must be greater than or equal to the sum of baseFeePerGas and maxPriorityFeePerGas. Part of the variable fee model introduced in EIP-1559 (London Hard fork). This field is not provided for transactions before this introduction. Provided in decimal string format.

maxPriorityFeePerGasstring

The maximum fee per unit of gas that the user wants to pay directly to the block builder. Higher values cause the block builder to prioritize the transaction. Part of the variable fee model introduced in EIP-1559 (London Hard fork). This field is not provided for transactions before this introduction. Provided in decimal string format.

gasUsedstringrequired

A field representing the amount of gas actually used in transaction execution. Provided in decimal string format.

cumulativeGasUsedstringrequired

A field representing the total gas used by all transactions in the block up to and including the current transaction. Provided in decimal string format.

effectiveGasPricestringrequired

A field representing the average price actually paid per unit of gas by the transaction. For transactions before EIP-1559 (London Hard fork), this field returns the same value as gasPrice. Provided in decimal string format.

contractAddressstringrequired

A field representing the created contract address when the transaction is a contract creation transaction. Provided as a 40-character hexadecimal string prefixed with 0x.

typestring

A field representing the type of the transaction. This field may not be provided depending on the block context. Provided in decimal string format. 0: Represents a standard Ethereum transaction. This is the traditional transaction format before EIP-2718. 1: Represents the 'Access List' transaction introduced in EIP-2930. This type includes an access list for specific addresses and storage slots to optimize gas costs. 2: Represents the 'Fee Market' transaction introduced in EIP-1559. This type uses a variable gas cost model and includes maxFeePerGas and maxPriorityFeePerGas fields. 3: Represents the 'Blob Transaction' introduced in EIP-4844. This type includes additional blob data separate from the body, improving data availability and supporting scalability in conjunction with Layer2 solutions such as Rollups. 4: An extended transaction type introduced in EIP-7702, containing an authorizationList field with signature/authorization information. Used when multi-signature or additional authentication procedures are required.

statusstring

A field representing the status of the transaction. 1 indicates success; 0 indicates failure. This field is not provided for transactions before the Byzantium Hard Fork. Provided in decimal string format.

logsBloomstringrequired

A field representing all logs bloom of the transaction. Provided as a 512-character hexadecimal string prefixed with 0x.

accessListobject[]

A field representing the access list of the transaction.

addressstringrequired

A field representing the contract address accessed in the transaction. Provided as a 40-character hexadecimal string prefixed with 0x.

storageKeysstring[]required

A field representing the list of storage keys of the contract accessed in the transaction.

timestampintegerrequired

트랜잭션이 생성된 시간을 나타내는 필드입니다. 이 필드는 UNIX 타임스탬프로 제공됩니다.

authorizationListobject[]

This field is a list containing the transaction's signature and authorization information. Each item includes chain ID, nonce, signature values, etc. required for signature verification. Provided after EIP-7702. Support and adoption may vary by network, and this field may not be present depending on the transaction type (e.g., type 4 or higher).

chainIdstring

A field representing the ID of the chain for which the authorization is valid. Used for signature verification and replay attack prevention. Expressed in decimal string format.

noncestring

A nonce value to ensure the uniqueness of this authorization item and prevent replay attacks. Expressed in decimal string format.

addressstring

The address of the account that provided the authorization (signature).

yParitystring

A 1-bit parity value used to select the y-coordinate of the signed public key. Typically 0 or 1, used for public key recovery. Expressed in decimal string format.

rstring

The first value of the ECDSA signature, generated through the nonce used for signing and curve operations. Used for public key recovery and signature verification.

sstring

The second value of the ECDSA signature, calculated based on the message hash and private key. Essential for verifying signature validity.

logsobject[]

A field representing the list of logs included in the transaction. Provided only when the withLogs parameter is true.

contractAddressstringrequired

A field representing the contract address that generated the log. Provided as a 40-character hexadecimal string prefixed with 0x.

transactionHashstringrequired

A field representing the hash of the transaction that generated the log. Provided as a 64-character hexadecimal string prefixed with 0x.

transactionIndexintegerrequired

A field representing the index of the transaction that generated the log. Indicates the order within the block. Provided in decimal string format.

blockHashstringrequired

A field representing the hash of the block that generated the log. Provided as a 64-character hexadecimal string prefixed with 0x.

blockNumberintegerrequired

A field representing the block number that generated the log.

datastringrequired

A field representing the data of the log. Provided as a hexadecimal string prefixed with 0x. This field represents the event data of the log.

logIndexintegerrequired

A field representing the index of the log. Indicates the order of events in the transaction. Provided in decimal string format.

removedbooleanrequired

A field indicating whether the log was removed. Returns true if the log was removed due to chain reorganization (Reorg).

topicsstring[]required

A field representing the indexed arguments of the log. Can have up to 4 topics.

decodedLogobject

A field representing the event data of the log. Included in the response only when the withDecode parameter is set to true.

예: [object Object]

namestringrequired

A field representing the event name of the log.

eventFragmentstringrequired

A field representing the event fragment of the log.

signaturestringrequired

A field representing the event signature of the log.

eventHashstringrequired

A field representing the event hash of the log.

argsobject[]required

A field representing the arguments of the log.

namestring

A field representing the name of the argument.

typestring

A field representing the type of the argument.

valuestring

A field representing the value of the argument.

X-API-KEY
RequestCU150
cURL
curl -X POST "https://web3.nodit.io/v1/ethereum/mainnet/blockchain/getTransactionsByAccounts" \
  -H "X-API-KEY: {YOUR_API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
  "accountAddresses": ["0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045", "0x742d35Cc6634C0532925a3b844Bc454e4438f44e"],
  "relation": "both",
  "fromDate": "2026-01-01T00:00:00Z",
  "toDate": "2026-02-01T00:00:00Z"
}'
Response
Example · 200
{
  "page": 0,
  "rpp": 0,
  "cursor": "string",
  "count": 0,
  "range": {
    "fromDate": "string",
    "toDate": "string",
    "fromBlock": 0,
    "toBlock": 0,
    "fromLedger": 0,
    "toLedger": 0
  },
  "items": [
    {
      "transactionHash": "0x75f0194c076da2fbcf09b7e5cd302ee25a8b97ec5110bb89184682170e7dd5c4",
      "transactionIndex": "6",
      "blockHash": "0x34c66823a963328f629116378f54d147ab67ab9d703c5898cf0b6a8822a778c8",
      "blockNumber": 21309845,
      "from": "0xae2Fc483527B8EF99EB5D9B44875F005ba1FaE13",
      "to": "0x1f2F10D1C40777AE1Da742455c65828FF36Df387",
      "value": "25809147711",
      "input": "0x59fba26c3f9c8ecef989def3c5c8ad037487462d83c0410ba900b1f1ee126e9c96231cc3d3fad7c08b4cf873b1f10bb8",
      "functionSelector": "0x59fba26c",
      "nonce": "3908954",
      "gas": "136930",
      "gasPrice": "17716724232",
      "maxFeePerGas": "17716724232",
      "maxPriorityFeePerGas": "1",
      "gasUsed": "95851",
      "cumulativeGasUsed": "1602350",
      "effectiveGasPrice": "17716724232",
      "contractAddress": null,
      "type": "2",
      "status": "1",
      "logsBloom": "0x00040000000000000000000000000000000000000000000800000000000000000000000000000000000010000000000002000000080020000000000000000000000000000000000800000008000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000010000800000000000000000001000040000000000000000000000010000000000000000000040000000000000000000000000000000000000000000040000000000000000000000002000000000000000000000000000000000000000000000000080000000000202000000000000000000000008000000000000000000000000000000000",
      "accessList": [
        {
          "storageKeys": [
            "0x0000000000000000000000000000000000000000000000000000000000000002",
            "0x9c04773acff4c5c42718bd0120c72761f458e43068a3961eb935577d1ed4effb",
            "0x000000000000000000000000000000000000000000000000000000000000004c",
            "0x000000000000000000000000000000000000000000000000000000000000004d",
            "0x0000000000000000000000000000000000000000000000000000000000000000",
            "0x0000000000000000000000000000000000000000000000000000000000000004"
          ],
          "address": "0xfba26c3f9c8ecef989def3c5c8ad037487462d83"
        },
        {
          "storageKeys": [
            "0xa5533e53a8bb0cc43dd0fcc3460eba5629e7373d9977a4dc5094a3f36e1dfa3a",
            "0xe2eb0e48c234efbf3a46eecd032658a631dc8c81678d34452f2bc4e36fa35c88"
          ],
          "address": "0xb1f1ee126e9c96231cc3d3fad7c08b4cf873b1f1"
        },
        {
          "storageKeys": [
            "0xbd5af5151dcb9feb2c4ef23509c863dd4415e4d2c27b5c08786933a8ed41acc7",
            "0x29a02af4bc820597ed371018254b6b3519f55009a450e372cca58ead735350fd"
          ],
          "address": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"
        }
      ],
      "timestamp": 1733082431,
      "logs": [
        {
          "contractAddress": "0xB1F1ee126e9c96231Cc3d3fAD7C08b4cf873b1f1",
          "transactionHash": "0x75f0194c076da2fbcf09b7e5cd302ee25a8b97ec5110bb89184682170e7dd5c4",
          "transactionIndex": 6,
          "blockHash": "0x34c66823a963328f629116378f54d147ab67ab9d703c5898cf0b6a8822a778c8",
          "blockNumber": 21309845,
          "data": "0x000000000000000000000000000000000000000000000000410ba9e7b561fe8e",
          "logIndex": 72,
          "removed": false,
          "topics": [
            "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
            "0x000000000000000000000000fba26c3f9c8ecef989def3c5c8ad037487462d83",
            "0x0000000000000000000000001f2f10d1c40777ae1da742455c65828ff36df387"
          ],
          "decodedLog": {
            "name": "Transfer",
            "eventFragment": "Transfer",
            "signature": "Transfer(address,address,uint256)",
            "eventHash": "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
            "args": [
              {
                "name": "from",
                "type": "address",
                "value": "0xfBa26C3F9C8eCeF989def3C5c8aD037487462d83"
              },
              {
                "name": "to",
                "type": "address",
                "value": "0x1f2F10D1C40777AE1Da742455c65828FF36Df387"
              },
              {
                "name": "value",
                "type": "uint256",
                "value": "4687026649854770830"
              }
            ]
          }
        },
        {
          "contractAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
          "transactionHash": "0x75f0194c076da2fbcf09b7e5cd302ee25a8b97ec5110bb89184682170e7dd5c4",
          "transactionIndex": 6,
          "blockHash": "0x34c66823a963328f629116378f54d147ab67ab9d703c5898cf0b6a8822a778c8",
          "blockNumber": 21309845,
          "data": "0x000000000000000000000000000000000000000000000000060258573f000000",
          "logIndex": 73,
          "removed": false,
          "topics": [
            "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
            "0x0000000000000000000000001f2f10d1c40777ae1da742455c65828ff36df387",
            "0x000000000000000000000000fba26c3f9c8ecef989def3c5c8ad037487462d83"
          ],
          "decodedLog": {
            "name": "Transfer",
            "eventFragment": "Transfer",
            "signature": "Transfer(address,address,uint256)",
            "eventHash": "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
            "args": [
              {
                "name": "from",
                "type": "address",
                "value": "0x1f2F10D1C40777AE1Da742455c65828FF36Df387"
              },
              {
                "name": "to",
                "type": "address",
                "value": "0xfBa26C3F9C8eCeF989def3C5c8aD037487462d83"
              },
              {
                "name": "value",
                "type": "uint256",
                "value": "433005645923352576"
              }
            ]
          }
        },
        {
          "contractAddress": "0xfBa26C3F9C8eCeF989def3C5c8aD037487462d83",
          "transactionHash": "0x75f0194c076da2fbcf09b7e5cd302ee25a8b97ec5110bb89184682170e7dd5c4",
          "transactionIndex": 6,
          "blockHash": "0x34c66823a963328f629116378f54d147ab67ab9d703c5898cf0b6a8822a778c8",
          "blockNumber": 21309845,
          "data": "0xffffffffffffffffffffffffffffffffffffffffffffffffbef456184a9e0172000000000000000000000000000000000000000000000000060258573f00000000000000000000000000000000000000000000004ddaa276e10f69992f50c7ab000000000000000000000000000000000000000000000012b29af6787d922533ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa2ff",
          "logIndex": 74,
          "removed": false,
          "topics": [
            "0xc42079f94a6350d7e6235f29174924f928cc2ac818eb64fed8004e115fbcca67",
            "0x0000000000000000000000001f2f10d1c40777ae1da742455c65828ff36df387",
            "0x0000000000000000000000001f2f10d1c40777ae1da742455c65828ff36df387"
          ],
          "decodedLog": {
            "name": "Swap",
            "eventFragment": "Swap",
            "signature": "Swap(address,address,int256,int256,uint160,uint128,int24)",
            "eventHash": "0xc42079f94a6350d7e6235f29174924f928cc2ac818eb64fed8004e115fbcca67",
            "args": [
              {
                "name": "sender",
                "type": "address",
                "value": "0x1f2F10D1C40777AE1Da742455c65828FF36Df387"
              },
              {
                "name": "recipient",
                "type": "address",
                "value": "0x1f2F10D1C40777AE1Da742455c65828FF36Df387"
              },
              {
                "name": "deltaQty0",
                "type": "int256",
                "value": "-4687026649854770830"
              },
              {
                "name": "deltaQty1",
                "type": "int256",
                "value": "433005645923352576"
              },
              {
                "name": "sqrtP",
                "type": "uint160",
                "value": "24094658801222881921974978475"
              },
              {
                "name": "liquidity",
                "type": "uint128",
                "value": "344911263209299780915"
              },
              {
                "name": "currentTick",
                "type": "int24",
                "value": "-23809"
              }
            ]
          }
        }
      ]
    }
  ]
}