RSS3 Documentation

Retrieve Account Activities

This endpoint retrieves the activities associated with a specified account in the decentralized system. Use query parameters to filter results by action limits, timestamps, status, direction, and more.

GET
/decentralized/{account}
/decentralized/{account}?direction=out

Path Parameters

account
Required
string

Retrieve activities from the specified account. This account is a unique identifier within the decentralized system.

Query Parameters

limitinteger

Specify the number of activities to retrieve. By default, this is set to 100, and the maximum allowed value is 100.

Default: 100Minimum: 1Maximum: 100

action_limitinteger

Specify the number of actions within the activity to retrieve

Default: 50Minimum: 1Maximum: 100

cursorstring

Specify the cursor used for pagination. This helps in retrieving the next set of results in a paginated response.

since_timestampinteger

Retrieve activities starting from this timestamp. The timestamp is specified in Unix epoch time.

until_timestampinteger

Retrieve activities up to this timestamp. The timestamp is specified in Unix epoch time.

successboolean

Retrieve activities based on success status. Specify true for successful activities or false for unsuccessful ones.

directionstring

Retrieve activities based on direction. The direction specifies whether the activity is incoming or outgoing.

Value in: "in" | "out" | "self"

networkarray<string>

Retrieve activities from the specified network(s). You can specify one or more networks.

tagarray<string>

Retrieve activities from the specified tag(s). Tags can be used to categorize activities.

typearray<string>

Retrieve activities from the specified type(s). Types can help filter activities based on their nature or category.

platformarray<string>

Retrieve activities from the specified platform(s). Platforms refer to the systems or environments where the activities occurred.

curl -X GET "https://gi.rss3.io/decentralized/string?limit=100&action_limit=50&cursor=string&since_timestamp=0&until_timestamp=0&success=true&direction=out&network=%5B%0A++%22ethereum%22%0A%5D&tag=%5B%0A++%22transaction%22%0A%5D&type=%5B%0A++%22transfer%22%0A%5D&platform=%5B%0A++%221inch%22%0A%5D"

A successful response with the activities from the specified account. The response includes details about each activity, such as its ID, timestamp, and associated actions.

{
  "data": [
    {
      "id": "0x840e42d573ebe1ff27a9e4914573b4e0518fcd685c7f9331d319abe854f780e3",
      "owner": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
      "network": "ethereum",
      "from": "0xBAB4d1f27bAA7762a4d822B80C647F715922492f",
      "to": "0x7964B6A8aE5a71409e7E17a5b2669903A27997Ac",
      "index": 0,
      "platform": "1inch",
      "success": true,
      "tag": "transaction",
      "type": "transfer",
      "calldata": {
        "function_hash": "0x4022b75e"
      },
      "direction": "out",
      "fee": {
        "amount": "315699955320960",
        "decimal": 18
      },
      "timestamp": 1718689727,
      "total_actions": 1,
      "actions": [
        {
          "tag": "transaction",
          "type": "transfer",
          "from": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
          "to": "0xefC5f77c5AD5DB85bc287E80d8c3B88c3f27662C",
          "metadata": {
            "address": "0x7964B6A8aE5a71409e7E17a5b2669903A27997Ac",
            "value": "10000000000000000000000",
            "name": "PlayDoge",
            "symbol": "PLAY",
            "decimals": 18,
            "standard": "ERC-20"
          },
          "related_urls": [
            "https://etherscan.io/tx/0x840e42d573ebe1ff27a9e4914573b4e0518fcd685c7f9331d319abe854f780e3"
          ]
        }
      ]
    }
  ],
  "meta": {
    "cursor": "string"
  }
}