📍ftm.call()
Description: Executes a transaction call without submitting it to the blockchain.
Parameters
Name
Type
Description
object
object
The transaction call object with the following fields:
from
string
(optional)
Address the transaction is sent from.
to
string
Address the transaction is directed to.
gas
integer
(optional)
Gas provided for transaction execution.
gasprice
integer
(optional)
Gas price used per gas unit, encoded as a hexadecimal.
value
integer
(optional)
Value sent with this transaction, encoded as a hexadecimal.
data
string
(optional)
Hash of the method signature and encoded parameters (see Solidity Contract ABI documentation).
quantity or tag
integer
/ string
Block number or one of 'latest'
, 'earliest'
, or 'pending'
(see Ethereum default block parameter documentation).
Returns
Type
Description
data
The return value of the executed contract.
Last updated