Skip to main content
Version: Next

Interface: FTData

Information pertaining to all Fungible-Token drops. This should be passed in if the drop will be used to transfer any fungible tokens.

Properties

absoluteAmount

Optional absoluteAmount: string

Amount of tokens to transfer but considering the decimal amount. Example: transferring one wNEAR should be passed in as "1000000000000000000000000" and NOT "1"

Defined in

lib/types/ft.ts:22


amount

Optional amount: string

Human readable format for the amount of tokens to transfer every time the FT key is used. Example: transferring one wNEAR should be passed in as "1" and NOT "1000000000000000000000000"

Defined in

lib/types/ft.ts:17


contractId

contractId: string

Which contract do the FTs belong to?

Defined in

lib/types/ft.ts:8


senderId

Optional senderId: string

By default, anyone can fund your drop with FTs. This field allows you to set a specific account ID that will be locked into sending the FTs.

Defined in

lib/types/ft.ts:12