/evaluateSmartContractTransactionWithContractInfo
1 min
POST
/evaluateSmartContractTransactionWithContractInfo
from_addressstringthe address where the transaction is sent from.
contract_addressstringthe address of the contract to send to
function_namestring<p>representing the function name to call, e.g. "foo" (with no params).</p>
parameters_fields_types_and_valuesobject<p>The list of pairs of "type" and value for each parameter in the function (see <a href="https://docs.soliditylang.org/en/develop/abi-spec.html" target="_blank">https://docs.soliditylang.org/en/develop/abi-spec.html</a> for the full specifications).</p>
gas_limitinteger<p>the gas limit we want to transfer, in gas units - if None the gas limit will be the default value from the eth call.</p>
gas_priceinteger<p>the gas price we want to transfer with, in Wei - if None the gas price will be the default value from the eth call.</p>
amountinteger<p>the amount to send with this transaction, in Wei - if None the amount will be the default value from the eth call. transaction</p>
evm_coin_symbolstring<p>the coin symbol of the EVM network on which the smart contract is deployed, for example ETH, CELO, POL etc...</p>
acceptstringGenerated from available response content types
bodyobjectRequest data for an Ethereum contract transaction.
200success
curl --request POST \
--url '/evaluateSmartContractTransactionWithContractInfo?from_address=0x862842A56B5D5F30B7d519cCe683983F57499cE6&contract_address=0x4022243F55675F33C8159A16Be7a22264ACBB545&function_name=transfer¶meters_fields_types_and_values=[{%22key%22%3A%22address%22%2C%22value%22%3A%220x6705ff69a6745ee35e2a7c3a0A8fb27698C7ea67%22}%2C{%22key%22%3A%22uint%22%2C%22value%22%3A%221%22}]&gas_limit=600000&gas_price=1000000000&amount=1&evm_coin_symbol=POL' \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"FunctionData": {
"Amount": "1",
"ContractAddress": "0x4022243F55675F33C8159A16Be7a22264ACBB545",
"DataForContract": {
"FunctionName": "transfer"
},
"EvmCoinSymbol": "ETH",
"FromAddress": "0x862842A56B5D5F30B7d519cCe683983F57499cE6",
"GasLimit": "600000",
"GasPrice": "1000000000"
},
"Meta": {
"FunctionName": "evaluateSmartContractTransactionWithContractInfo",
"RandomData": "288cd49d4b8bf00e7d6114b78d5668d5581d6b953fafef779133caa844cd4229",
"Destination": "b9cb8afe52f1d52521cf2b62dfe12146156ad5328f83c62c20c7da81b263356a61340de745c858998544c041798b01c2f4fac31bebe52a19280a32cd57d6d374ea",
"Time": "2021-02-07T18:37:46.948Z",
"Source": "048b99461a70a49abe63fd585cb224177a22a92d2e9e4ddfbc0027887bee9d1843388f42a3eb2e740565e115ad8b7981abf59e3b03b771f4b063b53c517d7a9d99",
"AccessToken": "51311c84d2c8fd2fafbe56ceb1fb30a99d3417abfc55769577338ab286798087"
}
}'