import type { ExtendedViemClient } from '../../../client.js'; import type { CreateTransactionInput } from '../transports/index.js'; /** * Initiates an on-chain digital asset transfer from a specified developer-controlled wallet. * * By default, creation waits for the transaction to be processed and returns the transaction along with its txHash. * To disable this behavior, set `waitForTransactionHash` to `false`. * * @returns The created Transaction * * @example * Create a Transaction for `0.1 ETH` from `0x0000000000000000000000000000000000000000` to `0x000000000000000000000000000000000000001` * ```typescript * await client.createTransaction({ * sourceAddress: '0x0000000000000000000000000000000000000000', * destinationAddress: '0x0000000000000000000000000000000000000001', * blockchain: 'ETH-SEPOLIA', * amounts: ['0.1'], * fee: { type: 'absolute', config: { gasLimit: '3', maxFee: '6', priorityFee: '9' } }, * }) * ``` */ export declare function createTransaction(client: ExtendedViemClient, params: CreateTransactionInput): Promise;