Interface BuyCoverParam

The parameter of buyCover function.

Hierarchy

  • BuyCoverParam

Properties

coverAmount: BN

The cover amount in aUWT in lamports.

days: number

The cover duration in days.

nftMint?: PublicKey

The NFT token address for cover discount. Optional.

owner: PublicKey

The wallet address of the cover buyer.

productId: number

The cover product identifier.

referrer: PublicKey

The wallet address of the referrer.

Generated using TypeDoc