Skip to content
This repository has been archived by the owner on Sep 14, 2023. It is now read-only.

feat: simplify dynamic dx #774

Merged
merged 4 commits into from
Mar 22, 2023
Merged

feat: simplify dynamic dx #774

merged 4 commits into from
Mar 22, 2023

Conversation

harrysolovay
Copy link
Contributor

@harrysolovay harrysolovay commented Mar 22, 2023

Resolves #770

import { ChainRune, WsConnection } from "capi"

const chain = ChainRune.from(WsConnection, "wss://rpc.polkadot.io")

const accountInfo = await chain
  .pallet("System")
  .storage("Account")
  .entryPage(10, null)
  .run()

console.log(accountInfo)

@harrysolovay harrysolovay requested a review from tjjfvi as a code owner March 22, 2023 13:30
fluent/ChainRune.ts Outdated Show resolved Hide resolved
fluent/ChainRune.ts Outdated Show resolved Hide resolved
@harrysolovay harrysolovay disabled auto-merge March 22, 2023 14:58
@harrysolovay harrysolovay enabled auto-merge March 22, 2023 14:58
@harrysolovay harrysolovay added this pull request to the merge queue Mar 22, 2023
@harrysolovay harrysolovay merged commit e0d3980 into main Mar 22, 2023
@harrysolovay harrysolovay deleted the dyn-metadata-fix branch March 22, 2023 15:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

dynamic metadata retrieval
2 participants