/wallet/createaccount RPC Method
身体パラメータ
owner_address
文字列
必須
読み込み中...
account_address
文字列
必須
読み込み中...
表示されている
ブール値
読み込み中...
permission_id
整数
読み込み中...
返品
表示されている
読み込み中...
txID
読み込み中...
raw_data
読み込み中...
契約
読み込み中...
parameter
読み込み中...
値
読み込み中...
owner_address
読み込み中...
account_address
読み込み中...
type_url
読み込み中...
タイプ
読み込み中...
ref_block_bytes
読み込み中...
ref_block_hash
読み込み中...
expiration
読み込み中...
タイムスタンプ
読み込み中...
raw_data_hex
読み込み中...
リクエスト
1curl --location 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/createaccount' \2--ヘッダー 'Content-Type: application/json' \3--data '{4"owner_address": "TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g",5"account_address": "TFgY1uN8buRxAtV2r6Zy5sG3ACko6pJT1y",6"visible": true7}'
1curl --location 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/createaccount' \2--ヘッダー 'Content-Type: application/json' \3--data '{4"owner_address": "TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g",5"account_address": "TFgY1uN8buRxAtV2r6Zy5sG3ACko6pJT1y",6"visible": true7}'
1var myHeaders = new Headers();2myHeaders.append("Content-Type", "application/json");34var raw = JSON.stringify({5"owner_address": "TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g",6"account_address": "TFgY1uN8buRxAtV2r6Zy5sG3ACko6pJT1y",7"visible": true8});910var requestOptions = {11メソッド: 'POST',12ヘッダー: myHeaders,13本文: raw,14リダイレクト: 'follow'15};1617fetch("https://docs-demo.tron-mainnet.quiknode.pro/wallet/createaccount", requestOptions)18.その後(レスポンス => レスポンス.text())19.その後(結果 => コンソール.log(result))20.catchcatch(エラー => console.log('error', error));
1var myHeaders = new Headers();2myHeaders.append("Content-Type", "application/json");34var raw = JSON.stringify({5"owner_address": "TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g",6"account_address": "TFgY1uN8buRxAtV2r6Zy5sG3ACko6pJT1y",7"visible": true8});910var requestOptions = {11メソッド: 'POST',12ヘッダー: myHeaders,13本文: raw,14リダイレクト: 'follow'15};1617fetch("https://docs-demo.tron-mainnet.quiknode.pro/wallet/createaccount", requestOptions)18.その後(レスポンス => レスポンス.text())19.その後(結果 => コンソール.log(result))20.catchcatch(エラー => console.log('error', error));
1import リクエスト2import json34url = "https://docs-demo.tron-mainnet.quiknode.pro/wallet/createaccount"56ペイロード = json.dumps({7"owner_address": "TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g",8"account_address": "TFgY1uN8buRxAtV2r6Zy5sG3ACko6pJT1y",9"visible": True10})11ヘッダー = {12「Content-Type」: 'application/json'13}1415回答 = リクエスト.リクエスト("POST", url, headers=headers, データ=ペイロード)1617印刷(レスポンス.text)
1import リクエスト2import json34url = "https://docs-demo.tron-mainnet.quiknode.pro/wallet/createaccount"56ペイロード = json.dumps({7"owner_address": "TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g",8"account_address": "TFgY1uN8buRxAtV2r6Zy5sG3ACko6pJT1y",9"visible": True10})11ヘッダー = {12「Content-Type」: 'application/json'13}1415回答 = リクエスト.リクエスト("POST", url, headers=headers, データ=ペイロード)1617印刷(レスポンス.text)
1require "uri"2require "json"3require "net/http"45url = URI("https://docs-demo.tron-mainnet.quiknode.pro/wallet/createaccount")67https = ネット::HTTP.new(url.ホスト, url.ポート)8https.use_ssl = true910リクエスト = ネット::HTTP::POST.new(URL)11リクエスト["Content-Type"] = "application/json"12リクエスト.本文 = JSON.dump({13"owner_address": "TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g",14"account_address": "TFgY1uN8buRxAtV2r6Zy5sG3ACko6pJT1y",15"visible": true16})1718回答 = https.リクエスト(リクエスト)19レスポンスを格納する.read_body
1require "uri"2require "json"3require "net/http"45url = URI("https://docs-demo.tron-mainnet.quiknode.pro/wallet/createaccount")67https = ネット::HTTP.new(url.ホスト, url.ポート)8https.use_ssl = true910リクエスト = ネット::HTTP::POST.new(URL)11リクエスト["Content-Type"] = "application/json"12リクエスト.本文 = JSON.dump({13"owner_address": "TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g",14"account_address": "TFgY1uN8buRxAtV2r6Zy5sG3ACko6pJT1y",15"visible": true16})1718回答 = https.リクエスト(リクエスト)19レスポンスを格納する.read_body