kaia_getAccount RPC Method
매개변수
주소
문자열
필수
로딩 중...
BlockNumberOrHashOrTag
문자열
필수
로딩 중...
반품
accType
정수
로딩 중...
계정
객체
로딩 중...
논스
정수
로딩 중...
균형
문자열
로딩 중...
humanReadable
부울
로딩 중...
키
객체
로딩 중...
keyType
정수
로딩 중...
키
객체
로딩 중...
storageRoot
문자열
로딩 중...
codeHash
문자열
로딩 중...
codeFormat
정수
로딩 중...
vmVersion
정수
로딩 중...
요청
1curl https://docs-demo.kaia-kairos.quiknode.pro/ \2-X POST \3-H "Content-Type: application/json" \4--data '{5"method": "kaia_getAccount",6"id": 1,7"jsonrpc": "2.0",8"params": [9"0xcda6be802fa1f6861a5a574f5e349ea2b3f2d175",10"최신"11]12}'
1curl https://docs-demo.kaia-kairos.quiknode.pro/ \2-X POST \3-H "Content-Type: application/json" \4--data '{5"method": "kaia_getAccount",6"id": 1,7"jsonrpc": "2.0",8"params": [9"0xcda6be802fa1f6861a5a574f5e349ea2b3f2d175",10"최신"11]12}'
1var myHeaders = new Headers();2myHeaders.추가("Content-Type", "application/json");34var raw = JSON.stringify({5"method": "kaia_getAccount",6"id": 1,7"jsonrpc": "2.0",8"params": [9"0xcda6be802fa1f6861a5a574f5e349ea2b3f2d175",10"최신"11]12});1314var requestOptions = {15메서드: 'POST',16헤더: myHeaders,17본문: raw,18리디렉션: 'follow'19};2021fetch("https://docs-demo.kaia-kairos.quiknode.pro/", requestOptions)22.그런 다음(응답 => response.text())23.그런 다음(결과 => console.log(result))24.catch(오류 => console.log('error', error));
1var myHeaders = new Headers();2myHeaders.추가("Content-Type", "application/json");34var raw = JSON.stringify({5"method": "kaia_getAccount",6"id": 1,7"jsonrpc": "2.0",8"params": [9"0xcda6be802fa1f6861a5a574f5e349ea2b3f2d175",10"최신"11]12});1314var requestOptions = {15메서드: 'POST',16헤더: myHeaders,17본문: raw,18리디렉션: 'follow'19};2021fetch("https://docs-demo.kaia-kairos.quiknode.pro/", requestOptions)22.그런 다음(응답 => response.text())23.그런 다음(결과 => console.log(result))24.catch(오류 => console.log('error', error));
1import 요청2import json34url = "https://docs-demo.kaia-kairos.quiknode.pro/"56페이로드 = json.dumps({7"method": "kaia_getAccount",8"id": 1,9"jsonrpc": "2.0",10"params": [11"0xcda6be802fa1f6861a5a574f5e349ea2b3f2d175",12"최신"13]14})15헤더 = {16'Content-Type': 'application/json'17}1819답변 = 요청.요청("POST", url, 헤더=헤더, data=페이로드)2021인쇄(응답.text)22
1import 요청2import json34url = "https://docs-demo.kaia-kairos.quiknode.pro/"56페이로드 = json.dumps({7"method": "kaia_getAccount",8"id": 1,9"jsonrpc": "2.0",10"params": [11"0xcda6be802fa1f6861a5a574f5e349ea2b3f2d175",12"최신"13]14})15헤더 = {16'Content-Type': 'application/json'17}1819답변 = 요청.요청("POST", url, 헤더=헤더, data=페이로드)2021인쇄(응답.text)22
1require "uri"2require "json"3require "net/http"45url = URI("https://docs-demo.kaia-kairos.quiknode.pro/")67https = Net::HTTP.new(url.호스트, url.포트)8https.use_ssl = true910요청 = 순::HTTP::POST.새(URL)11요청["Content-Type"] = "application/json"12요청.본문 = JSON.dump({13"method": "kaia_getAccount",14"id": 1,15"jsonrpc": "2.0",16"params": [17"0xcda6be802fa1f6861a5a574f5e349ea2b3f2d175",18"최신"19]20})2122답변 = https.요청(요청)23응답을 넣습니다.read_body24
1require "uri"2require "json"3require "net/http"45url = URI("https://docs-demo.kaia-kairos.quiknode.pro/")67https = Net::HTTP.new(url.호스트, url.포트)8https.use_ssl = true910요청 = 순::HTTP::POST.새(URL)11요청["Content-Type"] = "application/json"12요청.본문 = JSON.dump({13"method": "kaia_getAccount",14"id": 1,15"jsonrpc": "2.0",16"params": [17"0xcda6be802fa1f6861a5a574f5e349ea2b3f2d175",18"최신"19]20})2122답변 = https.요청(요청)23응답을 넣습니다.read_body24