Ed25519.signature

You're seeing just the function signature, go back to Ed25519 module for more information.
Link to this function

signature(m, sk, pk \\ nil)

View Source

Specs

signature(binary(), key(), key()) :: signature()

Sign a message

If only the secret key is provided, the public key will be derived therefrom. This adds significant overhead.