getModelInfo(contract)
Feature
get DID registry model information
Parameters
string
contract Address,
data
of SuccessResponse
object
did registry model information
example
const contract = "0x99e749E6e00fc6BA3E965881589D185cc5B447d4fca";
// Note: an asynchronous request.
const getModelInfo = async () => {
const info = await mitum.authdid.getModelInfo(contract)
console.log(info.data);
};
getModelInfo();
//output
{ _hint: 'mitum-did-design-v0.0.1', didMethod: 'mitum' }
PreviousregisterModel(contract, sender, didMethod, currency)Nextcreate(contract, sender, authType, publicKey, serviceType, serviceEndPoints, currency)
Last updated