Difference between revisions of "Cast"
Jump to navigation
Jump to search
Line 14: | Line 14: | ||
* <code>[[cast nonce]]</code> | * <code>[[cast nonce]]</code> | ||
* <code>[[cast call]]</code> | * <code>[[cast call]]</code> | ||
− | * <code>[[cast block]]</code> | + | * <code>[[cast block]]</code>: <code>[[cast block latest|lastest]]</code> |
** <code>[[--rpc-url]]</code> | ** <code>[[--rpc-url]]</code> | ||
* <code>[[cast block-number --rpc-url]]</code> | * <code>[[cast block-number --rpc-url]]</code> |
Revision as of 12:05, 12 September 2024
- Foundry installation, in
~/.foundry/bin
usingcurl
.
Contents
Commands
cast --help
cast rpc
cast wallet
cast tx
cast send
cast balance
cast nonce
cast call
cast block
:lastest
cast block-number --rpc-url
cast chain-id
Activities
Related
- Ethereum RPC calls
- Execution clients
eth-cli
- Rust
curl -X POST -H "Content-Type: application/json" --compressed --data
'{"jsonrpc":"2.0","method":"debug_traceBlockByNumber","params":["0x12345",{"enableMemory":false,"disableStack":false,"disableStorage":false,"enableReturnData":true}],"id":1}' http://YOUR-RPC-ENDPOINT:8545
See also
Advertising: