import { ApiProperty } from '@nestjs/swagger';

export class DerivedAddressDto {
  @ApiProperty({ description: '链类型' })
  chainType: string;

  @ApiProperty({ description: '钱包地址' })
  address: string;
}

export class DeriveAddressResponseDto {
  @ApiProperty({ description: '用户ID' })
  userId: string;

  @ApiProperty({ description: '公钥' })
  publicKey: string;

  @ApiProperty({ description: '派生的地址列表', type: [DerivedAddressDto] })
  addresses: DerivedAddressDto[];
}
