/wallet/triggersmartcontract REST API Endpoint
Body Parameters
owner_address
string
REQUIRED
Loading...
contract_address
string
REQUIRED
Loading...
function_selector
string
REQUIRED
Loading...
parameter
string
REQUIRED
Loading...
fee_limit
integer
REQUIRED
Loading...
call_value
integer
REQUIRED
Loading...
permission_id
integer
Loading...
visible
boolean
Loading...
Returns
result
Loading...
result
Loading...
code
Loading...
message
Loading...
energy_used
Loading...
constant_result
Loading...
transaction
Loading...
visible
Loading...
txid
Loading...
raw_data
Loading...
contract
Loading...
parameter
Loading...
value
Loading...
call_value
Loading...
owner_address
Loading...
contract_address
Loading...
data
Loading...
call_token_value
Loading...
token_id
Loading...
type_url
Loading...
type
Loading...
ref_block_bytes
Loading...
ref_block_hash
Loading...
expiration
Loading...
timestamp
Loading...
raw_data_hex
Loading...
Request
1curl https://docs-demo.tron-mainnet.quiknode.pro/wallet/triggersmartcontract \2--header 'accept: application/json' \3--header 'content-type: application/json' \4--data '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--header 'content-type: application/json' \4--data '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', {2method: 'POST',3headers: {4'Accept': '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.then(response => response.json())18.then(data => {19// Handle the response data here20console.log(data);21})22.catch(error => {23// Handle any errors here24console.error(error);25});26
1fetch('https://docs-demo.tron-mainnet.quiknode.pro/wallet/triggersmartcontract', {2method: 'POST',3headers: {4'Accept': '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.then(response => response.json())18.then(data => {19// Handle the response data here20console.log(data);21})22.catch(error => {23// Handle any errors here24console.error(error);25});26
1import requests2import json34url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/triggersmartcontract'5headers = {6'Accept': 'application/json',7'Content-Type': 'application/json'8}9data = {10'owner_address': 'TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g',11'contract_address': 'TG3XXyExBkPp9nzdajDZsozEu4BkaSJozs',12'function_selector': 'transfer(address,uint256)',13'parameter': '00000000000000000000004115208EF33A926919ED270E2FA61367B2DA3753DA0000000000000000000000000000000000000000000000000000000000000032',14'fee_limit': 1000000000,15'call16
1import requests2import json34url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/triggersmartcontract'5headers = {6'Accept': 'application/json',7'Content-Type': 'application/json'8}9data = {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.host, url.port)6http.use_ssl = true78request = Net::HTTP::Post.new(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,18visible: true19}.to_json2021response = http.request(request)2223if response.code.to_i == 20024data = JSON.parse(response.body)25# Handle the response data here26puts data27else28# Handle the error here29puts "Error: #{response.code} #{response.message}"30end31
1require 'net/http'2require 'json'34url = URI('https://docs-demo.tron-mainnet.quiknode.pro/wallet/triggersmartcontract')5http = Net::HTTP.new(url.host, url.port)6http.use_ssl = true78request = Net::HTTP::Post.new(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,18visible: true19}.to_json2021response = http.request(request)2223if response.code.to_i == 20024data = JSON.parse(response.body)25# Handle the response data here26puts data27else28# Handle the error here29puts "Error: #{response.code} #{response.message}"30end31
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free