In automationTime, there’s a specific RPC interface for querying fees. Although fee logic in automationPrice is simple at the moment, I think we still need an interface to return the actual fee deducted for schedule + execution. Please check the code of query_fee_details of automationTime to see if a similar interface is required for automationPrice
For example, this is the interface for developers, auto-generated by the chain’s RPC metadata.
https://github.com/OAK-Foundation/oak.js/blob/22ae77e28aa40b9f69158cc750a2c5841dc34d4c/packages/types/src/automationTime.ts#L26C4-L32C7