Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.22 KB

File metadata and controls

32 lines (23 loc) · 1.22 KB

Apy

Properties

Name Type Description Notes
native float APY in native format (before fees), as a percentage (e.g. 4.25 means 4.25%, not 0.0425). [optional]
gross float Gross APY before fees, as a percentage (e.g. 4.25 means 4.25%, not 0.0425). [optional]
net float Net APY after fees, as a percentage (e.g. 4.25 means 4.25%, not 0.0425). [optional]
supply_incentive_apy float Additional incentive APY from reward programs (e.g. Merkl rewards on Aave), as a percentage. Only present when the opportunity has active incentives. [optional]

Example

from fireblocks.models.apy import Apy

# TODO update the JSON string below
json = "{}"
# create an instance of Apy from a JSON string
apy_instance = Apy.from_json(json)
# print the JSON string representation of the object
print(Apy.to_json())

# convert the object into a dict
apy_dict = apy_instance.to_dict()
# create an instance of Apy from a dict
apy_from_dict = Apy.from_dict(apy_dict)

[Back to Model list] [Back to API list] [Back to README]