PUT Connect
Connection Example
typescript
import { Web3Kit, ChainType } from "@web3jskit/dapp";
interface IConnectRes {
address: string;
}
async function connect() {
const web3Kit = new Web3Kit();
const serRes: IConnectRes = await web3Kit.request({
chainType: ChainType.PUT,
methodName: "connect",
});
}
Request Parameters
typescript
{
chainType: ChainType.PUT,
methodName: "connect",
};
Return Value
typescript
{
address: 'adc....xyz', // Authorized user wallet
}