Skip to content

Commit

Permalink
Update arbitrum-docs/launch-orbit-chain/how-tos/customize-precompile.mdx
Browse files Browse the repository at this point in the history
Co-authored-by: symbolpunk <103775631+symbolpunk@users.noreply.github.com>
  • Loading branch information
Jason-W123 and symbolpunk committed Oct 17, 2023
1 parent a7120df commit 53fe78a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ To send a transaction to `ArbSys`, we need to include a gas cost, because the fu
cast send 0x0000000000000000000000000000000000000064 "sayHi()(string)"
```

Then we will have a transaction hash result, call `eth_getTransactionReceipt` with that transaction hash, you may get:
Call `eth_getTransactionReceipt` with the returned transaction hash result. You should see something like this:

```
{"jsonrpc":"2.0","id":1,"result":{"blockHash":"Your_blockHash","blockNumber":"Your_blockNumber","contractAddress":null,"cumulativeGasUsed":"0x680b","effectiveGasPrice":"0x5f5e100","from":"Your_address","gasUsed":"0x680b","gasUsedForL1":"0xe35","l1BlockNumber":"l1_blockNumber","logs":[{"address":"0x0000000000000000000000000000000000000064","topics":["0xa9378d5bd800fae4d5b8d4c6712b2b64e8ecc86fdc831cb51944000fc7c8ecfa","0x000000000000000000000000{Your_address}"],"data":"0x","blockNumber":"Your_blockNumber","transactionHash":"Your_txHash","transactionIndex":"0x1","blockHash":"Your_blockHash","logIndex":"0x0","removed":false}],"logsBloom":"0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000100000000000000040000000000000080004000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000004000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000","status":"0x1","to":"0x0000000000000000000000000000000000000064","transactionHash":"Your_txHash","transactionIndex":"0x1","type":"0x2"}}
Expand Down

0 comments on commit 53fe78a

Please sign in to comment.