Robinhood action reference
This page is generated from the plugin registry. Do not edit it by hand.
Read prices, positions and trading status for the tokenised equities on Robinhood Chain, and trade them against USDG, in share terms rather than raw token units
For guidance and examples see the Robinhood guide.
Set actionType in a node’s config to the action type shown under each heading. See the workflow definition page for the node format.
Read actions return the value under result: a single unnamed output is result, a named one is result.<name>, and several outputs are result.<name> each. Reference it as {{@nodeId:Label.result}}. Integer Solidity types are passed as decimal strings.
| Action | Action type |
|---|---|
| Get Stock Token Price | robinhood/get-stock-price |
| Get Stock Token Position | robinhood/get-stock-position |
| Trade Stock Token | robinhood/trade-stock-token |
| Stock Market Status | robinhood/stock-market-status |
Get Stock Token Price
Action type: robinhood/get-stock-price. Connection: not required.
Quote a stock token by ticker, resolved through the issuer’s asset registry rather than an address you paste: a symbol search on the chain explorer returns many lookalikes, several with more holders than the real token. Returns the issuer bid and ask for the underlying equity alongside the Chainlink token price where a feed exists, each with its own age, rather than reconciling them into one number
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 4663 | Network. | |
symbol | string | Yes | Ticker. |
Outputs
| Output | Description |
|---|---|
success | Whether the read succeeded |
symbol | The resolved ticker |
name | The asset’s display name |
tokenAddress | Token contract on chain 4663 |
currency | Currency of bid and ask |
quoteGeneratedAt | When the issuer produced the quote |
feedUpdatedAt | When Chainlink last updated, null when there is no feed |
bid | Issuer bid for the underlying equity. Not multiplier adjusted |
ask | Issuer ask for the underlying equity. Not multiplier adjusted |
quoteAgeSeconds | Age of the issuer quote. Grows without bound while the market is closed |
feedPrice | Chainlink token price, multiplier already applied. Null for the majority of tickers, which have no feed |
feedAgeSeconds | Age of the Chainlink answer, null when there is no feed |
feedBeyondHeartbeat | Whether the feed is older than its own published heartbeat, which is the only meaningful staleness test for it |
uiMultiplier | The token’s scaling factor, which is the difference between the two price conventions |
isTradingHalt | Issuer-reported trading halt |
oraclePaused | On-chain oracle pause flag |
tokenPaused | On-chain transfer pause flag |
paused | On-chain global pause flag |
error | Error message when the read failed |
Get Stock Token Position
Action type: robinhood/get-stock-position. Connection: not required.
Read a holder’s position in share terms and in raw on-chain units side by side. Reading balanceOf alone understates a position by the multiplier on any token that has been through a corporate action
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 4663 | Network. | |
symbol | string | Yes | Ticker. | ||
address | string | Yes | Holder Address. |
Outputs
| Output | Description |
|---|---|
success | Whether the read succeeded |
symbol | The resolved ticker |
tokenAddress | Token contract on chain 4663 |
address | The holder that was read |
quoteAgeSeconds | Age of the quote behind valueAtBid, null when absent |
shares | Share count. What the holder is shown and what the position is worth. Act on this |
rawBalance | Unscaled on-chain balance. What transfer moves and what a block explorer shows |
uiMultiplier | The factor between shares and rawBalance |
valueAtBid | shares multiplied by the issuer bid, null when no quote was available |
currency | Currency of valueAtBid |
error | Error message when the read failed |
Trade Stock Token
Action type: robinhood/trade-stock-token. Connection: not required.
Swap USDG into a tokenised equity or back out, through Uniswap v4. Takes an explicit pool key and a minimum output rather than choosing a route: this chain carries hundreds of pools per stock token at fee tiers reaching 95 percent, none distinguished on-chain, so any pool a heuristic would pick is one a griefer can aim at
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 4663 | Network. | |
symbol | string | Yes | Ticker. | ||
side | string | Yes | buy, sell | Side. | |
amountIn | string | Yes | Amount In. | ||
minAmountOut | string | Yes | Minimum Amount Out. | ||
poolFee | string | Yes | Pool Fee. | ||
poolTickSpacing | string | Yes | Pool Tick Spacing. | ||
poolHooks | string | No | Pool Hooks. | ||
deadlineSeconds | string | No | Deadline (seconds). |
Outputs
| Output | Description |
|---|---|
success | Whether the swap was broadcast |
transactionHash | The swap transaction hash |
chainId | Chain the swap was broadcast on |
symbol | The resolved ticker |
side | buy or sell |
amountIn | Amount spent, as supplied |
minAmountOut | The floor the router enforced, as supplied |
poolFee | Fee tier of the pool traded |
poolTickSpacing | Tick spacing of the pool traded |
error | Why the trade was refused or failed, including the Permit2 allowances to set when they are missing |
Stock Market Status
Action type: robinhood/stock-market-status. Connection: not required.
Guard for price-reactive workflows. Reports whether acting on this token’s price is currently sane, and names every reason it is not: halts, the three pause flags, stale quotes, feeds beyond their heartbeat, and pending corporate actions
Inputs
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
network | string | Yes | chain ids 4663 | Network. | |
symbol | string | Yes | Ticker. |
Outputs
| Output | Description |
|---|---|
success | Whether the read succeeded |
tradeable | True when nothing blocks acting on this token’s price. Branch on this |
blockedBy | Every reason tradeable is false, so a workflow can branch on cause rather than re-deriving it |
isTradingHalt | Issuer-reported trading halt |
paused | On-chain global pause flag |
tokenPaused | On-chain transfer pause flag |
oraclePaused | On-chain oracle pause flag |
quoteAgeSeconds | Age of the issuer quote, null when it carried no timestamp |
feedAgeSeconds | Age of the Chainlink answer, null when there is no feed |
feedBeyondHeartbeat | Whether the Chainlink feed is past its own heartbeat |
pendingMultiplier | Scheduled multiplier when a corporate action is pending, which gives advance warning before a split lands |
pendingEffectiveAt | When a pending corporate action takes effect |
error | Error message when the read failed |