Skip to main content

Update Node Fee

This endpoint allows you to update a fee configuration for a specific node.

Endpoint

PUT /v2/fees/:id/nodes/:nodeId

Path Parameters

ParameterTypeDescription
idstringFee ID
nodeIdstringNode ID

Request Body

{
"entity": 3,
"node_id": "680bdf195d63bcee848d38e6",
"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

ParameterTypeDescription
entitynumberEntity ID
node_idstringNode ID
valueobjectFee configuration values
categoriesnullCategories (currently unused)

Response

The endpoint returns no content on successful update.

Example

Request

curl -X PUT "https://api.example.com/v2/fees/680bdf195d63bcee848d38e6/nodes/680bdf195d63bcee848d38e6" \
-H "Content-Type: application/json" \
-d '{
"entity": 3,
"node_id": "680bdf195d63bcee848d38e6",
"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