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
Copy file name to clipboardexpand all lines: book/build-your-staking-dapp/ton/ton-pool/methods.md
+3-2
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ Staking tokens supports the network's operations and earns rewards for the deleg
18
18
19
19
### How to Use
20
20
21
-
To build a staking transaction, you need to provide the validator address pair, the staking amount (in TON), and optionally, a Unix timestamp indicating when the transaction expires.
21
+
To build a staking transaction, you need to provide the validator address pair, and the staking amount (in TON). Optionally, you can also specify a referrer address for tracking purposes, and a Unix timestamp indicating when the transaction expires.
Copy file name to clipboardexpand all lines: book/docs/classes/ton_src.TonPoolStaker.md
+1
Original file line number
Diff line number
Diff line change
@@ -178,6 +178,7 @@ to stake to automatically.
178
178
|`params`|`Object`| Parameters for building the transaction |
179
179
|`params.validatorAddressPair`|[`string`, `string`]| The validator address pair to stake to |
180
180
|`params.amount`|`string`| The amount to stake, specified in `TON`|
181
+
|`params.referrer?`|`string`| (Optional) The address of the referrer. This is used to track the origin of transactions, providing insights into which sources or campaigns are driving activity. This can be useful for analytics and optimizing user acquisition strategies |
181
182
|`params.validUntil?`|`number`| (Optional) The Unix timestamp when the transaction expires |
0 commit comments