Update Node Platform Fee
This endpoint allows you to update platform fee values for a specific node.
Asynchronous operation
Same wallet pipeline as Create Node Platform Fee. HTTP 204 means queued — diffs between new and previous values produce Update…ByPlatformOwner (types 10, 11, 14, 15) or matching Unset… (types 22, 23, 26, 27) node transactions. Poll Get Node Transactions for completion.
Endpoint
PUT /v2/admin/fees/:id/nodes/:nodeId/platform
Path Parameters
| Parameter | Type | Description |
|---|---|---|
| id | string | Fee ID |
| nodeId | string | Node ID |
Request Body
{
"entity": 2,
"node_id": "123123123123123123123",
"value": {
"tokenization": {
"asset_tokenization": {
"id": 0,
"value": 10
},
"tokenized_asset_sales": {
"id": 0,
"value": 11
},
"management": {
"id": 0,
"value": 12
}
},
"secondary_market": {
"buy_order": {
"id": 0,
"value": 13
},
"sell_order": {
"id": 0,
"value": 14
},
"otc_sale": {
"id": 0,
"value": 15
}
},
"lending": {
"borrower": {
"id": 0,
"value": 16
},
"lending": {
"id": 0,
"value": 17
},
"liquidation": {
"id": 0,
"value": 18
}
}
},
"categories": null
}
Request Body Parameters
| Parameter | Type | Description |
|---|---|---|
| entity | number | Entity ID |
| value | object | Fee configuration values |
| categories | null | Categories (currently unused) |
Response
The endpoint returns no content on successful update.
Example
Request
curl -X PUT "https://api.example.com/v2/admin/fees/680bdf195d63bcee848d38e6/nodes/680bdf195d63bcee848d38e6/platform" \
-H "Content-Type: application/json" \
-d '{
"entity": 3,
"value": {
"tokenization": {
"asset_tokenization": {
"id": 0,
"value": 10
},
"tokenized_asset_sales": {
"id": 0,
"value": 11
},
"management": {
"id": 0,
"value": 12
}
},
"secondary_market": {
"buy_order": {
"id": 0,
"value": 13
},
"sell_order": {
"id": 0,
"value": 14
},
"otc_sale": {
"id": 0,
"value": 15
}
},
"lending": {
"borrower": {
"id": 0,
"value": 16
},
"lending": {
"id": 0,
"value": 17
},
"liquidation": {
"id": 0,
"value": 18
}
}
},
"categories": null
}'
Response
HTTP/1.1 204 No Content