estimateTransactionSize
estimateTransactionSize(
transaction):bigint
Defined in: packages/transact/src/transactions/transaction.ts:515
Return the size of the transaction in bytes as if it was already signed and encoded. This is useful for estimating the fee for the transaction.
Parameters
Section titled “Parameters”transaction
Section titled “transaction”Returns
Section titled “Returns”bigint