loginClientWithMetamask
This command initiates a wallet-based authentication flow leveraging MetaMask. Instead of traditional credentials (such as username and password), the client proves identity by signing a server-provided message with their private key. The system then verifies the signature against the public wallet address to confirm ownership.
Documentation
Try it now
Request parameters:
Call example:
loginClientWithMetamask({
uri: 'https://www.vbetftn.com',
domain: 'www.vbetftn.com',
version: '1',
chainId: 1,
issuedAt: '2026-02-24T15:04:49.515Z',
signature: '0x22fa33bb9dda8177311bcf778c637708b2650b93cf690814bb4cdd7498d3dda06a47ec9b56cee6018fde2fcfcd1f3f775093391b4af0f4b638fc350dfbec33b81c',
publicAddress: '0xb7e34f8236DE929052f4C735280bF8eE7cbAA410'
})Response examples:
{
UserId: 190591310,
UserName: '#190591310',
Balance: 0,
Unplayed: 0,
Bonus: 0,
SportBonus: 0,
CasinoBonus: 0,
CasinoBonusWin: 0,
Frozen: 0,
CasinoFrozen: 0,
BonusWin: 0,
IsUsingLoyaltyProgram: true,
LoyaltyPoint: 0,
LoyaltyEarnedPoints: 0,
LoyaltyExchangedPoints: 0,
LoyaltyLastEarnedPoints: 0,
LoyaltyPointUsagePeriod: 0,
LoyaltyMaxExchangePoints: 0,
LoyaltyMinExchangePoints: 0,
BonusMoney: 0,
Token: '37ABB76CE85220837DE141BBF2BCA1E7',
Currency: 'FTN',
Currencies: 'TUS',
CurrencyName: 'FTN',
Email: '[email protected]',
Region: ' ',
IsVerified: false,
IsTaxApplicable: false,
ActiveStep: 1,
ActiveStepState: 4,
IsSubscribedToNewsletter: false,
HasFreeBets: false,
LoyaltyLevelId: 3270,
LoyaltyLevelOrder: 1,
LoyaltyLevelName: '1',
IsSuperBetAvailable: true,
CounterOfferMinAmount: 18.39,
SportsbookProfileId: 38,
IsGDPRPassed: false,
IsCashOutAvailable: true,
IsResident: false,
IsAgent: false,
LastLoginDate: 1759694491,
RegistrationDate: '2024-12-05',
IsSubscribeToEmail: true,
IsSubscribeToSMS: true,
IsSubscribeToBonus: true,
IsSubscribeToInternalMessage: true,
IsSubscribeToPushNotification: true,
IsSubscribeToPhoneCall: true,
IsSubscribeToDirectMail: true,
IsSubscribeToCasinoEmail: true,
IsSubscribeToCasinoNewsletter: true,
IsSubscribeToCasinoSMS: true,
IsSubscribeToCasinoBonus: true,
IsSubscribeToCasinoInternalMessage: true,
IsSubscribeToCasinoPushNotification: true,
IsSubscribeToCasinoPhoneCall: true,
IsBonusAllowed: true,
UnreadCount: 0,
PartnerId: 18749451,
Status: 1,
TermsAndConditionsVersion: '1',
TermsAndConditionsAcceptanceDate: '2024-12-05',
IsTwoFactorAuthenticationEnabled: true,
AuthenticationStatus: 0,
IsNewClient: false,
Language: 'en',
ExternalId: '0xb7e34f8236DE929052f4C735280bF8eE7cbAA410',
IsEmailVerified: false,
IsPhoneVerified: false,
IsMobilePhoneVerified: false,
DocRegionId: 0,
DepositCount: 0,
ChildId: 243963454,
NeedsSubscribtionsUpdate: false
}