state
call(method: Text
, data: Bytes
, at?: BlockHash
): Bytes
Text
, data: Bytes
, at?: BlockHash
): Bytes
interface:
api.rpc.state.call
jsonrpc:
state_call
(alias=state_callAt
)summary: 블록 상태에서 컨트랙트 (팔렛)를 호출합니다.
getChildReadProof(childStorageKey: PrefixedStorageKey
, keys: Vec<StorageKey>
, at?: BlockHash
): ReadProof
PrefixedStorageKey
, keys: Vec<StorageKey>
, at?: BlockHash
): ReadProof
interface:
api.rpc.state.getChildReadProof
jsonrpc:
state_getChildReadProof
summary: 특정 블록 상태에서 자식 키 항목에 대한 스토리지 증명 (proof of storage)을 반환합니다.
getKeys(key: StorageKey
, at?: BlockHash
): Vec<StorageKey>
StorageKey
, at?: BlockHash
): Vec<StorageKey>
interface:
api.rpc.state.getKeys
jsonrpc:
state_getKeys
summary: 특정 접두사가 붙은 키를 검색합니다.
deprecated:
api.rpc.state.getKeysPaged
를 사용하여 키를 검색하십시오.
getKeysPaged(key: StorageKey
, count: u32
, startKey?: StorageKey
, at?: BlockHash
): Vec<StorageKey>
StorageKey
, count: u32
, startKey?: StorageKey
, at?: BlockHash
): Vec<StorageKey>
interface:
api.rpc.state.getKeysPaged
jsonrpc:
state_getKeysPaged
(alias=state_getKeysPagedAt
)summary: 페이지네이션(pagination)이 지원되는 접두사를 가진 키를 반환합니다.
getMetadata(at?: BlockHash
): Metadata
BlockHash
): Metadata
interface:
api.rpc.state.getMetadata
jsonrpc:
state_getMetadata
summary: 런타임 메타데이터를 반환합니다.
getPairs(prefix: StorageKey
, at?: BlockHash
): Vec<KeyValue>
StorageKey
, at?: BlockHash
): Vec<KeyValue>
interface:
api.rpc.state.getPairs
jsonrpc:
state_getPairs
summary: 접두사를 가진 키를 반환하며, 모든 키를 가져오려면 비워 둡니다 (더 이상 사용되지 않음:
getKeysPaged
를 사용하십시오).deprecated:
api.rpc.state.getKeysPaged
를 사용하여 키를 검색하십시오.
getReadProof(keys: Vec<StorageKey>
, at?: BlockHash
): ReadProof
Vec<StorageKey>
, at?: BlockHash
): ReadProof
interface:
api.rpc.state.getReadProof
jsonrpc:
state_getReadProof
summary: 특정 블록 상태에서 스토리지 항목 증명 (proof of storage entries)을 반환합니다.
getRuntimeVersion(at?: BlockHash
): RuntimeVersion
BlockHash
): RuntimeVersion
interface:
api.rpc.state.getRuntimeVersion
jsonrpc:
state_getRuntimeVersion
(alias=chain_getRuntimeVersion
)summary: 런타임 버전을 가져옵니다.
getStorage(key: StorageKey
, at?: BlockHash
): StorageData
StorageKey
, at?: BlockHash
): StorageData
interface:
api.rpc.state.getStorage
jsonrpc:
state_getStorage
(alias=state_getStorageAt
)summary: 키에 대한 스토리지를 검색합니다.
getStorageHash(key: StorageKey
, at?: BlockHash
): Hash
StorageKey
, at?: BlockHash
): Hash
interface:
api.rpc.state.getStorageHash
jsonrpc:
state_getStorageHash
(alias=state_getStorageHashAt
)summary: 스토리지 해시를 검색합니다.
getStorageSize(key: StorageKey
, at?: BlockHash
): u64
StorageKey
, at?: BlockHash
): u64
interface:
api.rpc.state.getStorageSize
jsonrpc:
state_getStorageSize
(alias=state_getStorageSizeAt
)summary: 스토리지 사이즈에 대해 검색합니다.
queryStorage(keys: Vec<StorageKey>
, fromBlock: Hash
, toBlock?: BlockHash
): Vec<StorageChangeSet>
Vec<StorageKey>
, fromBlock: Hash
, toBlock?: BlockHash
): Vec<StorageChangeSet>
interface:
api.rpc.state.queryStorage
jsonrpc:
state_queryStorage
summary: 시작 블록부터 특정 키에 대한 과거 스토리지 항목을 쿼리합니다.
queryStorageAt(keys: Vec<StorageKey>
, at?: BlockHash
): Vec<StorageChangeSet>
Vec<StorageKey>
, at?: BlockHash
): Vec<StorageChangeSet>
interface:
api.rpc.state.queryStorageAt
jsonrpc:
state_queryStorageAt
summary: 두 번째 매개변수로 주어진 블록 해시부터 스토리지 항목 (키별)을 쿼리합니다.
subscribeRuntimeVersion(): RuntimeVersion
RuntimeVersion
interface:
api.rpc.state.subscribeRuntimeVersion
jsonrpc:
state_subscribeRuntimeVersion
summary: 구독을 통해 런타임 버전을 검색합니다.
subscribeStorage(keys?: Vec<StorageKey>
): StorageChangeSet
Vec<StorageKey>
): StorageChangeSet
interface:
api.rpc.state.subscribeStorage
jsonrpc:
state_subscribeStorage
summary: 제공된 키에 대한 스토리지 변경 사항을 구독합니다.
traceBlock(block: Hash
, targets: Option<Text>
, storageKeys: Option<Text>
, methods: Option<Text>
): TraceBlockResponse
Hash
, targets: Option<Text>
, storageKeys: Option<Text>
, methods: Option<Text>
): TraceBlockResponse
interface:
api.rpc.state.traceBlock
jsonrpc:
state_traceBlock
summary: 단일 블록의 재실행을 추적하는 방법을 제공합니다.
Last updated