post https://api.infstones.com/sui/mainnet/
Extended API
Return the dynamic field object information for a specified object
Parameters
Key | Required | Type | Detail |
---|---|---|---|
parent_object_id | ✅ | ObjectID | The ID of the queried parent object |
name | ✅ | String | The Name of the dynamic field |
"params": [
"0x1ba9708566b4eedae783c416e736b14a5c4aa0d5fee466af4246953710d971c1",
{
"type": "0x95a441d389b07437d00dd07e0b6f05f513d7659b13fd7c5d3923c7d9d847199b::ob_kiosk::DepositSettingDfKey",
"value": false
}
]
Result
SuiObjectResponse: <SuiObjectResponse>
- get a particular dynamic field data of the parent object.
- data :
<[ObjectData]>
- error :
<[ObjectResponseError]>
Example
Request
curl <your-endpoint> \
-X POST \
-H "Content-Type: application/json" \
-d '
{
"jsonrpc": "2.0",
"id": 1,
"method": "suix_getDynamicFieldObject",
"params": [
"0x1ba9708566b4eedae783c416e736b14a5c4aa0d5fee466af4246953710d971c1",
{
"type": "0x95a441d389b07437d00dd07e0b6f05f513d7659b13fd7c5d3923c7d9d847199b::ob_kiosk::DepositSettingDfKey",
"value": false
}
]
}
'
Response
{
"jsonrpc": "2.0",
"result": {
"data": {
"objectId": "0x04b9c3d5be9631cb400e461ed09a2763fc30300f85ab0847f7a2f10b82d33c14",
"version": "1733468",
"digest": "6inVFHG37sw2TkKUDHHcMKUngXcsMfyyECADXTqquq34",
"type": "0x2::dynamic_field::Field<0x95a441d389b07437d00dd07e0b6f05f513d7659b13fd7c5d3923c7d9d847199b::ob_kiosk::DepositSettingDfKey, 0x95a441d389b07437d00dd07e0b6f05f513d7659b13fd7c5d3923c7d9d847199b::ob_kiosk::DepositSetting>",
"owner": {
"ObjectOwner": "0x1ba9708566b4eedae783c416e736b14a5c4aa0d5fee466af4246953710d971c1"
},
"previousTransaction": "673eqfeJUpfACKqJeEN5onNSpjewj7UL7pzJpoQumXTt",
"storageRebate": "2272400",
"content": {
"dataType": "moveObject",
"type": "0x2::dynamic_field::Field<0x95a441d389b07437d00dd07e0b6f05f513d7659b13fd7c5d3923c7d9d847199b::ob_kiosk::DepositSettingDfKey, 0x95a441d389b07437d00dd07e0b6f05f513d7659b13fd7c5d3923c7d9d847199b::ob_kiosk::DepositSetting>",
"hasPublicTransfer": false,
"fields": {
"id": {
"id": "0x04b9c3d5be9631cb400e461ed09a2763fc30300f85ab0847f7a2f10b82d33c14"
},
"name": {
"type": "0x95a441d389b07437d00dd07e0b6f05f513d7659b13fd7c5d3923c7d9d847199b::ob_kiosk::DepositSettingDfKey",
"fields": {
"dummy_field": false
}
},
"value": {
"type": "0x95a441d389b07437d00dd07e0b6f05f513d7659b13fd7c5d3923c7d9d847199b::ob_kiosk::DepositSetting",
"fields": {
"collections_with_enabled_deposits": {
"type": "0x2::vec_set::VecSet<0x1::type_name::TypeName>",
"fields": {
"contents": []
}
},
"enable_any_deposit": true
}
}
}
}
}
},
"id": 1
}