idena.apis.contract
¶
Module Contents¶
Functions¶
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-
idena.apis.contract.
call_contract
(from_=None, contract=None, method=None, amount=None, maxFee=None, args=None, broadcastBlock=None)¶ - Parameters
from_ (str) –
contract (str) –
method (str) –
amount (decimal.Decimal) –
maxFee (decimal.Decimal) –
args (List[idena.types.DynamicArg]) –
broadcastBlock (int) –
- Return type
str
-
idena.apis.contract.
deploy_contract
(from_=None, codeHash=None, amount=None, maxFee=None, args=None)¶ - Parameters
from_ (str) –
codeHash (str) –
amount (decimal.Decimal) –
maxFee (decimal.Decimal) –
args (List[idena.types.DynamicArg]) –
- Return type
str
-
idena.apis.contract.
estimate_call
(from_=None, contract=None, method=None, amount=None, maxFee=None, args=None, broadcastBlock=None)¶ - Parameters
from_ (str) –
contract (str) –
method (str) –
amount (decimal.Decimal) –
maxFee (decimal.Decimal) –
args (List[idena.types.DynamicArg]) –
broadcastBlock (int) –
- Return type
-
idena.apis.contract.
estimate_deploy
(from_=None, codeHash=None, amount=None, maxFee=None, args=None)¶ - Parameters
from_ (str) –
codeHash (str) –
amount (decimal.Decimal) –
maxFee (decimal.Decimal) –
args (List[idena.types.DynamicArg]) –
- Return type
-
idena.apis.contract.
estimate_terminate
(from_=None, contract=None, maxFee=None, args=None)¶ - Parameters
from_ (str) –
contract (str) –
maxFee (decimal.Decimal) –
args (List[idena.types.DynamicArg]) –
- Return type
-
idena.apis.contract.
get_stake
(contract)¶ - Parameters
contract (str) –
- Return type
-
idena.apis.contract.
read_contract_data
(contract=None, key=None, format=None)¶ - Parameters
contract (str) –
key (str) –
format (str) –
- Return type
Any
-
idena.apis.contract.
read_events
(contract=None)¶ - Parameters
contract (str) –
- Return type
None
-
idena.apis.contract.
readonly_call_contract
(contract=None, method=None, format=None, args=None)¶ - Parameters
contract (str) –
method (str) –
format (str) –
args (List[idena.types.DynamicArg]) –
- Return type
Any
-
idena.apis.contract.
subscribe_to_contract_event
(contract=None, event=None)¶ - Parameters
contract (str) –
event (str) –
- Return type
None
-
idena.apis.contract.
terminate_contract
(from_=None, contract=None, maxFee=None, args=None)¶ - Parameters
from_ (str) –
contract (str) –
maxFee (decimal.Decimal) –
args (List[idena.types.DynamicArg]) –
- Return type
str
-
idena.apis.contract.
unsubscribe_from_contract_event
(contract=None, event=None)¶ - Parameters
contract (str) –
event (str) –
- Return type
None