Contract
A Contract Blockchain API allows you to interact with smart contracts on a Zetrix blockchain network programmatically. Smart contracts are agreements that execute automatically when certain conditions are met, and they are stored on the blockchain.
With a Contract Blockchain API, developers can automate the interaction with these smart contracts, allowing them to build decentralized applications (DApps) and more complex blockchain-based systems.
This API typically uses a set of methods to interact with smart contracts, including methods to write data to the blockchain, read data from the blockchain, and execute smart contract functions.
Query Contract
CURL Command
Function
To query all the contract based contract key.
The body is in json format
Here body transfer is the transaction data. For specific json format and parameters, see Transaction Structure. Example:
Return Value
Invoke Contract - Generate Blob
CURL Command
Function
Generate a blob.
The body is in json format
Here body transfer is the transaction data. For specific json format and parameters, see Transaction Structure. Example:
Return Value
Invoke Contract - Submit
CURL Command
Function
To invoke data to contract.
The body is in json format
Here body transfer is the transaction data. For specific json format and parameters, see Transaction Structure. Example:
Return Value
Last updated