tempwallet-sdk
Version:
Helpers for single-use (temporary) EVM flows: ephemeral EOAs, Safe builders, Permit2 signature skeleton, sweep & gas estimates. No infra included.
32 lines • 693 B
TypeScript
export type Hex = `0x${string}`;
export interface CreateTempWalletOpts {
ttl?: number;
label?: string;
}
export interface TempWalletMeta {
createdAt: number;
expiresAt?: number;
label?: string;
used: boolean;
}
export interface ExecuteTxInput {
to: Hex;
value?: bigint;
data?: Hex;
gasLimit?: bigint;
maxFeePerGas?: bigint;
maxPriorityFeePerGas?: bigint;
nonce?: number;
chainId?: number;
}
export interface SweepBuildInput {
fromAddress: Hex;
to: Hex;
providerUrl: string;
gasLimitBuffer?: bigint;
}
export interface EstimateInputWei {
gasUnits: bigint;
gasPriceWei: bigint;
}
//# sourceMappingURL=types.d.ts.map