Skip to content

Latest commit

 

History

History
56 lines (32 loc) · 1.07 KB

ISandwichDetector.md

File metadata and controls

56 lines (32 loc) · 1.07 KB

sandwich-scanner / ISandwichDetector

Interface: ISandwichDetector

Implemented by

Table of contents

Methods

Methods

getSandwichesForAddress

getSandwichesForAddress(address, dex): Promise<Sandwich[]>

Parameters

Name Type
address string
dex DexType

Returns

Promise<Sandwich[]>

Defined in

SandwichDetector.ts:16


getSandwichesForBlock

getSandwichesForBlock(blockNo, dex): Promise<Sandwich[]>

Parameters

Name Type
blockNo number
dex DexType

Returns

Promise<Sandwich[]>

Defined in

SandwichDetector.ts:14