The transaction that needs to be populated.
Optional
secret: anyThe secret used for populating the transaction.
Optional
provider: Web3ZKsyncL2The provider is used to fetch data from the network if it is required for signing.
A promise that resolves to the populated transaction.
Populates missing fields in a transaction with default values.