Contract API
This is the introduction page for the Contract API.
About the Contract API
The Contract API of ChainZ API Service makes it easy to deploy and manage Smart Contracts on the ChainZ network. It also provides an API that allows you to search the transaction that called the contract, and the data and events stored in the contract.
You can create a transaction to be used for the Transaction API, and you can also search the data of the Smart Contract.
Using Contract API
For the usage method, refer to Getting Started > Using API > Procedure for Using API > Using Contract API.
List of Contract APIs
Classification
Method
API name
Description
Contract Artifacts
GET
/api/v1/contract/artifacts
This is an API for searching contract information.
POST
/api/v1/contract/artifacts
This is an API for registering contract information.
GET
/api/v1/contract/artifacts/ids/{contractId}
This is an API for searching contract information by contract ID.
PUT
/api/v1/contract/artifacts/ids/{contractId}
This is an API for modifying contract information.
DELETE
/api/v1/contract/artifacts/ids/{contractId}
This is an API for deleting contract information.
GET
/api/v1/contract/artifacts/history
This is an API for searching the record of contract information.
Contract Deployment
GET
/api/v1/contract/deployments
This is an API for searching information of deployed contracts.
Contract Query
GET
/api/v1/contract/query/chains/{chainId}/contracts/{contractId}
This is an API for searching data stored in Contract.
Contract Event
GET
/api/v1/contract/events/chains/{chainId}/contracts/{contractAddress}
This is an API for searching events that occur in contracts on the blockchain.
Contract Transaction
GET
/api/v1/contract/transactions/chains/{chainId}/contracts/{contractAddress}
This is an API for searching transactions that occur in contracts on the blockchain.
Provider Contract
GET
/api/v1/mgmt/contract/artifacts
This is an API for searching registered contract artifacts.
GET
/api/v1/mgmt/contract/deployments
This is an API for searching the list of deployed contracts.
GET
/api/v1/mgmt/contract/artifacts/stats/periodController_getContractStat
This is an API for searching the list of contract artifacts registered during a specific period.
Last updated