Skip to main content

hl_sendModify JSON-RPC Method

Loading...

Updated on
Feb 26, 2026

hl_sendModify JSON-RPC Method

Parameters

action
object
REQUIRED
Loading...
type
string
Loading...
modifies
array
Loading...
oid
integer
Loading...
order
object
Loading...
a
integer
Loading...
b
boolean
Loading...
p
string
Loading...
s
string
Loading...
r
boolean
Loading...
t
object
Loading...
nonce
integer
REQUIRED
Loading...
signature
object
REQUIRED
Loading...
r
string
Loading...
s
string
Loading...
v
integer
Loading...
vaultAddress
string
Loading...
expiresAfter
integer
Loading...

Returns

result
object
Loading...
success
boolean
Loading...
user
string
Loading...
exchangeResponse
object
Loading...
Request
1
curl https://docs-demo.hype-mainnet.quiknode.pro/evm \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{
5
"jsonrpc": "2.0",
6
"method": "hl_sendModify",
7
"params": {
8
"action": {
9
"type": "batchModify",
10
"modifies": [
11
{
12
"oid": 12345,
13
"order": {
14
"a": "BTC",
15
"b": true,
16
"p": "100001",
17
"s": "0.001",
18
"r": false,
19
"t": {
20
"limit": {
21
"tif": "Gtc"
22
}
23
}
24
}
25
}
26
]
27
},
28
"nonce": 0,
29
"signature": {
30
"r": "0x...",
31
"s": "0x...",
32
"v": 27
33
}
34
},
35
"id": 1
36
}'
37
1
curl https://docs-demo.hype-mainnet.quiknode.pro/evm \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{
5
"jsonrpc": "2.0",
6
"method": "hl_sendModify",
7
"params": {
8
"action": {
9
"type": "batchModify",
10
"modifies": [
11
{
12
"oid": 12345,
13
"order": {
14
"a": "BTC",
15
"b": true,
16
"p": "100001",
17
"s": "0.001",
18
"r": false,
19
"t": {
20
"limit": {
21
"tif": "Gtc"
22
}
23
}
24
}
25
}
26
]
27
},
28
"nonce": 0,
29
"signature": {
30
"r": "0x...",
31
"s": "0x...",
32
"v": 27
33
}
34
},
35
"id": 1
36
}'
37
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free