Viem v2
LocalAccount.signTransaction
Signs and serializes an EVM transaction with a Para wallet.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Signs and serializes an EVM transaction with a Para wallet.
import type { Para as ParaServer } from '@getpara/server-sdk';
import { createParaViemAccount } from '@getpara/viem-v2-integration';
declare const para: ParaServer; // An authenticated Para Server client with a loaded EVM wallet.
const account = createParaViemAccount({ para });
const signed = await account.signTransaction({
chainId: 1,
nonce: 0,
to: '0x0000000000000000000000000000000000000000',
value: 0n,
});