CallKlaytnSmartContractMethod
Model getters
| Method name | Return type | Description | Notes |
|---|---|---|---|
| getContractAddress() | string | The address of the smart contract Example: 0x687422eEA2cB73B5d3e242bA5456b782919AFc85 | |
| 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"] | |
| getFromPrivateKey() | string | Private key of sender address. Private key, or signature Id must be present. Example: 0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2 | |
| getNonce() | float | Nonce to be set to Klaytn transaction. If not present, last known nonce will be used. Example: null | [optional] |
| getFee() | \Tatum\Model\TransferKlay20BlockchainFee | Example: null | [optional] |