Skip to main content
Version: 24.7.x

Module: Base Types

Enumerations

Interfaces

Type Aliases

MapTxData

Ƭ MapTxData<ArgsArray>: { [K in keyof ArgsArray]: ArgsArray[K] extends unknown[] ? TxData<ArgsArray[K]> : never }

Apply the TxData type to all args in an array

Type parameters

NameType
ArgsArrayextends unknown[][]

Defined in

base/types.ts:17


PayingAccount

Ƭ PayingAccount: { account: Account ; allowance: BigNumber ; type: Subsidy } | { account: Account ; type: Caller | Other }

Data representing the Account responsible for paying fees for a transaction

Defined in

base/types.ts:133


PolymeshError

Ƭ PolymeshError: PolymeshError

Defined in

base/types.ts:208


PolymeshTransaction

Ƭ PolymeshTransaction<ReturnValue, TransformedReturnValue, Args>: PolymeshTransaction<ReturnValue, TransformedReturnValue, Args>

Type parameters

NameType
ReturnValueunknown
TransformedReturnValueReturnValue
Argsextends unknown[] | [] = unknown[]

Defined in

base/types.ts:198


PolymeshTransactionBatch

Ƭ PolymeshTransactionBatch<ReturnValue, TransformedReturnValue, Args>: PolymeshTransactionBatch<ReturnValue, TransformedReturnValue, Args>

Type parameters

NameType
ReturnValueunknown
TransformedReturnValueReturnValue
Argsextends unknown[][] = unknown[][]

Defined in

base/types.ts:203


TransactionArgument

Ƭ TransactionArgument: { _rawType: TypeDef ; name: string ; optional: boolean } & PlainTransactionArgument | ArrayTransactionArgument | SimpleEnumTransactionArgument | ComplexTransactionArgument

Defined in

base/types.ts:99