/start payload. They are self-contained, so your app can generate them without storing shared state or calling Cove before the user clicks.
Telegram limits the
/start parameter to 64 characters. Cove deep links use fixed-width Base62 segments so payloads stay compact enough for Telegram links.Quick reference
For token links, encode the token address into Base62 first: 27 chars for EVM tokens, 43 chars for Solana tokens. Use the chain code table below to choosee, b, n, m, s, and other supported networks.
Group buy
Fixed-size buy that can execute immediately for onboarded users.
Group sell
Sells a percentage of the clicker’s own token position.
Referral
Share a token link with referral attribution.
0000000 when one of the two values is intentionally empty.
Link types
Group Buy
g_ links execute a buy for a fixed USD amount.Market Buy Panel
b_ links open the token buy panel so the user can choose the amount.Group Sell
gs_ links sell a percentage of the clicker’s own token position.Referral
ref_ links share a token with referral attribution.Shared encoding
Theg_, b_, and gs_ token-action links use the same chain codes, address encoding, and optional affiliate/group tail.
Chain codes
Deep-link codes are not currently published for Arbitrum One, Robinhood Chain, or Stable. Generate payloads only for the chain codes listed above.
Token address width
For EVM addresses, strip
0x and hex-decode the address bytes before Base62 encoding. For Solana addresses, base58-decode the address into 32 bytes before Base62 encoding.Optional affiliate and group IDs
Token links can optionally include an affiliate Telegram user ID and a source Telegram group ID.
The affiliate and group segments are either both present (
14 chars total) or both absent. Use 0000000 as the sentinel when only one value is needed.
Encode Telegram IDs by converting the numeric ID to Base62 and left-padding it to 7 characters. For Telegram group IDs, remove the -100 prefix before encoding. For example, -1002036764921 becomes 2036764921.
Group buy links
Useg_ links when you want a click to buy a token for a fixed USD amount.
Behavior:
- Onboarded users execute the buy immediately.
- New users enter onboarding first. If an affiliate is present, Cove can attach it during onboarding, but the buy does not auto-execute.
- If affiliate or group metadata is present, Cove records it for attribution and reporting.
Length limits
Length limits
Market buy panel links
Useb_ links when you want to open the Cove buy panel for a token and let the user choose the amount.
Behavior:
- Onboarded users open the market panel in buy mode.
- The user selects the amount and confirms from inside Cove.
- New users enter onboarding first. If an affiliate is present, Cove can attach it during onboarding, then the user starts from the main menu.
Length limits
Length limits
Group sell links
Usegs_ links when you want a click to sell a percentage of the user’s own position in a token. The link does not transfer or sell a shared group wallet position.
Behavior:
- Cove sells the selected percentage of the clicker’s own position from a real trading account.
- If the user holds the token in one account, Cove can select that account automatically.
- If the user holds the token in multiple accounts, Cove shows a wallet picker.
- If the user does not hold the token, Cove shows that there is nothing to sell.
- New users can be onboarded through the link, but no sell is executed because there is no existing position.
Length limit
Length limit
Worst-case Solana payload:
Referral links
Useref_ links when you want to share a token link with referral attribution. The ref value goes before the hyphen, and the token address goes after it.
Full link format:
The token address format is the same for EVM and Solana links: replace it with the token address you want the user to open.
Example:
alice with your own ref and replace the token address with the token you want to share.
Base62 helpers
Cove uses this alphabet:0.

