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

Data for Account Endpoint

Build the Request with required fields

requestBuilder : Stellar.Endpoint.Endpoint -> Stellar.PublicKey.PublicKey -> DataKey -> 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.Data.Data

The Response coming back from the server.

Available Data


type DataKey
    = UserId

Union type of available Data to request

dataKeyList : List DataKey

List of available Data to request