List Confirmed Transactions By Address

This endpoint will list transactions by an attribute address. The transactions listed will detail additional information such as hash, height, time of creation in Unix timestamp, etc.

Please be advised that retrieving Polygon (beta) & Avalanche (beta) data will provide you with the most recent 14 days of transactions. For access to full historical data, kindly reach out to our support team.

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

Path Parameters

  • Required
    blockchain string

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

    Example : bitcoin
    Possible Values : bitcoin bitcoin-cash litecoin dogecoin dash ethereum-classic ethereum binance-smart-chain zcash tron tezos polygon avalanche
  • 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 : testnet
    Possible Values : mainnet testnet mordor nile ghostnet sepolia amoy fuji
  • Required
    address string

    Represents the public address, which is a compressed and shortened form of a public key.

    Example : mho4jHBcrNCncKt38trJahXakuaBnS7LK5

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 successful.

  • 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
        index string

        Numeric representation of the transaction index

        Example : 1
      • Required
        minedInBlockHash string

        String representation of the block hash

        Example : 0000000000000029aecac30e663a8c97060d56f9a8c62e73fe646dc5e02f72bb
      • Required
        minedInBlockHeight integer

        Numeric representation of the block height

        Example : 2408785
      • Required
        recipients object

        Object representation of the sender

        • Required
          address string

          String representation of the recipient address

          Example : mho4jHBcrNCncKt38trJahXakuaBnS7LK5
        • Required
          amount string

          String representation of the amount

          Example : 0.0001
      • Required
        senders object

        Object representation of the sender

        • Required
          address string

          String representation of the sender address

          Example : mho4jHBcrNCncKt38trJahXakuaBnS7LK5
        • Required
          amount string

          String representation of the amount

          Example : 0.0001
      • Required
        timestamp integer

        Numeric representation of the timestamp in seconds since epoch

        Example : 1669627454
      • Required
        transactionHash string

        String representation of the transaction hash

        Example : 0000000000000029aecac30e663a8c97060d56f9a8c62e73fe646dc5e02f72bb
      • Required
        transactionId string

        String representation of the transaction hash

      • Required
        fee object
        • Required
          amount string

          String representation of the transaction fee value

          Example : 0.0001
        • Required
          unit string
      • Required
        id string
        Example : 644902b79943250007d7bd1d
      • Required
        unit string

        String representation of the transacted amount

        Example : BTC
      • Required
        blockchainSpecific object One Of
        object
        • Required
          locktime integer

          Represents the locktime on the transaction on the specific blockchain, i.e. the blockheight at which the transaction is valid.

          Example : 1781965
        • Required
          size integer

          Represents the total size of this transaction.

          Example : 125
        • Required
          vSize integer

          Defines the transaction's virtual size.

          Example : 166
        • Required
          version integer

          Defines the version of the transaction.

          Example : 2
        • Required
          vin array

          Represents the transaction inputs.

          • Required
            addresses array

            Represents the addresses which send/receive the amount.

            Example : 2N5PcdirZUzKF9bWuGdugNuzcQrCbBudxv1
          • Optional
            coinbase string

            Represents the coinbase hex.

            Example : 0399991d20706f6f6c2e656e6a6f79626f646965732e636f6d20393963336532346234374747a53e994c4a000001
          • Required
            scriptSig object

            Specifies the required signatures.

            • Required
              asm string

              The asm strands for assembly, which is the symbolic representation of the Bitcoin's Script language op-codes.

              Example : 0014daaf6d5cb86befe42df851a4d1df052e663754c1
            • Required
              hex string

              Represents the hex of the public key of the address.

              Example : 160014daaf6d5cb86befe42df851a4d1df052e663754c1
            • Required
              type string

              Represents the script type of the reference transaction identifier.

              Example : scripthash
          • Required
            sequence string

            Represents the script sequence number.

            Example : 4294967295
          • Optional
            txid string

            Represents the reference transaction identifier.

            Example : caee978cae255bbe303ac86152679e46113a8b12925aa3afaa312d89d11ccbf8
          • Optional
            txinwitness array

            Represents an array hex-encoded witness data (if there is any) as strings.

            Example : 3045022100c11ea5740bcd69f0f68a4914279838014d28923134d18e05c5a5486dfd06cc8c02200dadccec3f07bed0d1040f9e5a155efa5fdd40fc91f92342578d26848da4c6b901
          • Optional
            value string

            Represents the sent/received amount.

            Example : 0.00873472
          • Optional
            vout integer

            Defines the vout of the transaction output, i.e. which output to spend.

            Example : 1
        • Required
          vout array

          Represents the transaction outputs.

          • Required
            isSpent boolean

            Defines whether the output is spent or not.

            Example : True
          • Required
            scriptPubKey object

            Represents the script public key.

            • Required
              addresses array

              Represents the addresses which send the amount.

              Example : 2N5PcdirZUzKF9bWuGdugNuzcQrCbBudxv1
            • Required
              asm string

              Represents the assembly of the script public key of the address.

              Example : OP_HASH160 ca94af32587de4e5006685ffffc65a818ccd3fbc OP_EQUAL
            • Required
              hex string

              Represents the hex of the script public key of the address.

              Example : a914507a5bd8cac1d9efdf4c0a4bfacb3e0abb4f8d1587
            • Optional
              reqSigs integer

              Represents the required signatures.

              Example : 1
            • Required
              type string

              Represents the script type.

              Example : scripthash
          • Required
            value string

            Represents the sent/received amount.

            Example : 0.000144

Credits Cost : 100 Credits For 1 Result(s)

Try it out

Request Example

GET
https://rest.cryptoapis.io/blockchain-data/bitcoin/testnet/addresses/mho4jHBcrNCncKt38trJahXakuaBnS7LK5/transactions?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": [
            {
                "index": "1",
                "minedInBlockHash": "0000000000000029aecac30e663a8c97060d56f9a8c62e73fe646dc5e02f72bb",
                "minedInBlockHeight": 2408785,
                "recipients": {
                    "address": "mho4jHBcrNCncKt38trJahXakuaBnS7LK5",
                    "amount": "0.0001"
                },
                "senders": {
                    "address": "mho4jHBcrNCncKt38trJahXakuaBnS7LK5",
                    "amount": "0.0001"
                },
                "timestamp": 1669627454,
                "transactionHash": "0000000000000029aecac30e663a8c97060d56f9a8c62e73fe646dc5e02f72bb",
                "transactionId": "",
                "fee": {
                    "amount": "0.0001",
                    "unit": ""
                },
                "id": "644902b79943250007d7bd1d",
                "unit": "BTC",
                "blockchainSpecific": {
                    "locktime": 1781965,
                    "size": 125,
                    "vSize": 166,
                    "version": 2,
                    "vin": [
                        {
                            "addresses": [
                                "2N5PcdirZUzKF9bWuGdugNuzcQrCbBudxv1"
                            ],
                            "coinbase": "0399991d20706f6f6c2e656e6a6f79626f646965732e636f6d20393963336532346234374747a53e994c4a000001",
                            "scriptSig": {
                                "asm": "0014daaf6d5cb86befe42df851a4d1df052e663754c1",
                                "hex": "160014daaf6d5cb86befe42df851a4d1df052e663754c1",
                                "type": "scripthash"
                            },
                            "sequence": "4294967295",
                            "txid": "caee978cae255bbe303ac86152679e46113a8b12925aa3afaa312d89d11ccbf8",
                            "txinwitness": [
                                "3045022100c11ea5740bcd69f0f68a4914279838014d28923134d18e05c5a5486dfd06cc8c02200dadccec3f07bed0d1040f9e5a155efa5fdd40fc91f92342578d26848da4c6b901"
                            ],
                            "value": "0.00873472",
                            "vout": 1
                        }
                    ],
                    "vout": [
                        {
                            "isSpent": true,
                            "scriptPubKey": {
                                "addresses": [
                                    "2N5PcdirZUzKF9bWuGdugNuzcQrCbBudxv1"
                                ],
                                "asm": "OP_HASH160 ca94af32587de4e5006685ffffc65a818ccd3fbc OP_EQUAL",
                                "hex": "a914507a5bd8cac1d9efdf4c0a4bfacb3e0abb4f8d1587",
                                "reqSigs": 1,
                                "type": "scripthash"
                            },
                            "value": "0.000144"
                        }
                    ]
                }
            }
        ]
    }
}