@substrate/txwrapper-substrate
TypeScript icon, indicating that this package has built-in type declarations

7.4.0 • Public • Published



@substrate/txwrapper-substrate

Selected dispatchables of Substrate pallets, to be re-exported by chain specific txwrappers

npm Github Actions david-dm



yarn add @substrate/txwrapper-substrate

In a JS/TS index file of package:

import { methods as substrateMethods } from '@substrate/txwrapper-substrate';

// Export methods of substrate pallets included in the chain's runtime.
export const methods = {
    balances: substrateMethods.balances,
    utility: substrateMethods.utility,
    proxy: substrateMethods.proxy,
  };

Have a look at the txwrapper creation guide for chain builders to see more guidance on how to use this package in a chain specific txwrapper.

Readme

Keywords

none

Package Sidebar

Install

npm i @substrate/txwrapper-substrate

Weekly Downloads

19,849

Version

7.4.0

License

Apache-2.0

Unpacked Size

237 kB

Total Files

283

Last publish

Collaborators

  • bee344
  • imod7
  • marshacb
  • tarikgul