Register a launch
POST/launches/register
Adds the launches in a mined transaction to Bankr's index once the transaction has 5 confirmations, instead of waiting for Bankr's indexer, which waits for 20 on Base. The transaction must launch through Bankr's launch factory on chain, on any launchpad. Calling it again for the same transaction is safe.
You don't have to call it: Bankr's indexer finds every launch on every launchpad by itself. Registering only makes a launch appear sooner.
A registered launch is pending until the indexer confirms it at the chain's full depth. It stays hidden until then, and it is removed if the transaction is no longer in the chain at that depth. indexed means the indexer already has it.
No key needed. 30 requests per minute per IP.
SDK equivalent: client.index.register(txHash). With api set, client.launch() registers each launch for you.
Request
Responses
- 200
- 400
- 404
- 409
- 422
- 429
- 500
- 503
Each launch in the transaction.
A validation failure (details), or LAUNCH_PROVIDER_UNAVAILABLE: Bankr's launch contracts are not deployed on this chain.
TX_NOT_FOUND: no mined transaction with that hash on the chain.
NOT_CONFIRMED, with confirmations and requiredConfirmations: wait and retry. Or LAUNCH_CONFLICT: the launch's block changed since it was first recorded, and the indexer re-indexes it once the block is final.
Nothing to index: TX_REVERTED, NOT_A_LAUNCH (no launch from Bankr's launch factory on this chain) or INVALID_TOKEN_METADATA (a blank name or symbol).
Over the register limit, 30 requests per minute per IP. Wait the number of seconds in Retry-After, then retry; Bankr's indexer still picks the launch up.
Response Headers
Seconds until the limit resets.
Requests allowed per minute.
Requests left in this minute.
Seconds until the limit resets.
Something failed on Bankr's side. The body is a fixed message with no code; retry later.
Registration is busy. Retry in a minute; the indexer still picks the launch up.