Skip to main content

Build Outcome Action REST API Endpoint

Loading...

Updated on
May 19, 2026

Build Outcome Action REST API Endpoint

info

Exchange API calls do not consume Quicknode API credits. Transactions through this endpoint are appended with a builder fee. See hyperliquidapi.com for a full breakdown. To white-label with your own builder code, contact us.


Body Parameters

action
object
REQUIRED
Loading...
type
string
Loading...
outcome
integer
Loading...
question
integer
Loading...
amount
string
Loading...

Returns

hash
string
Loading...
nonce
integer
Loading...
action
object
Loading...
type
string
Loading...
splitOutcome
object
Loading...
mergeOutcome
object
Loading...
mergeQuestion
object
Loading...
negateOutcome
object
Loading...
actionType
string
Loading...
nextStep
string
Loading...
Request
1
curl -s -X POST https://docs-demo.hype-mainnet.quiknode.pro/hypercore/exchange \
2
-H "Content-Type: application/json" \
3
-d '{
4
"action": {
5
"type": "outcomeSplit",
6
"outcome": 1,
7
"amount": "10"
8
}
9
}'
10
1
curl -s -X POST https://docs-demo.hype-mainnet.quiknode.pro/hypercore/exchange \
2
-H "Content-Type: application/json" \
3
-d '{
4
"action": {
5
"type": "outcomeSplit",
6
"outcome": 1,
7
"amount": "10"
8
}
9
}'
10
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free