mina_createNullifier
Mainly used to create nullifiers.
Params
type CreateNullifierArgs = {
readonly message: (string | number)[]
}Result
type Group = {
x: bigint;
y: bigint;
};
export type Nullifier = {
publicKey: Group;
public: {
nullifier: Group;
s: bigint;
};
private: {
c: bigint;
g_r: Group;
h_m_pk_r: Group;
};
};
interface ProviderError extends Error {
message: string; // error message.
code: number; // error code.
data?: unknown; // error body.
}
Promise<Nullifier | ProviderError>Errors
Example
Request
Result
Last updated