Skip to main content

Send Outcome Action REST API Endpoint

Loading...

Updated on
May 19, 2026

Send 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.

This endpoint is not a drop-in replacement for Hyperliquid's native /exchange endpoint. See the Exchange API Overview for key differences.


Body Parameters

action
object
REQUIRED
Loading...
type
string
Loading...
splitOutcome
object
Loading...
mergeOutcome
object
Loading...
mergeQuestion
object
Loading...
negateOutcome
object
Loading...
nonce
integer
REQUIRED
Loading...
signature
object
REQUIRED
Loading...
r
string
Loading...
s
string
Loading...
v
integer
Loading...

Returns

success
boolean
Loading...
user
string
Loading...
exchangeResponse
object
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": "userOutcome",
6
"splitOutcome": {
7
"outcome": 1,
8
"amount": "10"
9
}
10
},
11
"nonce": 1234567890,
12
"signature": {
13
"r": "0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890ab",
14
"s": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef12",
15
"v": 28
16
}
17
}'
18
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": "userOutcome",
6
"splitOutcome": {
7
"outcome": 1,
8
"amount": "10"
9
}
10
},
11
"nonce": 1234567890,
12
"signature": {
13
"r": "0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890ab",
14
"s": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef12",
15
"v": 28
16
}
17
}'
18
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free