Skip to content

Listing of methods in api.{derive, query, rpc, tx} #682

@Stefie

Description

@Stefie

Initial discussion happened on polkadot-js/apps#684 (comment)

  • Make API more explorable by default and without tools, i.e. if we add something like this for tx, query, derive
api.tx.listAll() // shows all section.methods with description

So expose once initialised and we are on dev chain (we should be able to use this https://github.com/polkadot-js/apps/blob/master/packages/ui-api/src/util/isTestChain.ts - looking at it now, now 100% on the dev|loc match, explicit via local and development is probably better. I know why it is short, dev chains originally retuned dev instead of development)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions