Contract Interaction

Contract Interaction

A Contract object is an abstraction of a contract (bytecode) deployed on the Theta network. It allows for a simple way to serialize calls and transactions to an on-chain contract and deserialize their results.

A ContractFactory is an abstraction of a contract's bytecode and facilitates deploying a contract.