remove unused ledger api