Skip to content

base.types

prashantasdeveloper edited this page Dec 2, 2024 · 53 revisions

Module: base/types

Table of contents

Enumerations

Interfaces

Type Aliases

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

Name Type
ArgsArray extends unknown[][]

Defined in

base/types.ts:17


PayingAccount

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

Data representing the Account responsible for paying fees for a transaction

Defined in

base/types.ts:137


PolymeshError

Ƭ PolymeshError: PolymeshError

Defined in

base/types.ts:219


PolymeshTransaction

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

Type parameters

Name Type
ReturnValue unknown
TransformedReturnValue ReturnValue
Args extends unknown[] | [] = unknown[]

Defined in

base/types.ts:209


PolymeshTransactionBatch

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

Type parameters

Name Type
ReturnValue unknown
TransformedReturnValue ReturnValue
Args extends unknown[][] = unknown[][]

Defined in

base/types.ts:214


TransactionArgument

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

Defined in

base/types.ts:99

Clone this wiki locally