Crowdfunding
DAO service token in Bearer format.
The token must be valid, not revoked, and authorized for the same dao_address as in path.
Crowdfunding master address. Any TON format is accepted (raw 0:hex,
EQ.../UQ.../kQ.../0Q..., base64-url or standard base64).
Contribution amount in the smallest units of the campaign currency:
nanoTON for native campaigns, jetton smallest-units (e.g. 1000000
= 1 USDT for 6-decimal USDT) for jetton campaigns. Must satisfy
minAmountPerUser <= amount <= maxAmountPerUser.
2000000Pattern: ^[0-9]+$Investor's TON wallet address. Required for jetton campaigns — used
to resolve the investor's jetton wallet via get_wallet_address on
the jetton master. Ignored for native campaigns.
0:b0b07aede665f42d824411a1f3576afa5a1c74e79d4ec612ad09be355ccc62eaTON message query_id (uint64). Defaults to 0.
0Optional override for response_destination in the jetton-transfer
body. Defaults to investor_address if absent. Has no effect on
native campaigns.
Contribution link payload
true for native TON campaigns, false for jetton campaigns.
Address that the ton://transfer/ URI sends the message to (bounceable
mainnet form). For jetton campaigns this is the investor's jetton
wallet, not the campaign master.
Optional Telegram Mini-App deeplink that opens this campaign in the XDAO bot — bonus convenience for integrators.
Non-fatal signals. The transaction is still served. Known values:
whitelist_enforced_on_chain— campaign has a whitelist; on-chainthrowwill reject contributors not on it.amount_exceeds_remaining_hardcap—amount > hardCap - totalAmount.
Request is malformed. Error codes used by /contribution-link:
invalid_campaign_address— campaign path segment cannot be parsedinvalid_amount— amount is not a positive integer, or outside[minAmountPerUser, maxAmountPerUser]missing_investor_address— jetton campaign called withoutinvestor_addressinvalid_investor_address/invalid_response_address— address cannot be parsed
Token is missing, invalid, expired, or revoked.
Token does not have access to this DAO or endpoint.
Requested resource was not found.
Campaign is in a state that cannot accept contributions. Error codes:
campaign_paused— admin has paused the campaigncampaign_inactive—status != active(already successful, failed, or emergency-withdrawn)campaign_ended—end_timehas passed
Internal server error.
Upstream blockchain RPC failure. Error codes:
jetton_wallet_lookup_failed—get_wallet_addressagainst the jetton master failed (liteserver issue, contract not deployed, etc.)jetton_resolver_unavailable— the API instance was started without a liteclient and cannot serve jetton campaigns
DAO service token in Bearer format.
The token must be valid, not revoked, and authorized for the same dao_address as in path.
Crowdfunding master address. Any TON format is accepted (raw 0:hex,
EQ.../UQ.../kQ.../0Q..., base64-url or standard base64).
Investor wallet address claiming LP tokens. Any TON format is accepted
(raw 0:hex, EQ.../UQ.../kQ.../0Q..., base64-url or standard base64).
0:b0b07aede665f42d824411a1f3576afa5a1c74e79d4ec612ad09be355ccc62eaTON message query_id (uint64). Defaults to 0.
0Claim link payload
Ready-to-sign deeplink for an LP claim.
Which claim this link performs.
Bounceable mainnet form of the crowdfunding master address.
Non-fatal signals. The transaction is still served. Known values:
nothing_claimable_now— estimated claimable amount is 0 (e.g. before TGE or between linear ticks). Signing it will fail the vault'snothing_to_claimguard.
Request is malformed. Error codes used by /contribution-link:
invalid_campaign_address— campaign path segment cannot be parsedinvalid_amount— amount is not a positive integer, or outside[minAmountPerUser, maxAmountPerUser]missing_investor_address— jetton campaign called withoutinvestor_addressinvalid_investor_address/invalid_response_address— address cannot be parsed
Token is missing, invalid, expired, or revoked.
Token does not have access to this DAO or endpoint.
Requested resource was not found.
Campaign is in a state that cannot accept contributions. Error codes:
campaign_paused— admin has paused the campaigncampaign_inactive—status != active(already successful, failed, or emergency-withdrawn)campaign_ended—end_timehas passed
Internal server error.
DAO service token in Bearer format.
The token must be valid, not revoked, and authorized for the same dao_address as in path.
Crowdfunding master address. Any TON format is accepted (raw 0:hex,
EQ.../UQ.../kQ.../0Q..., base64-url or standard base64).
Investor wallet address claiming LP tokens. Any TON format is accepted
(raw 0:hex, EQ.../UQ.../kQ.../0Q..., base64-url or standard base64).
0:b0b07aede665f42d824411a1f3576afa5a1c74e79d4ec612ad09be355ccc62eaTON message query_id (uint64). Defaults to 0.
0Vesting claim link payload
Ready-to-sign deeplink for an LP claim.
Which claim this link performs.
Bounceable mainnet form of the crowdfunding master address.
Non-fatal signals. The transaction is still served. Known values:
nothing_claimable_now— estimated claimable amount is 0 (e.g. before TGE or between linear ticks). Signing it will fail the vault'snothing_to_claimguard.
Request is malformed. Error codes used by /contribution-link:
invalid_campaign_address— campaign path segment cannot be parsedinvalid_amount— amount is not a positive integer, or outside[minAmountPerUser, maxAmountPerUser]missing_investor_address— jetton campaign called withoutinvestor_addressinvalid_investor_address/invalid_response_address— address cannot be parsed
Token is missing, invalid, expired, or revoked.
Token does not have access to this DAO or endpoint.
Requested resource was not found.
Campaign is in a state that cannot accept contributions. Error codes:
campaign_paused— admin has paused the campaigncampaign_inactive—status != active(already successful, failed, or emergency-withdrawn)campaign_ended—end_timehas passed
Internal server error.
Last updated