Adds ledger API for Go server