Skip to main content
Use platform: "four_meme" for four.meme launches and trades on BNB Chain.

Methods

TypePurpose
create_with_image_urlLaunch with a hosted image URL.
create_with_image_blobLaunch with raw image bytes.
create_with_image_url_and_transactionLaunch with a client-fetched four.meme transaction payload.
buyBuy an existing four.meme token.
sellSell an existing four.meme token.

Create fields

Shared fields:
  • transaction_data
  • launch_data
Four.meme-specific fields:
FieldTypeNotes
image_url or image_blobstring or number[]Depends on the create variant.
buy_configBnbBuyConfigAmounts can be sent as strings or numbers.
gweinumber | stringRounded to an integer gas price.
fast_modebooleanHint to route through the private proxy when available.
quote_tokenBNB | U | ASTER | USD1 | USDCDefaults to BNB.
is_meme_rushbooleanRestricted access flow.

BnbBuyConfig

Standard:
{
  "type": "standard",
  "buy_amount": "10000000000000000"
}
Bundled:
{
  "type": "bundled",
  "buy_amount": "10000000000000000",
  "bundles": [
    {
      "pubkey": "0xBUNDLE_WALLET",
      "buy_amt": "5000000000000000",
      "delay": 0
    }
  ]
}

Example: create_with_image_url

{
  "platform": "four_meme",
  "type": "create_with_image_url",
  "transaction_data": {
    "rpcs": [],
    "identifier": "four_create_1",
    "priority_fee": 0,
    "payer_wallet": "0xYOUR_WALLET"
  },
  "launch_data": {
    "name": "Four Coin",
    "symbol": "FOUR",
    "description": "Example four.meme launch",
    "twitter": "https://x.com/example/status/1",
    "attached_referral": null,
    "website": "https://example.com",
    "generated": false,
    "multi_deploy_count": 1
  },
  "image_url": "https://example.com/image.png",
  "buy_config": {
    "type": "standard",
    "buy_amount": "10000000000000000"
  },
  "gwei": 1,
  "fast_mode": false,
  "quote_token": "BNB",
  "is_meme_rush": false
}

create_with_image_url_and_transaction

This variant is for clients that already fetched the four.meme create payload themselves. The nested transaction_payload uses camelCase keys because it mirrors the upstream four.meme API response.
{
  "platform": "four_meme",
  "type": "create_with_image_url_and_transaction",
  "transaction_data": {
    "rpcs": [],
    "identifier": "four_prefetched_1",
    "priority_fee": 0,
    "payer_wallet": "0xYOUR_WALLET"
  },
  "launch_data": {
    "name": "Four Coin",
    "symbol": "FOUR",
    "description": "Example four.meme launch",
    "twitter": "https://x.com/example/status/1",
    "attached_referral": null,
    "website": null,
    "generated": false,
    "multi_deploy_count": 1
  },
  "image_url": "https://static.four.meme/example.png",
  "transaction_payload": {
    "createArg": "0x...",
    "signature": "0x...",
    "symbolAddress": "0xTOKEN"
  },
  "buy_config": {
    "type": "standard",
    "buy_amount": "10000000000000000"
  },
  "gwei": 1,
  "fast_mode": false,
  "quote_token": "BNB",
  "is_meme_rush": false
}

Buy

FieldTypeNotes
transaction_dataobjectShared request metadata.
tokenstringfour.meme token address.
tostring | nullOptional recipient; defaults to the payer wallet.
buy_configFourMemeBuyConfigamap or amount.
gweinumber | stringGas price.
fast_modebooleanOptional proxy hint.
quote_tokentoken enumDefaults to BNB.
Example:
{
  "platform": "four_meme",
  "type": "buy",
  "transaction_data": {
    "rpcs": [],
    "identifier": "four_buy_1",
    "priority_fee": 0,
    "payer_wallet": "0xYOUR_WALLET"
  },
  "token": "0xTOKEN",
  "to": "0xRECIPIENT",
  "buy_config": {
    "type": "amap",
    "funds": "10000000000000000",
    "min_amount": "0"
  },
  "gwei": 1,
  "fast_mode": false,
  "quote_token": "BNB"
}

Sell

Example:
{
  "platform": "four_meme",
  "type": "sell",
  "transaction_data": {
    "rpcs": [],
    "identifier": "four_sell_1",
    "priority_fee": 0,
    "payer_wallet": "0xYOUR_WALLET"
  },
  "token": "0xTOKEN",
  "sell_config": {
    "type": "amount",
    "amount": "1000000000000000000",
    "min_funds": "0"
  },
  "gwei": 1,
  "fast_mode": false,
  "quote_token": "BNB"
}

Notes

  • is_meme_rush requires additional access.
  • The socket may emit four_meme_token responses when four.meme access tokens are cached or refreshed for session wallets.