Skip to main content

Get Setup Fee

Reads the node fee (entity 3) row that applies to one setup: the setup's own override when it has one, otherwise one of the node's rows that is not setup-scoped. The rates shown are the last values confirmed on-chain for that row when there are any, otherwise the stored values. The node must be inside your API key's node subtree and the setup must belong to the node.

This returns a single stored row, not a resolution across scopes. For the resolved rates use Get Effective Fee; for what the deployed contract holds use Get Setup Effective Fees. See Fees Overview.

Required permission: fee:view

Request​

GET /v2/admin/fees/nodes/{node_id}/setups/{setup_id}

Parameters​

NameTypeInDescription
node_idstringpathRequired. Node that owns the setup
setup_idstringpathRequired. Setup ID

Headers​

NameDescription
AuthorizationRequired. Bearer <access_token>

Example​

curl --request GET \
--url '{{baseUrl}}/v2/admin/fees/nodes/6a4bef2b1e781b11c22e9707/setups/6a552db09c6088e126a4be87' \
--header 'Authorization: Bearer <access_token>'

Response​

{
"id": "6a5530c19c6088e126a4be9a",
"entity": 3,
"node_id": "6a4bef2b1e781b11c22e9707",
"setup_id": "6a552db09c6088e126a4be87",
"network_id": "6a4bf0a21e781b11c22e9712",
"value": {
"tokenization": {
"asset_tokenization": { "id": 0, "value": "3.5" },
"tokenized_asset_sales": { "id": 0, "value": "1" },
"management": { "id": 0, "value": "0.5" }
},
"secondary_market": {
"buy_order": { "id": 0, "value": "1" },
"sell_order": { "id": 0, "value": "1" },
"otc_sale": { "id": 0, "value": "1.5" }
},
"lending": {
"borrower": { "id": 0, "value": "0" },
"lending": { "id": 0, "value": "0" },
"liquidation": { "id": 0, "value": "0" }
}
},
"categories": null
}

Response Fields​

A fee row, in the same shape as Get Fee by ID.

FieldTypeDescription
idstringFee row ID
entityinteger3 (node)
node_idstringNode of the row
setup_idstringThis setup when the row is its override. Omitted when the node's row was returned instead
network_idstringNetwork of the row. Omitted when the row has no network
valueobjectThe nine rates. Each leaf is { "id": 0, "value": "<percent>" }
categoriesarray or nullPer-category overrides (id, int_id, path, value)

Errors​

StatusCodeDescription
40010015Validation failed — see details
40010016node_id or setup_id is not a 24-character hex ID
40010001 (domain 2)Node not found, or the setup does not belong to the node
40010001 (domain 9)Neither the setup nor the node has a node fee row
40310005 (domain 2)The node is outside your API key's node subtree
50010000Unexpected server error

See Errors for the error format and common codes.