docker-compose up -Vd *mainnet or testnet*`curl -H "Content-Type: application/json" --data '{"method": "getnewaddress"}' rpcuser:rpcpassword@ip:portOr, you can specify account and get this address assigned to new address
curl -H "Content-Type: application/json" --data '{"method": "getnewaddress", "params": ["billy"]}' rpcuser:rpcpassword@ip:portWhere 'billy' is your account name. You can check that address for account was created properly:
curl -H "Content-Type: application/json" --data '{"method": "validateaddress", "params": ["bitcoincash:qrf8qjayhg0cakja6e34hpwy6lyeuf2q9g3zpjy7ez"]}' rpcuser:rpcpassword@ip:portcurl -H "Content-Type: application/json" --data '{"method": "getblockchaininfo"}' rpcuser:rpcpassword@ip:portMore: BitcoinCash RPC API