Remix for Theta Deploy Contract Interact With Dapp Builder Help Examples Subchain Data Broadcast TXN Donate

In this Example we built a portable library called theta.php to interact with the ETH RPC. We are going to use it to read the contract from example 9 and get the three fee variables, an account number's expiriation timestamp and the balance of Tfuel that is in the contract.

Get the Contract's Monthly Fee (returned in Wei).

Get the Contract's Six Month Fee (returned in Wei).

Get the Contract's Yearly Fee (returned in Wei).

Get the Timestamp an Account Expires on.

Get the Balance of tFuel in the Contract (returned in Wei).

© 2023