Skip to main content

hl_sendCancel JSON-RPC Method

Loading...

Updated on
Feb 26, 2026

hl_sendCancel JSON-RPC Method

Parameters

action
object
REQUIRED
Loading...
type
string
Loading...
cancels
array
Loading...
a
integer
Loading...
o
integer
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_sendCancel",
7
"params": {
8
"action": {
9
"type": "cancel",
10
"cancels": [
11
{
12
"a": "BTC",
13
"o": 12345
14
}
15
]
16
},
17
"nonce": 0,
18
"signature": {
19
"r": "0x...",
20
"s": "0x...",
21
"v": 27
22
}
23
},
24
"id": 1
25
}'
26
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_sendCancel",
7
"params": {
8
"action": {
9
"type": "cancel",
10
"cancels": [
11
{
12
"a": "BTC",
13
"o": 12345
14
}
15
]
16
},
17
"nonce": 0,
18
"signature": {
19
"r": "0x...",
20
"s": "0x...",
21
"v": 27
22
}
23
},
24
"id": 1
25
}'
26
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free