Authenticate
Using Auth, authenticate the user by signing a payload that can be used to securely identify users.
Usage
var data = await sdk.wallet.Authenticate("domain");
Configuration
domain
The domain you used in your authentication backend.
Learn more about how auth works.
Must be a string
.
var data = await sdk.wallet.GetBalance("{{currency_contract_address}}");
Return Value
Returns a LoginPayload
struct containing the following properties:
{
string signature;
{
string domain;
string address;
string nonce;
string expiration_time;
string chain_id;
}
}