Add new api method, api.validateTrade