mina_storePrivateCredential
This method is used to store private credentials.
Params
type JSONValue =
| string
| number
| boolean
| null
| JSONValue[]
| { [key: string]: JSONValue };
type Credential<Data = unknown> = { owner: string; data: Data };
type StoredCredential<Data = unknown, Witness = unknown> = {
version: 'v0';
witness: Witness;
metadata: JSONValue | undefined;
credential: Credential<Data>;
};
type StoredCredentialArgs = {
credential:StoredCredential
}Result
Errors
Example
Request
Result
Last updated