platform: "four_meme" for four.meme launches and trades on BNB Chain.
Methods
| Type | Purpose |
|---|---|
create_with_image_url | Launch with a hosted image URL. |
create_with_image_blob | Launch with raw image bytes. |
create_with_image_url_and_transaction | Launch with a client-fetched four.meme transaction payload. |
buy | Buy an existing four.meme token. |
sell | Sell an existing four.meme token. |
Create fields
Shared fields:transaction_datalaunch_data
| Field | Type | Notes |
|---|---|---|
image_url or image_blob | string or number[] | Depends on the create variant. |
buy_config | BnbBuyConfig | Amounts can be sent as strings or numbers. |
gwei | number | string | Rounded to an integer gas price. |
fast_mode | boolean | Hint to route through the private proxy when available. |
quote_token | BNB | U | ASTER | USD1 | USDC | Defaults to BNB. |
is_meme_rush | boolean | Restricted access flow. |
BnbBuyConfig
Standard:
Example: create_with_image_url
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.
Buy
| Field | Type | Notes |
|---|---|---|
transaction_data | object | Shared request metadata. |
token | string | four.meme token address. |
to | string | null | Optional recipient; defaults to the payer wallet. |
buy_config | FourMemeBuyConfig | amap or amount. |
gwei | number | string | Gas price. |
fast_mode | boolean | Optional proxy hint. |
quote_token | token enum | Defaults to BNB. |
Sell
Example:Notes
is_meme_rushrequires additional access.- The socket may emit
four_meme_tokenresponses when four.meme access tokens are cached or refreshed for session wallets.