Is there an interface documentation for the ledger canister (with its canister ID and stuff)? Also, do I need the .did file for the ledger canister in by .dfx directory, or do I just need to send messages to the canister itself?
You can find its canister id and explore the interface here if it helps:
To copy the .did click “view .did file” there, you don’t need this to call the canister, but it can be used by tools like didc to decode the responses.
Re docs I think only those for getting started with the Rosetta api are up at the moment:
If you’re just looking to interact with the ledger from dfx there is a dfx ledger command, which is well documented here: https://sdk.dfinity.org/docs/developers-guide/cli-reference/dfx-ledger.html
Thanks, this looks right! Is there a way to get transaction history for a particular address? Like all transfers to/from an account?