Send Revoke REST API Endpoint
情報
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.
身体パラメータ
アクション
オブジェクト
必須
読み込み中...
タイプ
文字列
読み込み中...
maxFeeRate
文字列
読み込み中...
ノンス
整数
必須
読み込み中...
署名
オブジェクト
必須
読み込み中...
r
文字列
読み込み中...
s
文字列
読み込み中...
v
整数
読み込み中...
返品
revoked
ブール値
読み込み中...
builder
文字列
読み込み中...
ユーザー
文字列
読み込み中...
メッセージ
文字列
読み込み中...
exchangeResponse
オブジェクト
読み込み中...
リクエスト
1curl -s -X POST https://docs-demo.hype-mainnet.quiknode.pro/hypercore/exchange \2-H "Content-Type: application/json" \3-d '{4"action": {5"type": "approveBuilderFee",6"maxFeeRate": "0%"7},8"nonce": 1234567890,9"signature": {10"r": "0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890",11"s": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",12"v": 2813}14}'15
1curl -s -X POST https://docs-demo.hype-mainnet.quiknode.pro/hypercore/exchange \2-H "Content-Type: application/json" \3-d '{4"action": {5"type": "approveBuilderFee",6"maxFeeRate": "0%"7},8"nonce": 1234567890,9"signature": {10"r": "0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890",11"s": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",12"v": 2813}14}'15
1const axios = require('axios');23const data = {4action: {5type: "approveBuilderFee",6maxFeeRate: "0%"7},8nonce: 1234567890,9signature: {10r: "0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890",11s: "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",12v: 2813}14};1516axios.post('https://docs-demo.hype-mainnet.quiknode.pro/hypercore/exchange', data, {17headers: { 'Content-Type': 'application/json' }18})19.then(response => console.log(response.data))20.catch(error => console.error(error));21
1const axios = require('axios');23const data = {4action: {5type: "approveBuilderFee",6maxFeeRate: "0%"7},8nonce: 1234567890,9signature: {10r: "0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890",11s: "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",12v: 2813}14};1516axios.post('https://docs-demo.hype-mainnet.quiknode.pro/hypercore/exchange', data, {17headers: { 'Content-Type': 'application/json' }18})19.then(response => console.log(response.data))20.catch(error => console.error(error));21
1import リクエスト2import json34url = "https://docs-demo.hype-mainnet.quiknode.pro/hypercore/exchange"56ペイロード = json.dumps({7"action": {8"type": "approveBuilderFee",9"maxFeeRate": "0%"10},11"nonce": 1234567890,12"signature": {13"r": "0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890",14"s": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",15"v": 2816}17})1819ヘッダー = {20「Content-Type」: 'application/json'21}2223回答 = リクエスト.リクエスト("POST", url, headers=headers, データ=ペイロード)2425印刷(レスポンス.text)26
1import リクエスト2import json34url = "https://docs-demo.hype-mainnet.quiknode.pro/hypercore/exchange"56ペイロード = json.dumps({7"action": {8"type": "approveBuilderFee",9"maxFeeRate": "0%"10},11"nonce": 1234567890,12"signature": {13"r": "0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890",14"s": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",15"v": 2816}17})1819ヘッダー = {20「Content-Type」: 'application/json'21}2223回答 = リクエスト.リクエスト("POST", url, headers=headers, データ=ペイロード)2425印刷(レスポンス.text)26
1require "uri"2require "json"3require "net/http"45url = URI("https://docs-demo.hype-mainnet.quiknode.pro/hypercore/exchange")67https = ネット::HTTP.new(url.ホスト, url.ポート)8https.use_ssl = true910リクエスト = ネット::HTTP::POST.new(URL)11リクエスト["Content-Type"] = "application/json"12リクエスト.本文 = JSON.dump({13"action": {14"type": "approveBuilderFee",15"maxFeeRate": "0%"16},17"nonce": 1234567890,18"signature": {19"r": "0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890",20"s": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",21"v": 2822}23})2425回答 = https.リクエスト(リクエスト)26レスポンスを格納する.read_body27
1require "uri"2require "json"3require "net/http"45url = URI("https://docs-demo.hype-mainnet.quiknode.pro/hypercore/exchange")67https = ネット::HTTP.new(url.ホスト, url.ポート)8https.use_ssl = true910リクエスト = ネット::HTTP::POST.new(URL)11リクエスト["Content-Type"] = "application/json"12リクエスト.本文 = JSON.dump({13"action": {14"type": "approveBuilderFee",15"maxFeeRate": "0%"16},17"nonce": 1234567890,18"signature": {19"r": "0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890",20"s": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",21"v": 2822}23})2425回答 = https.リクエスト(リクエスト)26レスポンスを格納する.read_body27