Skip to content
Data Token
loadDatatokensCollectedBy

loadDatatokensCollectedBy

Get the list of data tokens collected by a wallet address.

Usage

await dataverseConnector.runOS({
  method: SYSTEM_CALL.loadDatatokensCollectedBy,
  params: address,
});

Parameters

  • address: string - wallet address of data token collector.

Returns

List of data tokens.

Example:

[
  {
    "address": "0x6293BA7114867Ee79751d36376B969168DFD01d2",
    "collect_info": {
      "collect_nft_address": "0x6293BA7114867Ee79751d36376B969168DFD01d2",
      "sold_list": [
        {
          "owner": "0xb4D93398f6F3FB5EE4436D1aE93b32d65693a799",
          "token_id": "0"
        }
      ],
      "sold_num": "1",
      "total": "100",
      "price": {
        "amount": "0.0001",
        "currency": "WMATIC",
        "currency_addr": "0x9c3C9283D3e44854697Cd22D3Faa240Cfb032889"
      }
    },
    "content_uri": "",
    "owner": "0xb4D93398f6F3FB5EE4436D1aE93b32d65693a799",
    "source": "0x6431eBEfE13E87bde75585C6fd1ea5596161732f",
    "created_at": "2023-11-02 14:27:21.915329 +0800 CST"
  },
  ...
]