Corporate actions
All 13 action types, their typed details, and the lifecycle stages nobody else emits.
The taxonomy
Robinhood publishes 13 corporate-action types. Each action carries a details object containing exactly one key, matching its declared type. All rate fields are decimal strings.
Lifecycle stages
Robinhood's REST endpoint gives you the action. It does not give you the lifecycle — when the contract will pause, how long until the multiplier takes effect, or a stream to subscribe to. We reconstruct that by joining /corporate-actions against /assets and the onchain UIMultiplierUpdated events.
Subscribe
for await (const event of client.corporateActions.stream({ stages: ["PAUSE_SCHEDULED", "MULTIPLIER_PENDING"], replayInProgress: true, // don't miss a window already scheduled})) { console.log( event.tokenSymbol, event.type, `effective in ${event.secondsUntilEffective}s`, );}Correctness
Where Robinhood's REST data and onchain state disagree about a multiplier, onchain wins and we log the divergence. Small updates apply immediately and automatically; large ones require a pause window and manual confirmation. Treating both the same way will surprise you during a split.