BLOCK PARAMETER - An int block number in the form of hex, appended with 0x such as 0x6D7FE0, or pre-defined strings latest, earliest, pending.
TRANSACTION CALL OBJECT - A transaction object to be broadcasted.
Web3API's Composer accepts int block numbers, which will be auto-converted to a hex representation before being sent to a node.
Within the transaction call object, the following information are required.
from: 20 Bytes - address of the sender.
to: 20 Bytes - address of the receiver.
gas: Hex representation of an integer of the gas provided for the transaction execution. eth_call consumes zero gas, but this parameter may be needed by some executions.
gasPrice: Hex representation of an integer of the gasPrice used for each paid gas
value: Hex representation of an integer of the value sent with this transaction
data: Hash of the method signature and encoded parameters. For details see Ethereum Contract ABI.
Result Fields
RETURN VALUE - the return value of the executed contract method.