diagram-projectDistribution

Endpoints for managing automatic tax distribution settings for your tokens.


GET /distribution/:tokenId/settings

Get distribution settings for a token.

Endpoint

GET https://api.vision.meme/distribution/:tokenId/settings

Authentication

Required - Must be token creator

Path Parameters

Parameter
Type
Description

tokenId

string

Token UUID or mint address

Request Example

bash

GET https://api.vision.meme/distribution/550e8400-e29b-41d4-a716-446655440000/settings

Response (200 OK)

json

{
  "rewardToken": "SOL",
  "distributionModel": "proportional",
  "minimumHoldingRequirement": "1000000",
  "percentageToSellPerDistribution": 25,
  "distributionEnabled": true,
  "distributionInterval": "15m",
  "burnPercent": 10,
  "developerFeePercent": 60,
  "developerWallet": "DevWallet1111111111111111111111111111111",
  "telegramGroupId": "-1001234567890"
}

Response Fields

Field
Type
Description

rewardToken

string

Token used for rewards ("SOL" or mint address)

distributionModel

string

Always "proportional"

minimumHoldingRequirement

string

Min tokens to receive rewards

percentageToSellPerDistribution

number

% of balance to sell per interval

distributionEnabled

boolean

Is distribution active?

distributionInterval

string

How often distributions occur

burnPercent

number

% of tax to burn (0-100)

developerFeePercent

number

Creator share % (0-100)

developerWallet

string

Creator wallet address

telegramGroupId

string

Telegram group for notifications

Code Example

javascript

Errors

403 Forbidden - Not token creator

json

404 Not Found - Token doesn't exist

json

Rate Limits

  • 100 requests per 15 minutes


PATCH /distribution/:tokenId/settings

Update distribution settings for a token.

Endpoint

Authentication

Required - Must be token creator

Path Parameters

Parameter
Type
Description

tokenId

string

Token UUID or mint address

Request Body

All fields are optional - only include fields you want to update.

Field
Type
Validation
Description

rewardToken

string

"SOL" or mint address

Token for rewards

minimumHoldingRequirement

string

Positive number

Min tokens for rewards

percentageToSellPerDistribution

number

1-100

% to sell per interval

distributionEnabled

boolean

true/false

Enable/disable distribution

telegramGroupId

string

Valid Telegram ID

Telegram notifications

distributionInterval

string

See valid intervals

How often to distribute

burnPercent

number

0-100

% of tax to burn

developerFeePercent

number

0-100

Creator share %

developerWallet

string

Valid Solana address

Creator wallet

Valid Distribution Intervals

  • 5m - Every 5 minutes

  • 10m - Every 10 minutes

  • 15m - Every 15 minutes

  • 30m - Every 30 minutes

  • 1h - Every hour

  • 6h - Every 6 hours

  • 12h - Every 12 hours

  • 24h - Every 24 hours (daily)

Request Example

json

Response (200 OK)

json

Code Examples

Update distribution interval:

javascript

Pause/resume distributions:

javascript

Update creator wallet:

javascript

Adjust burn and creator percentages:

javascript

Validation Errors

Invalid interval:

json

Invalid percentage:

json

Invalid wallet address:

json

Important Notes

  • Only token creator can update settings

  • Changes take effect at next distribution interval

  • Pausing distribution doesn't stop tax collection

  • Accumulated taxes will distribute when re-enabled

  • Cannot change transferFeePercent if set as non-adjustable

Rate Limits

  • 10 requests per hour


Distribution Settings Dashboard

Example component for managing distribution:

javascript


Common Use Cases

Optimizing for High Volume

When your token has high trading volume:

javascript

Optimizing for Low Volume

When your token has low trading volume:

javascript

Temporary Pause

Temporarily stop distributions (taxes still collect):

javascript

Increase Holder Rewards

Shift more rewards to holders:

javascript


Next Steps

  • Token Endpoints - Create and manage tokens

  • Burns - Track token burns

  • Code Examples - More examples


© 2025 Vision.meme. All rights reserved.

Last updated