Skip to main content

Interface: DocumentQueryExtensionMethods

@shareledgerjs/client.document.DocumentQueryExtensionMethods

Methods

documentByProof

documentByProof(proof, height?): Promise<undefined | Document>

Parameters

NameType
proofstring
height?number

Returns

Promise<undefined | Document>


documentsByHolder

documentsByHolder(holder, height?): Promise<Document[]>

Parameters

NameType
holderstring
height?number

Returns

Promise<Document[]>


documentsByIssuer

documentsByIssuer(holder, issuer, height?): Promise<Document[]>

Parameters

NameType
holderstring
issuerstring
height?number

Returns

Promise<Document[]>