EthStateStorage.publishState() method
method to publish state onchain
Signature:
publishState(proof: ZKProof, signer: Signer): Promise<string>;
Parameters
Parameter | Type | Description |
---|---|---|
proof | ZKProof | proof to publish |
signer | Signer | signer of transaction |
Returns:
Promise<string>
Promise<string>
- transaction identifier