Parameters
NoneResponse
array— an array of addresses owned by the client
array — an array of addresses owned by the clienteth_accounts code examplesconst { JsonRpcProvider } = require("ethers");
const provider = new JsonRpcProvider("CHAINSTACK_NODE_URL");
async function call() {
const result = await provider.send("eth_accounts", []);
console.log(result);
}
call();
Was this page helpful?