pdk.node.BlockchainEth

contains functions that can be used with Blockchain EVM Connector

All functions


gasPrice

Retrieves the current price of gas, which represents the cost required to execute transactions or contract functions on the blockchain. This function interacts with the blockchain network to obtain the most up-to-date gas price, considering factors such as network congestion and demand.

The gas price is crucial for users and developers interacting with the blockchain, as it determines the fees associated with their transactions. By providing a means to access the current gas price, this function enables users to make informed decisions about the cost and priority of their transactions.

this function can be used only inside EVM Blockchain Smart Contract Function node

Arguments:

  • none

Result:


getTransactionReceipt

Returns the transaction receipt for an Ethereum Virtual Machine (EVM) blockchain provides information about the status and details of a specific transaction that has been processed on the blockchain. This function takes the transaction hash as input and retrieves the corresponding transaction receipt, which includes essential information such as the block number, gas used, status of the transaction (successful or failed), and any event logs emitted during the transaction execution.

this function can be used only inside EVM Blockchain Smart Contract Function node

Arguments:

Result:

Last updated