grpc/grpc_transaction_mapper library

Functions

transactionDataToGrpcTransaction(TransactionBlockDataBuilder data, {bool includeGas = true}) Transaction
Maps the transaction builder's internal ($kind-tagged map) representation to the gRPC structured Transaction message, so it can be simulated with the gas payment/budget left unset for server-side gas selection — mirroring Mysten's TS transactionDataToGrpcTransaction.