The payload that needs to be sign already populated transaction to sign.
Optional
secret: anyThe secret used for signing the payload
.
Optional
provider: Web3ZKsyncL2The provider is used to fetch data from the network if it is required for signing.
A promise that resolves to the serialized signature in hexadecimal format.
Signs various types of payloads, optionally using a some kind of secret.