ryan-senn / stellar-elm-sdk / Stellar.Endpoints.LedgerDetails

Ledger Details Endpoint

Build the Request with required fields

requestBuilder : Stellar.Endpoint.Endpoint -> Basics.Int -> HttpBuilder.RequestBuilder Response

Request Builder. Takes the mandatory fields as arguments, the optional fields can be piped using setters.

Send the Request & catch Response

send : (Result Http.Error Response -> msg) -> HttpBuilder.RequestBuilder Response -> Platform.Cmd.Cmd msg

Send the request once configured.


type Response
    = Error Stellar.Error.Error
    | Success Stellar.Resources.Ledger.Ledger

The Response coming back from the server.