ZKSync API
zks_sendRawTransactionWithDetailedOutput
Executes a transaction and returns its hash, storage logs, and events that would have been generated if the transaction had already been included in the block. The API has a similar behaviour to eth_sendRawTransaction but with some extra data returned from it. With this API Consumer apps can apply “optimistic” events in their applications instantly without having to wait for ZKsync block confirmation time. It’s expected that the optimistic logs of two uncommitted transactions that modify the same state will not have causal relationships between each other.
POST
Body
application/json
JSON-RPC version
The method to call
The signed transaction
Request identifier
Response
200 - application/json
Returns transaction hash, storage logs, and events
The response is of type any
.
Was this page helpful?