Skip to main content

EthStateStorage.publishState() method

method to publish state onchain

Signature:

publishState(proof: ZKProof, signer: Signer): Promise<string>;

Parameters

ParameterTypeDescription
proofZKProofproof to publish
signerSignersigner of transaction

Returns:

Promise<string>

Promise<string> - transaction identifier