added getRawLedger and getRawTxForLedger