starting conversion to bitnz api