read read : { isValidOrder : ( ( ... parameters ) => Promise < { errors : readonly number [] ; warnings : readonly number [] ; } > ) ; }
Type declaration is Valid Order : ( ( ... parameters ) => Promise < { errors : readonly number [] ; warnings : readonly number [] ; } > ) ( ... parameters ) : Promise < { errors : readonly number [] ; warnings : readonly number [] ; } > Parameters Rest
... parameters : [ args: readonly [ { parameters : { conduitKey : ` 0x ${ string } ` ; consideration : readonly { endAmount : bigint ; identifierOrCriteria : bigint ; itemType : number ; recipient : ` 0x ${ string } ` ; startAmount : bigint ; token : ` 0x ${ string } ` ; } [] ; endTime : bigint ; offer : readonly { endAmount : bigint ; identifierOrCriteria : bigint ; itemType : number ; startAmount : bigint ; token : ` 0x ${ string } ` ; } [] ; offerer : ` 0x ${ string } ` ; orderType : number ; salt : bigint ; startTime : bigint ; totalOriginalConsiderationItems : bigint ; zone : ` 0x ${ string } ` ; zoneHash : ` 0x ${ string } ` ; } ; signature : ` 0x ${ string } ` ; } , ` 0x ${ string } ` ] , options?: { account ?: ` 0x ${ string } ` | Account ; blockNumber ?: bigint ; blockTag ?: BlockTag ; } ] Returns Promise < { errors : readonly number [] ; warnings : readonly number [] ; } >
Provides an interface to the Seaport Validator contract which contains methods for validating Seaport orders. It handles the retrieval and processing of error and warning messages that assist in debugging order issues.