Interface: DocumentQueryExtensionMethods
@shareledgerjs/client.document.DocumentQueryExtensionMethods
Methods
documentByProof
▸ documentByProof(proof
, height?
): Promise
<undefined
| Document
>
Parameters
Name | Type |
---|---|
proof | string |
height? | number |
Returns
Promise
<undefined
| Document
>
documentsByHolder
▸ documentsByHolder(holder
, height?
): Promise
<Document
[]>
Parameters
Name | Type |
---|---|
holder | string |
height? | number |
Returns
Promise
<Document
[]>
documentsByIssuer
▸ documentsByIssuer(holder
, issuer
, height?
): Promise
<Document
[]>
Parameters
Name | Type |
---|---|
holder | string |
issuer | string |
height? | number |
Returns
Promise
<Document
[]>