List Unconfirmed Transactions by Address

Through this endpoint customers can list transactions by address that are unconfirmed.

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

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 ethereum-classic zcash binance-smart-chain
  • 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 : testnet
    Possible Values : mainnet testnet ropsten mordor
  • Required
    address string

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

    Example : 2NDt6eztswLiVgVYaGUhkTPmugUGovVypAe

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

  • 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
        recipients array

        Represents a list of recipient addresses with the respective amounts. In account-based protocols like Ethereum there is only one address in this list.

        • Required
          address string

          The address which receives this transaction. In UTXO-based protocols like Bitcoin there could be several senders while in account-based protocols like Ethereum there is always only one recipient.

          Example : tb1qdc0jaryry3u56j94xp5zeyhn9zjuzkqec2mvfh
        • Required
          amount string

          Represents the amount received to this address.

          Example : 0.09720621
      • Required
        senders array

        Represents a list of sender addresses with the respective amounts. In account-based protocols like Ethereum there is only one address in this list.

        • Required
          address string

          Represents the address of the sender.

          Example : n1eypQAVqQMmDuXffCF3LPXREmF71ecuai
        • Required
          amount string

          Represents the total amount sent by this address including the fee.

          Example : 0.19163773
      • 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 : 1633518942013
      • Required
        transactionHash string

        Represents the same as transactionId for account-based protocols like Ethereum, while it could be different in UTXO-based protocols like Bitcoin. E.g., in UTXO-based protocols hash is different from transactionId for SegWit transactions.

        Example : 3d74a44fe666308242b2c9dd0197a601779d17ba9fe8f7a23612c53a910bc98d
      • Required
        transactionId string

        Represents the unique identifier of a transaction, i.e. it could be transactionId in UTXO-based protocols like Bitcoin, and transaction hash in Ethereum blockchain.

        Example : 3d74a44fe666308242b2c9dd0197a601779d17ba9fe8f7a23612c53a910bc98d
      • 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 : 222
        • Required
          vSize integer

          Defines the transaction's virtual size.

          Example : 222
        • Required
          version integer

          Defines the version of the transaction.

          Example : 1
        • Required
          vin array

          Represents the transaction inputs.

          • Required
            addresses array

            Represents the addresses which send/receive the amount.

            Example : n1eypQAVqQMmDuXffCF3LPXREmF71ecuai
          • 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 : 304402203862a918653adb03c5dcd82965b2e6c658b5cabdecba315231975873c5a12aa102203101f4d9b4b1cae943c04054b53d2dc8a359776963e9d029fdf0ddba785ab71f[ALL] 027970a92cad2023bc5e83dc4199333a5c6f45a15a141963ac61a3c773940b0115
            • Optional
              hex string

              Represents the hex of the public key of the address.

              Example : 47304402203862a918653adb03c5dcd82965b2e6c658b5cabdecba315231975873c5a12aa102203101f4d9b4b1cae943c04054b53d2dc8a359776963e9d029fdf0ddba785ab71f0121027970a92cad2023bc5e83dc4199333a5c6f45a15a141963ac61a3c773940b0115
            • Required
              type string

              Represents the script type of the reference transaction identifier.

              Example : pubkeyhash
          • Required
            sequence string

            Represents the script sequence number.

            Example : 4294967295
          • Optional
            txid string

            Represents the reference transaction identifier.

            Example : aca730af131622fa0d765706e9e5263faee054b03a00b6e9b25f235462fb3043
          • 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.19163773
          • 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

            Object representation of the script

            • Required
              addresses array

              Represents the addresses which send the amount.

              Example : tb1qdc0jaryry3u56j94xp5zeyhn9zjuzkqec2mvfh
            • Required
              asm string

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

              Example : OP_DUP OP_HASH160 3502000e8ff5717295df19fbae4597c4f43fb1d9 OP_EQUALVERIFY OP_CHECKSIG
            • Required
              hex string

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

              Example : 76a9143502000e8ff5717295df19fbae4597c4f43fb1d988ac
            • Required
              reqSigs integer

              Represents the required signatures.

              Example : 1
            • Required
              type string

              Represents the script type.

              Example : witness_v0_keyhash
          • Required
            value string

            Represents the sent/received amount.

            Example : 0.09720621

Credits Cost : 1 Credits For 1 Result(s)

Try it out

Request Example

GET
https://rest.cryptoapis.io/v2/blockchain-data/bitcoin/testnet/address-transactions-unconfirmed/2NDt6eztswLiVgVYaGUhkTPmugUGovVypAe?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": [
            {
                "recipients": [
                    {
                        "address": "tb1qdc0jaryry3u56j94xp5zeyhn9zjuzkqec2mvfh",
                        "amount": "0.09720621"
                    }
                ],
                "senders": [
                    {
                        "address": "n1eypQAVqQMmDuXffCF3LPXREmF71ecuai",
                        "amount": "0.19163773"
                    }
                ],
                "timestamp": 1633518942013,
                "transactionHash": "3d74a44fe666308242b2c9dd0197a601779d17ba9fe8f7a23612c53a910bc98d",
                "transactionId": "3d74a44fe666308242b2c9dd0197a601779d17ba9fe8f7a23612c53a910bc98d",
                "blockchainSpecific": {
                    "locktime": 1781965,
                    "size": 222,
                    "vSize": 222,
                    "version": 1,
                    "vin": [
                        {
                            "addresses": [
                                "n1eypQAVqQMmDuXffCF3LPXREmF71ecuai"
                            ],
                            "scriptSig": {
                                "asm": "304402203862a918653adb03c5dcd82965b2e6c658b5cabdecba315231975873c5a12aa102203101f4d9b4b1cae943c04054b53d2dc8a359776963e9d029fdf0ddba785ab71f[ALL] 027970a92cad2023bc5e83dc4199333a5c6f45a15a141963ac61a3c773940b0115",
                                "hex": "47304402203862a918653adb03c5dcd82965b2e6c658b5cabdecba315231975873c5a12aa102203101f4d9b4b1cae943c04054b53d2dc8a359776963e9d029fdf0ddba785ab71f0121027970a92cad2023bc5e83dc4199333a5c6f45a15a141963ac61a3c773940b0115",
                                "type": "pubkeyhash"
                            },
                            "sequence": "4294967295",
                            "txid": "aca730af131622fa0d765706e9e5263faee054b03a00b6e9b25f235462fb3043",
                            "txinwitness": [
                                "3045022100c11ea5740bcd69f0f68a4914279838014d28923134d18e05c5a5486dfd06cc8c02200dadccec3f07bed0d1040f9e5a155efa5fdd40fc91f92342578d26848da4c6b901"
                            ],
                            "value": "0.19163773",
                            "vout": 1
                        }
                    ],
                    "vout": [
                        {
                            "isSpent": true,
                            "scriptPubKey": {
                                "addresses": [
                                    "tb1qdc0jaryry3u56j94xp5zeyhn9zjuzkqec2mvfh"
                                ],
                                "asm": "OP_DUP OP_HASH160 3502000e8ff5717295df19fbae4597c4f43fb1d9 OP_EQUALVERIFY OP_CHECKSIG",
                                "hex": "76a9143502000e8ff5717295df19fbae4597c4f43fb1d988ac",
                                "reqSigs": 1,
                                "type": "witness_v0_keyhash"
                            },
                            "value": "0.09720621"
                        }
                    ]
                }
            }
        ]
    }
}