/wallet/triggersmartcontract REST API Endpoint
신체 측정값
소유자 주소
문자열
필수
로딩 중...
contract_address
문자열
필수
로딩 중...
함수 선택자
문자열
필수
로딩 중...
매개변수
문자열
필수
로딩 중...
수수료 한도
정수
필수
로딩 중...
call_value
정수
필수
로딩 중...
permission_id
정수
로딩 중...
보이는
부울
로딩 중...
반품
결과
로딩 중...
결과
로딩 중...
코드
로딩 중...
메시지
로딩 중...
에너지_사용량
로딩 중...
constant_result
로딩 중...
거래
로딩 중...
보이는
로딩 중...
txid
로딩 중...
원시 데이터
로딩 중...
계약
로딩 중...
매개변수
로딩 중...
값
로딩 중...
call_value
로딩 중...
소유자 주소
로딩 중...
contract_address
로딩 중...
데이터
로딩 중...
call_token_value
로딩 중...
token_id
로딩 중...
type_url
로딩 중...
유형
로딩 중...
ref_block_bytes
로딩 중...
ref_block_hash
로딩 중...
만료
로딩 중...
타임스탬프
로딩 중...
raw_data_hex
로딩 중...
요청
1curl https://docs-demo.tron-mainnet.quiknode.pro/wallet/triggersmartcontract \2--header 'accept: application/json' \3--헤더 'content-type: application/json' \4--데이터 '5{6"owner_address": "TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g",7"contract_address": "TG3XXyExBkPp9nzdajDZsozEu4BkaSJozs",8"function_selector": "transfer(address,uint256)",9"parameter": "00000000000000000000004115208EF33A926919ED270E2FA61367B2DA3753DA0000000000000000000000000000000000000000000000000000000000000032",10"fee_limit": 1000000000,11"call_value": 0,12"visible": true13}14'
1curl https://docs-demo.tron-mainnet.quiknode.pro/wallet/triggersmartcontract \2--header 'accept: application/json' \3--헤더 'content-type: application/json' \4--데이터 '5{6"owner_address": "TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g",7"contract_address": "TG3XXyExBkPp9nzdajDZsozEu4BkaSJozs",8"function_selector": "transfer(address,uint256)",9"parameter": "00000000000000000000004115208EF33A926919ED270E2FA61367B2DA3753DA0000000000000000000000000000000000000000000000000000000000000032",10"fee_limit": 1000000000,11"call_value": 0,12"visible": true13}14'
1fetch('https://docs-demo.tron-mainnet.quiknode.pro/wallet/triggersmartcontract', {2메서드: 'POST',3headers: {4'수락': 'application/json',5'Content-Type': 'application/json'6},7body: JSON.stringify({8owner_address: 'TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g',9contract_address: 'TG3XXyExBkPp9nzdajDZsozEu4BkaSJozs',10function_selector: 'transfer(address,uint256)',11parameter: '00000000000000000000004115208EF33A926919ED270E2FA61367B2DA3753DA0000000000000000000000000000000000000000000000000000000000000032',12fee_limit: 1000000000,13call_value: 0,14visible: true15})16})17.그런 다음(응답 => 응답.json())18.그런 다음(데이터 => {19// Handle the response data here20콘솔.log(데이터);21})22.catchcatch (오류 => {23// Handle any errors here24콘솔.오류(오류);25});26
1fetch('https://docs-demo.tron-mainnet.quiknode.pro/wallet/triggersmartcontract', {2메서드: 'POST',3headers: {4'수락': 'application/json',5'Content-Type': 'application/json'6},7body: JSON.stringify({8owner_address: 'TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g',9contract_address: 'TG3XXyExBkPp9nzdajDZsozEu4BkaSJozs',10function_selector: 'transfer(address,uint256)',11parameter: '00000000000000000000004115208EF33A926919ED270E2FA61367B2DA3753DA0000000000000000000000000000000000000000000000000000000000000032',12fee_limit: 1000000000,13call_value: 0,14visible: true15})16})17.그런 다음(응답 => 응답.json())18.그런 다음(데이터 => {19// Handle the response data here20콘솔.log(데이터);21})22.catchcatch (오류 => {23// Handle any errors here24콘솔.오류(오류);25});26
1import 요청2import json34url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/triggersmartcontract'5헤더 = {6'수락': 'application/json',7'Content-Type': 'application/json'8}9데이터 = {10'owner_address': 'TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g',11'contract_address': 'TG3XXyExBkPp9nzdajDZsozEu4BkaSJozs',12'function_selector': 'transfer(address,uint256)',13'parameter': '00000000000000000000004115208EF33A926919ED270E2FA61367B2DA3753DA0000000000000000000000000000000000000000000000000000000000000032',14'fee_limit': 1000000000,15'call16
1import 요청2import json34url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/triggersmartcontract'5헤더 = {6'수락': 'application/json',7'Content-Type': 'application/json'8}9데이터 = {10'owner_address': 'TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g',11'contract_address': 'TG3XXyExBkPp9nzdajDZsozEu4BkaSJozs',12'function_selector': 'transfer(address,uint256)',13'parameter': '00000000000000000000004115208EF33A926919ED270E2FA61367B2DA3753DA0000000000000000000000000000000000000000000000000000000000000032',14'fee_limit': 1000000000,15'call16
1require 'net/http'2require 'json'34url = URI('https://docs-demo.tron-mainnet.quiknode.pro/wallet/triggersmartcontract')5http = Net::HTTP.new(url.호스트, url.포트)6http.use_ssl = true78요청 = 순::HTTP::POST.새(URL)9request['Accept'] = 'application/json'10request['Content-Type'] = 'application/json'11request.body = {12owner_address: 'TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g',13contract_address: 'TG3XXyExBkPp9nzdajDZsozEu4BkaSJozs',14function_selector: 'transfer(address,uint256)',15parameter: '00000000000000000000004115208EF33A926919ED270E2FA61367B2DA3753DA0000000000000000000000000000000000000000000000000000000000000032',16fee_limit: 1000000000,17call_value: 0,18표시됨: true19}.to_json2021답변 = http.요청(요청)2223만약 응답.코드.to_i == 20024data = JSON.parse(response.body)25# Handle the response data here26puts data27else28# Handle the error here29puts "Error: #{response.code} #{response.message}"30끝31
1require 'net/http'2require 'json'34url = URI('https://docs-demo.tron-mainnet.quiknode.pro/wallet/triggersmartcontract')5http = Net::HTTP.new(url.호스트, url.포트)6http.use_ssl = true78요청 = 순::HTTP::POST.새(URL)9request['Accept'] = 'application/json'10request['Content-Type'] = 'application/json'11request.body = {12owner_address: 'TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g',13contract_address: 'TG3XXyExBkPp9nzdajDZsozEu4BkaSJozs',14function_selector: 'transfer(address,uint256)',15parameter: '00000000000000000000004115208EF33A926919ED270E2FA61367B2DA3753DA0000000000000000000000000000000000000000000000000000000000000032',16fee_limit: 1000000000,17call_value: 0,18표시됨: true19}.to_json2021답변 = http.요청(요청)2223만약 응답.코드.to_i == 20024data = JSON.parse(response.body)25# Handle the response data here26puts data27else28# Handle the error here29puts "Error: #{response.code} #{response.message}"30끝31