Skip to main content Link Menu Expand (external link) Document Search Copy Copied

CallPolygonSmartContractMethodCaller

Model getters

Method name Return type Description Notes
getCaller() string The address of the account, which will be sender and fee payer of this transaction
Example: 0x687422eEA2cB73B5d3e242bA5456b782919AFc85
 
getContractAddress() string The address of the smart contract
Example: 0xC9c8ba8C7e2EAF43e84330Db08915A8106d7bD74
 
getAmount() string Amount of the assets to be sent.
Example: 100000
[optional]
getMethodName() string Name of the method to invoke on smart contract.
Example: transfer
 
getMethodAbi() object ABI of the method to invoke.
Example: {"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"}
 
getParams() string[]
Example: ["0x632"]
 
getFee() \Tatum\Model\CustomFee
Example: null
[optional]