UNPKG

@aptos-labs/ts-sdk

Version:
42 lines (39 loc) 1.65 kB
import { Deserializer } from '../../bcs/deserializer.mjs'; import { Serializable, Serializer } from '../../bcs/serializer.mjs'; import { AccountAddress } from '../../core/accountAddress.mjs'; import { RawTransaction } from './rawTransaction.mjs'; import '../../types/index.mjs'; import '../../utils/apiEndpoints.mjs'; import '../../types/indexer.mjs'; import '../../types/generated/operations.mjs'; import '../../types/generated/types.mjs'; import '../../core/hex.mjs'; import '../../core/common.mjs'; import './transactionArgument.mjs'; import './chainId.mjs'; import './transactionPayload.mjs'; import './identifier.mjs'; import './moduleId.mjs'; import '../typeTag/index.mjs'; /** * Representation of a Raw Transaction that can serialized and deserialized */ declare class MultiAgentTransaction extends Serializable { rawTransaction: RawTransaction; feePayerAddress?: AccountAddress | undefined; secondarySignerAddresses: AccountAddress[]; /** * SimpleTransaction represents a simple transaction type of a single signer that * can be submitted to Aptos chain for execution. * * SimpleTransaction metadata contains the Raw Transaction and an optional * sponsor Account Address to pay the gas fees. * * @param rawTransaction The Raw Tranasaction * @param feePayerAddress The sponsor Account Address */ constructor(rawTransaction: RawTransaction, secondarySignerAddresses: AccountAddress[], feePayerAddress?: AccountAddress); serialize(serializer: Serializer): void; static deserialize(deserializer: Deserializer): MultiAgentTransaction; } export { MultiAgentTransaction };