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 a list of data of the same type 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", "ropsten" are test networks.

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

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

    Example : 0x5d4ea0471b70de09fa3d6a4bc32f703ec44483bffa4d6169fa0a36c6a1dc108a

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.

  • 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 : 10

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 : 2.0
  • 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 : You can add any text here
  • Required
    data object
    • Required
      offset integer

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

      Example : 0
    • Required
      limit integer

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

      Example : 50
    • 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 : 0x85d538e441835ea749738cf690b676099d869059815842a7bde3259c58ff29eb
      • 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 : 1 Credits For 1 Result(s)

Try it out

Request Example

GET
https://rest.cryptoapis.io/v2/blockchain-data/ethereum/mainnet/transactions/0x5d4ea0471b70de09fa3d6a4bc32f703ec44483bffa4d6169fa0a36c6a1dc108a/internal?limit=50&offset=10
Headers
Host: https://rest.cryptoapis.io/v2
Content-Type: application/json
X-API-Key: my-api-key

Response Example

{
    "apiVersion": "2.0",
    "requestId": "601c1710034ed6d407996b30",
    "context": "You can add any text here",
    "data": {
        "offset": 0,
        "limit": 50,
        "total": 100,
        "items": [
            {
                "amount": "0.089286906469667626",
                "blockHash": "0x85d538e441835ea749738cf690b676099d869059815842a7bde3259c58ff29eb",
                "blockHeight": 12561919,
                "operationID": "call_1",
                "operationType": "CALL",
                "parentHash": "0x5d4ea0471b70de09fa3d6a4bc32f703ec44483bffa4d6169fa0a36c6a1dc108a",
                "recipient": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
                "sender": "0x7a250d5630b4cf539739df2c5dacb4c659f2488d",
                "timestamp": 1622728329
            }
        ]
    }
}