https://docs.hedera.com/native/consensus/update-topic
TopicUpdateTransaction provides set_custom_fees()/clear_custom_fees() and set_fee_exempt_keys()/clear_fee_exempt_keys(), but is missing the add versions:
- add_custom_fee()
- add_fee_exempt_key()
Such methods exist in the JS SDK
https://github.com/hiero-ledger/hiero-sdk-js/blob/main/src/topic/TopicUpdateTransaction.js
set_custom_fees(fees) — replace the pending list wholesale
add_custom_fee(fee) — append one to the pending list, creating it if unset
The author should study the reference implementations to understand style and conventions
https://docs.hedera.com/native/consensus/update-topic
TopicUpdateTransaction provides set_custom_fees()/clear_custom_fees() and set_fee_exempt_keys()/clear_fee_exempt_keys(), but is missing the add versions:
Such methods exist in the JS SDK
https://github.com/hiero-ledger/hiero-sdk-js/blob/main/src/topic/TopicUpdateTransaction.js
set_custom_fees(fees) — replace the pending list wholesale
add_custom_fee(fee) — append one to the pending list, creating it if unset
The author should study the reference implementations to understand style and conventions