List Internal Transaction Details by Transaction Hash

Through this endpoint customers can list internal transactions along with their details by a specific attribute transactionHash, which is the parent transaction's Hash.

An internal transaction is the result of a smart contract being triggered by an EOA or a subsequent contract call.

List of Results - This endpoint returns multiple objects which means pagination is applicable. GET /blockchain-data/{blockchain}/{network}/transactions/{transactionHash}/internal

Path Parameters

  • Required
    blockchain string

    Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc.

    Example : ethereum
    Possible Values : ethereum binance-smart-chain ethereum-classic
  • Required
    network string

    Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - "mainnet" is the live network with actual data while networks like "testnet", "goerli" are test networks.

    Example : sepolia
    Possible Values : mainnet testnet mordor sepolia
  • Required
    transactionHash string

    String identifier of the parent transaction of the internal transaction represented in CryptoAPIs.

    Example : 0xbc8245ba5cccb524d91256224689ac0f16678321a266bab8197ad7daab4c9e16

Query parameters

  • Optional
    context string

    In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. context is specified by the user.

    Example : yourExampleString
  • Optional
    limit integer

    Defines how many items should be returned in the response per page basis.

    Default : 50
    Example : 50
  • Optional
    offset integer

    The starting index of the response items, i.e. where the response should start listing the returned items.

    Default : 0
    Example : 0

Response schema

200 400 401 402 403 409 415 422 429 500
HTTP Status Code: 200
Content-Type: application/json

The request has been sussessful.

  • Object :

  • Required
    apiVersion string

    Specifies the version of the API that incorporates this endpoint.

    Example : 2023-04-25
  • Required
    requestId string

    Defines the ID of the request. The requestId is generated by Crypto APIs and it's unique for every request.

    Example : 601c1710034ed6d407996b30
  • Optional
    context string

    In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. context is specified by the user.

    Example : yourExampleString
  • Required
    data object
    • Required
      limit integer

      Defines how many items should be returned in the response per page basis.

      Example : 50
    • Required
      offset integer

      The starting index of the response items, i.e. where the response should start listing the returned items.

      Example : 0
    • Required
      total integer

      Defines the total number of items returned in the response.

      Example : 100
    • Required
      items array
      Example : Array ( )
      • Required
        amount string

        Defines the specific amount of the transaction.

        Example : 0.089286906469667626
      • Required
        blockHash string

        Represents the hash of the block, which is its unique identifier. It represents a cryptographic digital fingerprint made by hashing the block header twice through the SHA256 algorithm.

        Example : 0x47245a445acd6c7a328d033313ea621fbc0642aaf913790e9d558c1c208625f0
      • Required
        blockHeight integer

        Represents the number of blocks in the blockchain preceding this specific block. Block numbers have no gaps. A blockchain usually starts with block 0 called the "Genesis block".

        Example : 12561919
      • Required
        operationID string

        Represents the unique internal transaction ID in regards to the parent transaction (type trace address).

        Example : call_1
      • Required
        operationType string

        Defines the call type of the internal transaction.

        Example : CALL
      • Required
        parentHash string

        Defines the specific hash of the parent transaction.

        Example : 0x5d4ea0471b70de09fa3d6a4bc32f703ec44483bffa4d6169fa0a36c6a1dc108a
      • Required
        recipient string

        Represents the recipient address with the respective amount.

        Example : 0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
      • Required
        sender string

        Represents the sender address with the respective amount.

        Example : 0x7a250d5630b4cf539739df2c5dacb4c659f2488d
      • Required
        timestamp integer

        Defines the exact date/time in Unix Timestamp when this transaction was mined, confirmed or first seen in Mempool, if it is unconfirmed.

        Example : 1622728329

Credits Cost : 100 Credits For 1 Result(s)

Try it out

Request Example

GET
https://rest.cryptoapis.io/blockchain-data/ethereum/sepolia/transactions/0xbc8245ba5cccb524d91256224689ac0f16678321a266bab8197ad7daab4c9e16/internal?context=yourExampleString&limit=50&offset=0
Headers
Content-Type: application/json
X-API-Key: my-api-key

Response Example

{
    "apiVersion": "2023-04-25",
    "requestId": "601c1710034ed6d407996b30",
    "context": "yourExampleString",
    "data": {
        "limit": 50,
        "offset": 0,
        "total": 100,
        "items": [
            {
                "amount": "0.089286906469667626",
                "blockHash": "0x47245a445acd6c7a328d033313ea621fbc0642aaf913790e9d558c1c208625f0",
                "blockHeight": 12561919,
                "operationID": "call_1",
                "operationType": "CALL",
                "parentHash": "0x5d4ea0471b70de09fa3d6a4bc32f703ec44483bffa4d6169fa0a36c6a1dc108a",
                "recipient": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
                "sender": "0x7a250d5630b4cf539739df2c5dacb4c659f2488d",
                "timestamp": 1622728329
            }
        ]
    }
}