import { OnChainIdentifier } from './identifier'; import { Address } from 'viem'; export type AtomicSwapConfig = { secretHash: string; /** * The number of blocks before the swap expires */ expiryBlocks: number; /** * Amount in it's lowest denomination */ amount: bigint; recipientAddress: OnChainIdentifier; refundAddress: OnChainIdentifier; initiatorAddress: OnChainIdentifier; contractAddress?: Address; chain?: number; };