/wallet/listproposals REST API Endpoint
參數
此方法不接受任何參數
退貨
proposals
載入中...
proposal_id
載入中...
提案者_地址
載入中...
parameters
載入中...
關鍵字
載入中...
值
載入中...
expiration_time
載入中...
create_time
載入中...
approvals
載入中...
state
載入中...
請求
1curl https://docs-demo.tron-mainnet.quiknode.pro/wallet/listproposals \2--request GET \3--header 'accept: application/json'
1curl https://docs-demo.tron-mainnet.quiknode.pro/wallet/listproposals \2--request GET \3--header 'accept: application/json'
1const url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/listproposals';23取得(url, {4method: 'GET',5headers: {6'accept': 'application/json'7}8})9.接著(回應 => response.json())10.then(data => console.log(data))11.catch(error => console.error(error));12
1const url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/listproposals';23取得(url, {4method: 'GET',5headers: {6'accept': 'application/json'7}8})9.接著(回應 => response.json())10.then(data => console.log(data))11.catch(error => console.error(error));12
1匯入 請求23url = "https://docs-demo.tron-mainnet.quiknode.pro/wallet/listproposals"45標題 = {6'accept': 'application/json'7}89response = requests.get(url, headers=headers)10print(response.json())11
1匯入 請求23url = "https://docs-demo.tron-mainnet.quiknode.pro/wallet/listproposals"45標題 = {6'accept': 'application/json'7}89response = requests.get(url, headers=headers)10print(response.json())11
1需要 "uri"2需要 "net/http"34url = URI("https://docs-demo.tron-mainnet.quiknode.pro/wallet/listproposals")56標題 = {7'accept' => 'application/json'8}910http = Net::HTTP.new(url.host, url.port)11http.use_ssl = true1213request = Net::HTTP::Get.new(url.path, headers)1415回應 = http.請求(請求)16將回應。正文
1需要 "uri"2需要 "net/http"34url = URI("https://docs-demo.tron-mainnet.quiknode.pro/wallet/listproposals")56標題 = {7'accept' => 'application/json'8}910http = Net::HTTP.new(url.host, url.port)11http.use_ssl = true1213request = Net::HTTP::Get.new(url.path, headers)1415回應 = http.請求(請求)16將回應。正文