Registration
Request Challenge Transaction
Changed onAllows the wallet to get the SEP-10 challenge transaction to be signed. More information here. The endpoint url can change but is provided in the Get Stellar toml endpoint response under the WEB_AUTH_ENDPOINT variable.
get/sep10/auth
Request
- Base URL(relative, and the document was published on a file host, not at the API’s origin)
- Authnone declared
Query parameters
accountstring required
The client account (G...) that the client wishes to authenticate with the server.
memostring
The memo to attach to the challenge transaction. Only permitted if a Stellar account (G...) is used. The memo must be of type id. Other memo types are not supported.
home_domainstring
Home domain for SEP-10. Defaults to the server base domain if omitted.
client_domainstring
Client domain for wallet attribution. Required when SEP-10 client attribution is enabled (default).
Response
OK
Example response
{
"transaction": "AAAAAgAAAADIiRu2BrqqeOcP28PWCkD4D5Rjjsqh71HwvqFX+F4VXAAAAGQAAAAAAAAAAAAAAAEAAAAAXzrUcQAAAABfOtf1AAAAAAAAAAEAAAABAAAAAEEB8rhqNa70RYjaNnF1ARE2CbL50iR9HPXST/fImJN1AAAACgAAADB0aGlzaXNhdGVzdC5zYW5kYm94LmFuY2hvci5hbmNob3Jkb21haW4uY29tIGF1dGgAAAABAAAAQGdGOFlIQm1zaGpEWEY0L0VJUFZucGVlRkxVTDY2V0tKMVBPYXZuUVVBNjBoL09XaC91M2Vvdk54WFJtSTAvQ2UAAAAAAAAAAfheFVwAAABAheKE1HjGnUCNwPbX8mz7CqotShKbA+xM2Hbjl6X0TBpEprVOUVjA6lqMJ1j62vrxn1mF3eJzsLa9s9hRofG3Ag==",
"network_passphrase": "Test SDF Network ; September 2015"
}Changes
- info
endpoint added
- info