for example :
i want to get the function param-type and return-type
fn query_all_wallet_transactions(
cmd: HistoryQueryCommand,
) -> Vec<SimpleTransaction> {
...
}
for example :
i want to get the function param-type and return-type
fn query_all_wallet_transactions(
cmd: HistoryQueryCommand,
) -> Vec<SimpleTransaction> {
...
}
In general, this is impossible. The crate that defines the function must provide some way to introspect it, otherwise the relevant information isn't even stored in the final binary. And this is extremely tied to the specific problem, so I guess no one bothered with making a library that would be mostly tweaked according to the use-case anyway.
This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.