Users

Users

Get Stark keys for registered user

  • Typescript Core SDK

📚SDK REFERENCE

  • getUser

Request

Get Stark keys for user with the address 0x5D680Fbb3e60deCAbF62DfcACc56DB7d5964736a:

const getUserStarkKeys = async (ethAddress: string) => {
  const response = await client.getUser(ethAddress);
  return response;
};
getUserStarkKeys('0x5D680Fbb3e60deCAbF62DfcACc56DB7d5964736a')
  .then((result) => {
    console.log(result);
  })
  .catch((e) => {
    console.log(e);
  });

Example response

  • Kotlin (JVM) Core SDK

📚SDK REFERENCE

  • getUsers

  • Swift Core SDK

📚SDK REFERENCE

  • getUsers

  • Golang Core SDK

📚SDK REFERENCE

  • GetUsers

  • C# Core SDK

📚SDK REFERENCE

  • GetUsers

Get user balances

  • Typescript Core SDK

📚SDK REFERENCE

  • listBalances

Request

Get list of tokens owned by the user with address 0x5D680Fbb3e60deCAbF62DfcACc56DB7d5964736a:

Example response

  • Kotlin (JVM) Core SDK

📚SDK REFERENCE

  • listBalances

  • Swift Core SDK

📚SDK REFERENCE

  • listBalances

  • Golang Core SDK

📚SDK REFERENCE

  • ListBalances

  • C# Core SDK

📚SDK REFERENCE

  • ListBalances

Get specific balance for user

  • Typescript Core SDK

📚SDK REFERENCE

  • getBalance

Request

Get the balance of the token 0x1facdd0165489f373255a90304650e15481b2c85 owned by the user with address 0x1facdd0165489f373255a90304650e15481b2c85:

Example response

  • Kotlin (JVM) Core SDK

📚SDK REFERENCE

  • getBalance

  • Swift Core SDK

📚SDK REFERENCE

  • getBalance

  • Golang Core SDK

📚SDK REFERENCE

  • GetBalance

  • C# Core SDK

📚SDK REFERENCE

  • GetBalance

Last updated