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
1curl 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": 1234514}15]16},17"nonce": 0,18"signature": {19"r": "0x...",20"s": "0x...",21"v": 2722}23},24"id": 125}'26
1curl 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": 1234514}15]16},17"nonce": 0,18"signature": {19"r": "0x...",20"s": "0x...",21"v": 2722}23},24"id": 125}'26
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free