Namespace Transactions

Transactions reference

Each item described here is a TxDescriptor<T>, where T describes all the arguments required by the extrinsic

For example, Balances.transfer_keep_alive is of type

transfer_keep_alive: TxDescriptor<{
dest: MultiAddress;
value: bigint;
}>

and can be used like this

const tx = api.tx.Balances.transfer_keep_alive({
dest: MultiAddress.Id(userAddress),
value: 10n ** 10n, // 1 DOT
})
await tx.signAndSubmit(signer)

PAPI docs on transactions for more

Namespaces

AssetRate
Auctions
Babe
Balances
Beefy
Bounties
ChildBounties
Claims
Configuration
ConvictionVoting
Coretime
Crowdloan
ElectionProviderMultiPhase
FastUnstake
FellowshipCollective
FellowshipReferenda
Grandpa
Hrmp
Indices
Initializer
MessageQueue
Multisig
Nis
NisCounterpartBalances
NominationPools
OnDemandAssignmentProvider
ParaInherent
Parameters
Paras
ParasDisputes
ParasSlashing
Preimage
Proxy
Recovery
Referenda
Registrar
Scheduler
Session
Slots
Society
Staking
System
Timestamp
Treasury
Utility
Vesting
VoterList
Whitelist
XcmPallet