import { type known } from "https://deno.land/x/capi@v0.1.1-beta.1/mod.ts";
const { StateCalls } = known;
definition: { state_callAt: StateCalls["state_call"]; state_getKeysPagedAt: StateCalls["state_getKeysPaged"]; state_getStorageAt: StateCalls["state_getStorage"]; state_getStorageHashAt: StateCalls["state_getStorageHash"]; state_getStorageSizeAt: StateCalls["state_getStorageSize"]; chain_getRuntimeVersion: StateCalls["state_getRuntimeVersion"]; state_call(): string; state_getKeys(prefix: StorageKey, at?: string): StorageKey[]; state_getPairs(prefix: StorageKey, at?: string): [StorageKey, StorageData][]; state_getKeysPaged(): StorageKey[]; state_getStorage(key: StorageKey, at?: string): StorageData | null; state_getStorageHash(key: StorageKey, at?: string): string | null; state_getStorageSize(key: StorageKey, at?: string): number | null; state_getMetadata(at?: string): string; state_getRuntimeVersion(at?: string): RuntimeVersion; state_queryStorage(): StorageChangeSet[]; state_queryStorageAt(keys: StorageKey[], at?: string): StorageChangeSet[]; state_getReadProof(keys: StorageKey[], at?: string): ReadProof; }
name: string,
bytes: string,
at?: string,