You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can be either a hex-encoded signed authorization or an address.
33
+
34
+
`--access-list`_access_list_
35
+
EIP-2930 access list.
36
+
37
+
Accepts either a JSON-encoded access list or an empty value to create the access list via an RPC call to `eth_createAccessList`. To retrieve only the access list portion, use the `cast access-list` command.
28
38
29
39
#### Receipt Options
30
40
@@ -33,8 +43,8 @@ The destination (*to*) can be an ENS name or an address.
33
43
Do not wait for the transaction receipt if it does not exist yet.
34
44
Environment: `CAST_ASYNC`
35
45
36
-
`-c`*confirmations*
37
-
`--confirmations`*confirmations*
46
+
`-c`_confirmations_
47
+
`--confirmations`_confirmations_
38
48
Wait a number of confirmations before exiting. Default: `1`.
39
49
40
50
{{#include ../common/wallet-options.md}}
@@ -53,48 +63,51 @@ The destination (*to*) can be an ENS name or an address.
53
63
### EXAMPLES
54
64
55
65
1. Send some ether to Vitalik using your Ledger:
56
-
```sh
57
-
cast send --ledger vitalik.eth --value 0.1ether
58
-
```
66
+
67
+
```sh
68
+
cast send --ledger vitalik.eth --value 0.1ether
69
+
```
59
70
60
71
2. Call `deposit(address token, uint256 amount)` on a contract:
cast-wallet-sign-auth - Sign an EIP-7702 authorization.
6
+
7
+
### SYNOPSIS
8
+
9
+
`cast wallet sign-auth`_address_
10
+
11
+
### DESCRIPTION
12
+
13
+
Sign an [EIP-7702](https://github.com/ethereum/EIPs/blob/master/EIPS/eip-7702.md) authorization for an address.
14
+
15
+
Note that `sign-auth` uses the current nonce as it is not aware of whether you are going to broadcast the authorization from the same or a different sender.
16
+
17
+
If you are sending the transaction from the same address you will need to either pass the next nonce using the `--nonce` flag or alternatively use `cast send <to> --auth <address>` to sign and send directly.
18
+
19
+
### OPTIONS
20
+
21
+
{{#include ../common/wallet-options-raw.md}}
22
+
23
+
{{#include ../common/wallet-options-keystore.md}}
24
+
25
+
{{#include ../common/wallet-options-hardware.md}}
26
+
27
+
{{#include common-options.md}}
28
+
29
+
### EXAMPLES
30
+
31
+
1. Sign an EIP-7702 authorization using a keystore:
0 commit comments