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