implementation details for the gatecoin API