 
         let queryVals = [includeRaw.description, includeTx.description, includeTxRaw.description, includeTxProof.description]
 
-        dbMakeRequest (path: "blocks/\(blockId)", query: zip (queryKeys, queryVals), embedded: false) {
-            (more: Bool, res: Result<[BlockChainDB.JSON], BlockChainDB.QueryError>) in
+        bdbMakeRequest (path: "blocks/\(blockId)", query: zip (queryKeys, queryVals), embedded: false) {
+            (more: Bool, res: Result<[JSON], QueryError>) in
             precondition (!more)
             completion (res.flatMap {
                 BlockChainDB.getOneExpected (id: blockId, data: $0, transform: Model.asBlock)

    }

    public func getCurrencies (blockchainId: String? = nil, completion: @escaping (Result<[Model.Currency],QueryError>) -> Void) {
        dbMakeRequest (path: "currencies", query: blockchainId.map { zip(["blockchain_id"], [$0]) }) {
            (more: Bool, res: Result<[BlockChainDB.JSON], BlockChainDB.QueryError>) in
            precondition (!more)
            completion (res.flatMap {
                BlockChainDB.getManyExpected(data: $0, transform: Model.asCurrency)

            "id" : rid
        ]

        apiMakeRequestJSON(ewm: ewm, data: json) { (res: Result<JSON, QueryError>) in
            let result = try! res
                .map { $0.asString (name: "result")! }
                .recover { (ignore) in "0xffc0" }
