getUserOrderActivity

The user activity against the NFT like new offers, cancel offer, list item, accept offer, buy now, item purchased, item sold by the user organization made.

Sample query

query getUserOrderActivity($orgId: UUID1!, $filter: OrderActivityFilters, $limit: Int, $offset: Int) {
  getUserOrderActivity(
    orgId: $orgId
    filter: $filter
    limit: $limit
    offset: $offset
  ) {
    totalCount
    data {
      CreatedAt
      nftImageUrl
      ActivityName
      TokenName
      TokenID
      NFTTokenID
      ContractName
      ContractAddress
      Price {
        value
        unit
        __typename
      }
      NetworkID
      TransactionHash
      FromUserName
      ToUserName
      FromUserAvatar
      ToUserAvatar
      FromWallet {
        id
        name
        address
        __typename
      }
      ToWallet {
        id
        name
        address
        __typename
      }
      InvoiceURL
      InvoiceID
      OrderID
      Status
      cryptoTax {
        cryptoTaxPrice
        cryptoTotalPrice
        USDUnitprice
        taxPercentage
        __typename
      }
      order {
        platformFee
        creatorFee
        __typename
      }
      __typename
    }
    __typename
  }
}

Sample variable

{
  "orgId": "f2f5c627-5421-4c40-9913-edfd09dd98b3",
  "filter": "LATEST_TO_OLDEST"
}

Sample response

{
  "data": {
    "getUserOrderActivity": {
      "totalCount": 117,
      "data": [
        {
          "CreatedAt": "2023-02-21T08:04:43Z",
          "nftImageUrl": "https://ipfs.io/ipfs/QmeDWntxB7TjppsQmvQpaH425uVpq84SJJxgPGFjr4pjyc",
          "ActivityName": "Offered",
          "TokenName": "Cool Cat #43",
          "TokenID": "43",
          "NFTTokenID": "a2338c7c-f68a-4c8e-a40f-d0d137d615c4",
          "ContractName": "Ionixx",
          "ContractAddress": "0xce927a8a5d863f84deaa1ea175eed34c4bf4f535",
          "Price": [
            {
              "value": 72.0437,
              "unit": "USD",
              "__typename": "NFTPrice"
            },
            {
              "value": 0.0423,
              "unit": "WETH",
              "__typename": "NFTPrice"
            }
          ],
          "NetworkID": "c41db347-0ee3-4212-943a-ca213b8e0ea8",
          "TransactionHash": "",
          "FromUserName": "ramya1",
          "ToUserName": "muthu1",
          "FromUserAvatar": null,
          "ToUserAvatar": null,
          "FromWallet": {
            "id": "9cbbd79c-26ca-4d21-9bfb-9f99573b30a5",
            "name": "",
            "address": "0x5f6FD7dBd82cD6De4a25913Ee92E79863f00db33",
            "__typename": "Wallet"
          },
          "ToWallet": {
            "id": "9958bca5-c4e5-4e03-b359-c9ba8e43f5aa",
            "name": "",
            "address": "0x9401fE2871B0fa9E1F1c415Cb6413Eb3b86e2824",
            "__typename": "Wallet"
          },
          "InvoiceURL": "",
          "InvoiceID": null,
          "OrderID": "59227ecb-0656-4035-9d3f-6e8a4a02e42f",
          "Status": "PENDING",
          "cryptoTax": {
            "cryptoTaxPrice": 0,
            "cryptoTotalPrice": 0.0423,
            "USDUnitprice": 72.0953,
            "taxPercentage": 0,
            "__typename": "TaxResponse"
          },
          "order": {
            "platformFee": 0.0011,
            "creatorFee": 0,
            "__typename": "Order"
          },
          "__typename": "OrderActivity"
        }
      ]
    }
  }
}

Arguments

NameTypeDescriptionRequired
orgIDUUIDThe organization ID.Yes
filterStringOrder the activity by LATEST_TO_OLDESTNo
limitIntegerSet the limit return record response count.No
offsetintegerSet the offset to skip the record.No

Fields

NameTypeDescription
OrderActivityResponseObjectContains the order activity total count and orderActivity information

Example