suix_getDynamicFields

Extended API

Return the list of dynamic field objects owned by an object.

Parameters

KeyRequiredTypeDetail
parent_object_idObjectIDThe ID of the queried parent object
cursorObjectIDAn optional paging cursor. If provided, the query will start from the next item after the specified cursor. Default to start from the first item if not specified.
limituintMaximum item returned per page, default to [QUERY_MAX_RESULT_LIMIT] if not specified.
"params": [
  "0x1ba9708566b4eedae783c416e736b14a5c4aa0d5fee466af4246953710d971c1",
  "0xaa115e8a5e6ec97c570f6d9a037fb4e99074f1bbf15c2d8f4dcce8a59fcafe00",
  3
]

Result

DynamicFieldPage: <Page_for_DynamicFieldInfo_and_ObjectID>

Example

Request

curl <your-endpoint> \
    -X POST \
    -H "Content-Type: application/json" \
    -d '
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "suix_getDynamicFields",
  "params": [
    "0x1ba9708566b4eedae783c416e736b14a5c4aa0d5fee466af4246953710d971c1",
    "0xaa115e8a5e6ec97c570f6d9a037fb4e99074f1bbf15c2d8f4dcce8a59fcafe00",
    3
  ]
}
'

Response

{
    "jsonrpc": "2.0",
    "result": {
        "data": [
            {
                "name": {
                    "type": "0x2::kiosk::Item",
                    "value": {
                        "id": "0xd9a9cf4908a802191b2a35fda1f20fd76c864c949286fc0991e4d4d3f1a55ef8"
                    }
                },
                "bcsName": "FefekuBvcajAWSqL2gMjDstBxKW5WeoQStvfaccWFdWw",
                "type": "DynamicObject",
                "objectType": "0xac176715abe5bcdaae627c5048958bbe320a8474f524674f3278e31af3c8b86b::fuddies::Fuddies",
                "objectId": "0xd9a9cf4908a802191b2a35fda1f20fd76c864c949286fc0991e4d4d3f1a55ef8",
                "version": 1821792,
                "digest": "5b7jeu5m5QoUmsuizmPqBhdytsQBWmWA1DKJW2NSnWrY"
            },
            {
                "name": {
                    "type": "0x2::kiosk::Item",
                    "value": {
                        "id": "0x53d7bf930f3783e35ea072615664a0ce840b1efd9274f45e04ff44aae9d7e187"
                    }
                },
                "bcsName": "6eHeaKvMyWtx6F8Gzh6vfeJGcYaABiABjUAsZaYB1S8n",
                "type": "DynamicObject",
                "objectType": "0xd213b85d14599b9165eb20a426ae42d03723d37acb9050383d554a0cf7f722dd::sui_monstrx::Monx",
                "objectId": "0x53d7bf930f3783e35ea072615664a0ce840b1efd9274f45e04ff44aae9d7e187",
                "version": 2537088,
                "digest": "3PvvHX7rNt8xyc7xd4qZkJ7AEVdD5m8TUQiKAyWnqbLy"
            },
            {
                "name": {
                    "type": "0x95a441d389b07437d00dd07e0b6f05f513d7659b13fd7c5d3923c7d9d847199b::ob_kiosk::KioskOwnerCapDfKey",
                    "value": {
                        "dummy_field": false
                    }
                },
                "bcsName": "1",
                "type": "DynamicField",
                "objectType": "0x2::kiosk::KioskOwnerCap",
                "objectId": "0xeb813256c470d2bfa2a1012240b92bc976fcf89df5a7ed6edc5e6f652b2f2e0a",
                "version": 2537088,
                "digest": "AjPBK5cNGG8W3nKAxct8p16CHK5SbbkMfn6eNJyeierU"
            }
        ],
        "nextCursor": "0xeb813256c470d2bfa2a1012240b92bc976fcf89df5a7ed6edc5e6f652b2f2e0a",
        "hasNextPage": false
    },
    "id": 1
}
Language
Click Try It! to start a request and see the response here!