#A way to see a contract operations from outside, JS SDK
8 messages · Page 1 of 1 (latest)
i'm calling a contract method using contract.call() and then building a transaction with that operation, the thing is that i need to extract the contract method name from the transaction, is there any way? i know i can get it from the operation builded with contract.call() but when i build the transaction the operation funcName is always balance_of
are you referring to JS SDK?
yes
sorry, I'm not really familiar with it. the function name is definitely there in the transaction XDR
it is there but it always shows balance_of instead of the name that was used in the operation created with contract.call
A way to see a contract operations from outside, JS SDK
maybe you should share your code...