code
Command
clio get code <name> [OPTIONS]
Description
Retrieves the code and ABI for an account.
Synopsis
clio get code
<name> # REQUIRED: The name of the account whose code should be retrieved
[--code <filename>] # The name of the file to save the contract .wast to
[--abi <filename>] # The name of the file to save the contract .abi to
[--wasm] # Save contract as wasm
[-h, --help] # Print this help message and exit
Examples
Output the hash of sysio.token
contract
clio get code sysio.token
Output:
code hash: 92d0fa227e2ebe492d40f88ed12ad0ebab627080830727c5b0c0021246e58955