Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.37 KB

File metadata and controls

34 lines (25 loc) · 1.37 KB

AbiFunction

Properties

Name Type Description Notes
name str The name of the contract function as it appears in the ABI [optional]
state_mutability str The state mutability of the contract function as it appears in the ABI [optional]
type str The type of the function
inputs List[Parameter] The parameters that this function/constructor posses [optional]
outputs List[Parameter] The parameters that this 'read' function returns [optional]
description str The documentation of this function (if has any) [optional]

Example

from fireblocks.models.abi_function import AbiFunction

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

# convert the object into a dict
abi_function_dict = abi_function_instance.to_dict()
# create an instance of AbiFunction from a dict
abi_function_from_dict = AbiFunction.from_dict(abi_function_dict)

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