Skip to content

@gala-chain/chaincodeAPI


API > UniqueTransactionService

Class: UniqueTransactionService

Contents

Constructors

new UniqueTransactionService()

new UniqueTransactionService(): UniqueTransactionService

Properties

UT_INDEX_KEY

static private UT_INDEX_KEY: string = UniqueTransaction.INDEX_KEY

Source

chaincode/src/services/UniqueTransactionService.ts:24

Methods

ensureUniqueKey()

static private ensureUniqueKey(ctx, uniqueKey): Promise\<void>

Parameters

ctx: GalaChainContext

uniqueKey: string

Source

chaincode/src/services/UniqueTransactionService.ts:38


ensureUniqueTransaction()

static ensureUniqueTransaction(ctx, uniqueKey): Promise\<void>

Parameters

ctx: GalaChainContext

uniqueKey: string

Source

chaincode/src/services/UniqueTransactionService.ts:53


getUniqueTransactionKey()

static private getUniqueTransactionKey(ctx, uniqueKey): string

Parameters

ctx: Context

uniqueKey: string

Source

chaincode/src/services/UniqueTransactionService.ts:26


putUniqueTransaction()

static private putUniqueTransaction(ctx, uniqueKey): Promise\<void>

Parameters

ctx: GalaChainContext

uniqueKey: string

Source

chaincode/src/services/UniqueTransactionService.ts:30