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
* You need to specify the claimer address as the `from` param to avoid any issue with the allowlist
39
+
* ```ts
40
+
* const transaction = claimTo({
41
+
* contract,
42
+
* to: "0x...",
43
+
* tokenId: 0n,
44
+
* quantity: 1n,
45
+
* from: "0x...", // address of the one claiming
46
+
* });
47
+
* ```
35
48
* @throws If no claim condition is set
36
49
* @returns The prepared transaction
37
-
* @note If the claiming address is not the same as the receiving address, you need to specify the claimer address as the `from` param to avoid any issue with the allowlist (if one exists)
* You need to specify the claimer address as the `from` param to avoid any issue with the allowlist
40
+
* ```ts
41
+
* const transaction = claimTo({
42
+
* contract,
43
+
* to: "0x...",
44
+
* quantity: 100n,
45
+
* from: "0x...", // address of the one claiming
46
+
* });
47
+
* ```
35
48
* @throws If no claim condition is set
36
49
* @returns A promise that resolves with the submitted transaction hash.
37
-
* @note If the claiming address is not the same as the receiving address, you need to specify the claimer address as the `from` param to avoid any issue with the allowlist (if one exists)
* You need to specify the claimer address as the `from` param to avoid any issue with the allowlist
43
+
* ```ts
44
+
* const transaction = claimTo({
45
+
* contract,
46
+
* to: "0x...",
47
+
* quantity: 1n,
48
+
* from: "0x...", // address of the one claiming
49
+
* });
50
+
* ```
38
51
* @throws If no claim condition is set
39
52
* @returns A promise that resolves with the submitted transaction hash.
40
-
* @note If the claiming address is not the same as the receiving address, you need to specify the claimer address as the `from` param to avoid any issue with the allowlist (if one exists)
0 commit comments