Skip to main content

Interface: DocumentTxExtensionMethods

@shareledgerjs/client.document.DocumentTxExtensionMethods

Methods

create

create(issuer, holder, proof, data?): MsgCreateDocumentEncodeObject

Parameters

NameType
issuerstring
holderstring
proofstring
data?string

Returns

MsgCreateDocumentEncodeObject


createMany

createMany(issuer, holder, proof, data?): MsgCreateDocumentsEncodeObject

Parameters

NameType
issuerstring
holderstring[]
proofstring[]
data?string[]

Returns

MsgCreateDocumentsEncodeObject


revoke

revoke(issuer, holder, proof): MsgRevokeDocumentEncodeObject

Parameters

NameType
issuerstring
holderstring
proofstring

Returns

MsgRevokeDocumentEncodeObject


update

update(issuer, holder, proof, data?): MsgUpdateDocumentEncodeObject

Parameters

NameType
issuerstring
holderstring
proofstring
data?string

Returns

MsgUpdateDocumentEncodeObject