This repository has been archived by the owner on May 27, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 199
API
Tyrone Lobban edited this page May 18, 2017
·
3 revisions
Cakeshop comes with a suite of RESTful APIs that make interacting with an Ethereum-like node simple. The API tab provides the full documentation for the APIs that Cakeshop exposes, including example usage and response formats.
- /block/get: Retrieve a block by id, number or tag
- /contract/compile: Compile the given source code into EVM binary
- /contract/create: Deploy the given contract onto the chain and add it to the Contract Registry
- /contract/get: Get information about the contract at the given address
- /contract/list: List all deployed contracts on the chain
- /contract/read: Read contract data using the given method and arguments (does not create a transaction). Optionally read historical state data by passing a block number in the past.
- /contract/transact: Call a transactional method on the given contract. No state will change until the transaction is committed into a Block.
- /transaction/get: Get transaction information for the given ID
- /node/get: Get node information
- /node/peers: Retrieve information on the peers connected to the node.
- /node/start: Start node
- /node/stop: Stop node
- /node/reset: Reset the chain to block zero
- /node/update: Update node configuration. May cause node to restart or even reset.
- Home
- Getting Started
- Downloading Cakeshop
- Running Cakeshop
- Default Mode
- Attach Mode
- Multi-Instance Setup
- Running on quorum-examples
- Cakeshop Overview
- Console
- Contracts Explorer
- Sandbox
- Chain Explorer
- Wallet
- Peers
- API
- FAQs