Bulk Transfer
Overview
Batch transaction
Bulk transfer leverages pallet-utility
runtime module from substrate
to send multiple transfer extrinsics
to runtime.
Here is the example code provided by Polkadot.js cookbook:
Usage
To use bulk transfer in other systems using Parallel, Developers must installParallel.js, a
Javascript frontend library to interact with Parallel parachain.
bulkTransfer
bulkTransfer
Example Code
Glossary
substrate
: A blockchain development framework developed and maintained by Parity Technologies.
pallet-utility
: Utility pallet for substrate runtime, it includes generic helper functions for blockchain runtime processing
extrinsic
: Extendable transaction. Coined by Polkadot, Unlike regular transaction in blockchain where it sends bytecode for smart contracts, extrinsic has specific data structure optimized for each blockchain.
APIPromise: The data type where it refers initialized asynchronous api for interacting with blockchain. It is used for making extrinsic
Keyring
: The data type where it refers to initialized account to be used with initialized api.
Last updated