Class MintingBackendModule
Constructors
constructor
- new MintingBackendModule(config): MintingBackendModule
Methods
recordMint
- recordMint(mintRequest): Promise<void>
Parameters
- mintRequest: CreateMintRequest
Returns Promise<void>
submitMintingRequests
- submitMintingRequests(config): Promise<void>
Parameters
- config: {
defaultBatchSize?: number;
chainName?: string;
maxNumberOfTries?: number;
}Optional
defaultBatchSize?: number
Optional
chainName?: string
Optional
maxNumberOfTries?: number
Returns Promise<void>
processMint
- processMint(body, otherHandlers?): Promise<void>
Parameters
- body: string | Record<string, unknown>
Optional
otherHandlers: {
zkevmMintRequestUpdated: ((event: ZkevmMintRequestUpdated) => Promise<void>);
}zkevmMintRequestUpdated: ((event: ZkevmMintRequestUpdated) => Promise<void>)
- (event): Promise<void>
Returns Promise<void>
Returns Promise<void>