-
. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
You should be able to call anything using |
Beta Was this translation helpful? Give feedback.
-
The debug API is not presently a standard that is implemented the same way across various backends ( If you are looking for an API that formats the response for you along with types, instead of returning the raw rpc response, you may extend the provider and implement the formatting. class GethRpcProvider extends StaticJsonRpcProvider {
async debugTraceTranscation(txHash: string) {
// implement formatting logic once
}
} |
Beta Was this translation helpful? Give feedback.
You should be able to call anything using
send
. For typescript you might have to cast it to an Array, but there is probably also a positional equivalent? Do you have a link to the API?