liquidatable Info Endpoint Method
Parameters
type
string
REQUIRED
Loading...
user
string
REQUIRED
Loading...
Returns
array
array
Loading...
object
object
Loading...
liquidatable
boolean
Loading...
leverage
string
Loading...
marginUsed
string
Loading...
marginRemaining
string
Loading...
accountValue
string
Loading...
totalRawUsd
string
Loading...
totalNtlPos
string
Loading...
Request
1curl https://docs-demo.hype-mainnet.quiknode.pro/evm \2-X POST \3-H "Content-Type: application/json" \4--data '{"type":"liquidatable", "user": "0x31ca8395cf837de08b24da3f660e77761dfb974b"}'5
1curl https://docs-demo.hype-mainnet.quiknode.pro/evm \2-X POST \3-H "Content-Type: application/json" \4--data '{"type":"liquidatable", "user": "0x31ca8395cf837de08b24da3f660e77761dfb974b"}'5
1var myHeaders = new Headers();2myHeaders.append("Content-Type", "application/json");34var raw = JSON.stringify({5"type": "liquidatable",6"user": "0x31ca8395cf837de08b24da3f660e77761dfb974b"7});89var requestOptions = {10method: 'POST',11headers: myHeaders,12body: raw,13redirect: 'follow'14};1516fetch("https://docs-demo.hype-mainnet.quiknode.pro/evm", requestOptions)17.then(response => response.text())18.then(result => console.log(result))19.catch(error => console.log('error', error));20
1var myHeaders = new Headers();2myHeaders.append("Content-Type", "application/json");34var raw = JSON.stringify({5"type": "liquidatable",6"user": "0x31ca8395cf837de08b24da3f660e77761dfb974b"7});89var requestOptions = {10method: 'POST',11headers: myHeaders,12body: raw,13redirect: 'follow'14};1516fetch("https://docs-demo.hype-mainnet.quiknode.pro/evm", requestOptions)17.then(response => response.text())18.then(result => console.log(result))19.catch(error => console.log('error', error));20
1import requests2import json34url = "https://docs-demo.hype-mainnet.quiknode.pro/evm"56payload = json.dumps({7"type": "liquidatable",8"user": "0x31ca8395cf837de08b24da3f660e77761dfb974b"9})10headers = {11'Content-Type': 'application/json'12}1314response = requests.request("POST", url, headers=headers, data=payload)1516print(response.text)17
1import requests2import json34url = "https://docs-demo.hype-mainnet.quiknode.pro/evm"56payload = json.dumps({7"type": "liquidatable",8"user": "0x31ca8395cf837de08b24da3f660e77761dfb974b"9})10headers = {11'Content-Type': 'application/json'12}1314response = requests.request("POST", url, headers=headers, data=payload)1516print(response.text)17
1require "uri"2require "json"3require "net/http"45url = URI("https://docs-demo.hype-mainnet.quiknode.pro/evm")67https = Net::HTTP.new(url.host, url.port)8https.use_ssl = true910request = Net::HTTP::Post.new(url)11request["Content-Type"] = "application/json"12request.body = JSON.dump({13"type": "liquidatable",14"user": "0x31ca8395cf837de08b24da3f660e77761dfb974b"15})1617response = https.request(request)18puts response.read_body19
1require "uri"2require "json"3require "net/http"45url = URI("https://docs-demo.hype-mainnet.quiknode.pro/evm")67https = Net::HTTP.new(url.host, url.port)8https.use_ssl = true910request = Net::HTTP::Post.new(url)11request["Content-Type"] = "application/json"12request.body = JSON.dump({13"type": "liquidatable",14"user": "0x31ca8395cf837de08b24da3f660e77761dfb974b"15})1617response = https.request(request)18puts response.read_body19
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free