JSPM

@polkadot/types

0.34.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 131492
  • Score
    100M100P100Q151793F
  • License Apache-2.0

Implementation of the Parity codec

Package Exports

  • @polkadot/types
  • @polkadot/types/AccountIndex
  • @polkadot/types/Extrinsic
  • @polkadot/types/Header
  • @polkadot/types/Metadata
  • @polkadot/types/Metadata/Modules
  • @polkadot/types/Metadata/static
  • @polkadot/types/Method
  • @polkadot/types/Null
  • @polkadot/types/Text
  • @polkadot/types/codec
  • @polkadot/types/codec/Base
  • @polkadot/types/codec/Compact
  • @polkadot/types/codec/Enum
  • @polkadot/types/codec/Option
  • @polkadot/types/codec/Struct
  • @polkadot/types/codec/Tuple
  • @polkadot/types/codec/U8a
  • @polkadot/types/codec/U8aFixed
  • @polkadot/types/codec/UInt
  • @polkadot/types/codec/Vector
  • @polkadot/types/codec/createType
  • @polkadot/types/codec/typeRegistry
  • @polkadot/types/index
  • @polkadot/types/types

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@polkadot/types) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@polkadot/types

Implementation of the types and their (de-)serialisation via parity-codec.

Substrate types

These types implement specific types that are found as part of the Substrate base: [[AccountId]], [[AccountIndex]], [[Address]], [[AuthorityId]], [[Balance]], [[Block]], [[BlockNumber]], [[Bool]], [[Bytes]], [[ChainProperties]] [[Data]], [[Digest]], [[Event]], [[EventRecord]], [[Extrinsic]], [[Extrinsics]], [[ExtrinsicEra]], [[ExtrinsicSignature]], [[ExtrinsicStatus]], [[Gas]], [[H256]], [[H512]], [[Hash]], [[Header]], [[Justification]], [[KeyValue]], [[Metadata]], [[Method]], [[MisbehaviorReport]], [[Moment]], [[NewAccountOutcome]], [[Nonce]], [[Null]], [[Origin]], [[ParachainId]], [[PendingExtrinsics]], [[Perbill]], [[Permill]], [[PropIndex]], [[Proposal]], [[ProposalIndex]], [[ReferendumIndex]], [[RuntimeVersion]], [[SessionKey]], [[Signature]], [[SignaturePayload]], [[SignedBlock]], [[StorageChangeSet]], [[StorageData]], [[StorageKey]], [[StoredPendingChange]], [[Text]], [[Type]], [[U8]], [[U16]], [[U32]], [[U64]], [[U128]], [[U256]], [[ValidatorPrefs]], [[VoteIndex]], [[VoteThreshold]]

Codec types

These are the base types of the codec, typically not used directly, but rather inherited from to create specific types: [[Base]], [[Compact]], [[Enum]], [[EnumType]], [[Option]], [[Set]], [[Struct]], [[Tuple]], [[U8a]], [[U8aFixed]], [[UInt]], [[Vector]]