trench.today API on Robinhood
trench.today is a meme-coin launchpad on the Robinhood network, one of the most active token factories on the chain. This guide shows how to track newly launched trench.today tokens, bonding-curve buys and sells, and live curve reserves with Bitquery GraphQL APIs, using the EVM(network: robinhood) Events cube.
To query or stream data outside the Bitquery IDE, you need an API access token.
Follow the steps here: How to generate Bitquery API token ➤
- Robinhood Trades API
- Robinhood Meme Coin Launches API
- Flap.sh API on Robinhood — another Robinhood launchpad
- Pons API on Robinhood
- Robinhood Transfers
- WebSocket subscriptions
trench.today contracts
All trench.today protocol events are emitted through a single factory proxy, which makes filtering simple: pin every query to one LogHeader.Address.
| Role | Address | Emits |
|---|---|---|
| Factory / curve engine (EIP-1967 proxy) | 0x77dc6f6361b7b99456fc3761ce5b7dda80d83f9d | TokenCreate, TokenPurchase, TokenSale, Sync |
| Implementation (behind the proxy) | 0x5d15bdd2a834c66149c38c5ae19c5f4b60cbc397 | Shown as Log.SmartContract in decoded events |
The four events cover the full bonding-curve lifecycle:
| Event | Meaning | Key arguments |
|---|---|---|
TokenCreate | New token launched | creator, curve, token, quote, name, symbol, timestamp, tokenURI |
TokenPurchase | Buy on the curve | token, buyer, amountOut, quoteAmountUsed, protocolFee, extraFee, extraFeeReceiver, extraFeeRate |
TokenSale | Sell on the curve | token, seller, amountIn, netQuoteOut, protocolFee, extraFee, extraFeeReceiver |
Sync | Post-trade curve reserves | token, realQuoteReserves, realTokenReserves, virtualQuote, virtualToken |
Event argument values (amountOut, quoteAmountUsed, reserves, fees) are the raw on-chain integers — divide by 1e18 for whole-token / native amounts. The quote argument of TokenCreate is the zero address, meaning the curve quotes in the chain's native token.
Newly launched tokens
Every launch emits a decoded TokenCreate event with the creator, the new token address, its bonding curve contract, and full metadata (name, symbol, tokenURI).
▶️ Run in IDE · WebSocket stream
{
EVM(network: robinhood) {
Events(
limit: {count: 20}
orderBy: {descending: Block_Time}
where: {
LogHeader: {Address: {is: "0x77dc6f6361b7b99456fc3761ce5b7dda80d83f9d"}}
Log: {Signature: {Name: {is: "TokenCreate"}}}
}
) {
Block {
Time
Number
}
Transaction {
Hash
From
}
Log {
Signature {
Name
}
SmartContract
}
Arguments {
Name
Value {
... on EVM_ABI_Address_Value_Arg {
address
}
... on EVM_ABI_String_Value_Arg {
string
}
... on EVM_ABI_BigInt_Value_Arg {
bigInteger
}
}
}
}
}
}
Change the operation type from a query to a subscription in the Bitquery IDE (and drop limit/orderBy) to receive every new trench.today launch in real time over WebSocket.
Token buys (TokenPurchase)
Each buy on the bonding curve emits TokenPurchase with the buyer, tokens received (amountOut), native spent (quoteAmountUsed), and the protocol fee.