/wallet/createaccount RPC Method
신체 매개변수
owner_address
문자열
필수
로딩 중...
account_address
문자열
필수
로딩 중...
visible
부울
로딩 중...
permission_id
정수
로딩 중...
반품
visible
로딩 중...
txID
로딩 중...
raw_data
로딩 중...
contract
로딩 중...
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.추가("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.그런 다음(응답 => response.text())19.그런 다음(결과 => console.log(result))20.catch(오류 => console.log('error', error));
1var myHeaders = new Headers();2myHeaders.추가("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.그런 다음(응답 => response.text())19.그런 다음(결과 => console.log(result))20.catch(오류 => 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, 헤더=헤더, data=페이로드)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, 헤더=헤더, data=페이로드)1617인쇄(응답.text)
1require "uri"2require "json"3require "net/http"45url = URI("https://docs-demo.tron-mainnet.quiknode.pro/wallet/createaccount")67https = Net::HTTP.new(url.호스트, url.포트)8https.use_ssl = true910요청 = 순::HTTP::POST.새(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 = Net::HTTP.new(url.호스트, url.포트)8https.use_ssl = true910요청 = 순::HTTP::POST.새(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