Skip to main content
Version: Next

Interface: ProtocolReturnedFTData

FT Data returned from the Protocol. This interface is exactly the same as the FTData, except all the fields are snake cased instead of camel cased due to what the Protocol returns.

Properties

balance_per_use

Optional balance_per_use: 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/protocol.ts:226


contract_id

contract_id: string

Which contract do the FTs belong to?

Defined in

lib/types/protocol.ts:217


sender_id

Optional sender_id: 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/protocol.ts:221