/peggy/v1/batch REST API Endpoint
쿼리 매개변수
논스
문자열
로딩 중...
contract_address
문자열
로딩 중...
반품
batch
객체
로딩 중...
batch_nonce
문자열
로딩 중...
batch_timeout
문자열
로딩 중...
거래
배열
로딩 중...
id
문자열
로딩 중...
sender
문자열
로딩 중...
dest_address
문자열
로딩 중...
erc20_token
객체
로딩 중...
계약
문자열
로딩 중...
금액
문자열
로딩 중...
erc20_fee
객체
로딩 중...
계약
문자열
로딩 중...
금액
문자열
로딩 중...
token_contract
문자열
로딩 중...
블록
문자열
로딩 중...
요청
1curl -X GET "https://docs-demo.injective-testnet.quiknode.pro/peggy/v1/batch?nonce={NONCE_VALUE}&contract_address={ETH_CONTRACT_ADDRESS}" \2-H "accept: application/json"
1curl -X GET "https://docs-demo.injective-testnet.quiknode.pro/peggy/v1/batch?nonce={NONCE_VALUE}&contract_address={ETH_CONTRACT_ADDRESS}" \2-H "accept: application/json"
1const myHeaders = new Headers();2myHeaders.append("accept", "application/json");34const requestOptions = {5메서드: "GET",6헤더: myHeaders,7리디렉션: "팔로우"8};910fetch("https://docs-demo.injective-testnet.quiknode.pro/peggy/v1/batch?nonce={NONCE_VALUE}&contract_address={ETH_CONTRACT_ADDRESS}", requestOptions)11.그런 다음((응답) => 응답.text())12.그런 다음((결과) => console.log(result))13.catchcatch ((오류) => console.오류(오류));
1const myHeaders = new Headers();2myHeaders.append("accept", "application/json");34const requestOptions = {5메서드: "GET",6헤더: myHeaders,7리디렉션: "팔로우"8};910fetch("https://docs-demo.injective-testnet.quiknode.pro/peggy/v1/batch?nonce={NONCE_VALUE}&contract_address={ETH_CONTRACT_ADDRESS}", requestOptions)11.그런 다음((응답) => 응답.text())12.그런 다음((결과) => console.log(result))13.catchcatch ((오류) => console.오류(오류));
1import 요청23url = "https://docs-demo.injective-testnet.quiknode.pro/peggy/v1/batch?nonce={NONCE_VALUE}&contract_address={ETH_CONTRACT_ADDRESS}"45페이로드 = {}6헤더 = {7'accept': 'application/json'8}910답변 = 요청.요청("GET", url, 헤더=헤더, data=페이로드)1112인쇄(응답.text)
1import 요청23url = "https://docs-demo.injective-testnet.quiknode.pro/peggy/v1/batch?nonce={NONCE_VALUE}&contract_address={ETH_CONTRACT_ADDRESS}"45페이로드 = {}6헤더 = {7'accept': 'application/json'8}910답변 = 요청.요청("GET", url, 헤더=헤더, data=페이로드)1112인쇄(응답.text)
1require "uri"2require "net/http"34url = URI("https://docs-demo.injective-testnet.quiknode.pro/peggy/v1/batch?nonce={NONCE_VALUE}&contract_address={ETH_CONTRACT_ADDRESS}")56https = Net::HTTP.new(url.호스트, url.포트)7https.use_ssl = true89요청 = 순::HTTP::Get.new(url)10request["accept"] = "application/json"1112답변 = https.요청(요청)13응답을 반환합니다.read_body
1require "uri"2require "net/http"34url = URI("https://docs-demo.injective-testnet.quiknode.pro/peggy/v1/batch?nonce={NONCE_VALUE}&contract_address={ETH_CONTRACT_ADDRESS}")56https = Net::HTTP.new(url.호스트, url.포트)7https.use_ssl = true89요청 = 순::HTTP::Get.new(url)10request["accept"] = "application/json"1112답변 = https.요청(요청)13응답을 반환합니다.read_body