abi
Description
Retrieves the ABI for an account.
Positionals
name
TEXT - The name of the account whose ABI should be retrieved.
Options
-f,--file
TEXT - The name of the file to save the contract .abi to instead of writing to console.
Examples
Retrieve the ABI for sysio.token
contract and save the output to a file named sysio.token.abi
.
clio get abi sysio.token -f sysio.token.abi
Ouput:
cat sysio.token.abi
{
"version": "sysio::abi/1.2",
"types": [],
"structs": [{
"name": "account",
"base": "",
"fields": [{
"name": "balance",
"type": "asset"
}
]
},{
"name": "close",
"base": "",
....
}
}