CLI Commands for SONs
CLI commands that sons use.
1. SONs CLI Command Reference
1.1. create_son
signed_transaction graphene::wallet::wallet_api::create_son(
string owner_account,
string url,
vesting_balance_id_type deposit_id,
vesting_balance_id_type pay_vb_id,
flat_map<sidechain_type, string> sidechain_public_keys,
bool broadcast);create_son myaccountname-son "www.my-awesome-son.com" 1.13.79 1.13.80 [[bitcoin, 023b907586045625367ecd62c5d889591586c87e57fa49be21614209489f00f1b9]] true
# The above command is structured like this:
# create_son <username> "<SON proposal url>" <son vesting balance ID> <normal vesting balance ID> [[bitcoin, <bitcoin public key>]] true{
"ref_block_num": number,
"ref_block_prefix": number,
"expiration": "datetime",
"operations": [],
"extensions": [],
"signatures": []
}create_son myaccountname-son "www.my-awesome-son.com" 1.13.79 1.13.80 [[bitcoin, 023b907586045625367ecd62c5d889591586c87e57fa49be21614209489f00f1b9]] true
{
"ref_block_num": 10412,
"ref_block_prefix": 1003801100,
"expiration": "2015-02-05T00:11:00",
"operations": [[
101,{
"fee": {
"amount": 0,
"asset_id": "1.3.0"
},
"owner_account": "1.2.12345",
"url": "www.my-awesome-son.com",
"deposit": "1.13.79",
"signing_key": "PPY2j4hy47qY...",
"sidechain_public_keys": [[
"bitcoin",
"bc1abc1234..."
]
],
"pay_vb": "1.13.80"
}
]
],
"extensions": [],
"signatures": [
"268bd8....."
]
}1.2. update_son
1.3. update_son_vesting_balances
1.4. get_son
1.5. vote_for_son
1.6. update_son_votes
1.7. list_sons
1.8. list_active_sons
1.9. request_son_maintenance
1.10. cancel_request_son_maintenance
1.11. get_son_wallets
1.12. get_active_son_wallet
1.13. get_son_wallet_by_time_point
2. Sidechains CLI Command Reference
2.1. add_sidechain_address
2.2. delete_sidechain_address
2.3. get_sidechain_address_by_account_and_sidechain
2.4. get_sidechain_addresses_by_account
2.5. get_sidechain_addresses_by_sidechain
2.6. get_sidechain_addresses_count
Last updated
Was this helpful?
