getmininginfonow returnsnBitsand the current target in thetargetfield. It also returns anextobject which specifies theheight,nBits,difficulty, andtargetfor the next block.getblockandgetblockheadernow return the current target in thetargetfieldgetblockchaininfoandgetchainstatesnow returnnBitsand the current target in thetargetfield
GET /rest/block/<BLOCK-HASH>.jsonandGET /rest/headers/<BLOCK-HASH>.jsonnow return the current target in thetargetfield