import { AvalancheWalletCoreClient } from "../../clients/createAvalancheWalletCoreClient.js"; import { SendXPTransactionParameters, SendXPTransactionReturnType } from "./types/sendXPTransaction.js"; /** * Send an transaction to the X, P or C chain * @param client - The client to use {@link AvalancheWalletCoreClient} * @param params - The parameters for the transaction {@link SendXPTransactionParameters} * @returns The transaction hash {@link SendXPTransactionReturnType} * * @example * * import { createWalletCoreClient, http } from '@avalanche-sdk/client' * import { avalanche } from '@avalanche-sdk/client/chains' * import { sendXPTransaction } from '@avalanche-sdk/client/methods/wallet' * * const client = createWalletCoreClient({ * chain: avalanche, * transport: { * type: "custom", * provider: window.avalanche!, * }, * }) * * const txHash = await sendXPTransaction(client, { * txOrTxHex: "0x...", * chainAlias: "P", * }) * */ export declare function sendXPTransaction(client: AvalancheWalletCoreClient, params: SendXPTransactionParameters): Promise; //# sourceMappingURL=sendXPTransaction.d.ts.map