Skip to main content

Solana Multiple Events

Multiple Events Example

import { Web3Kit, ChainType } from "@tokenup/web3kit";

// Send Connect And SignMessage
function multiple() {
const web3Kit = new Web3Kit();
const response = await web3Kit.multipleRequest({
chainType: ChainType.Solana,
events: [
{
methodName: "connect",
},
{
methodName: "signMessage",
params: {
message: "", // base58
display: "utf8",
},
},
],
});
}