Web3 API Reference
Web3 API Reference
Standard Ethereum Provider API
eth_requestAccounts
const accounts = await ethereum.request({
method: 'eth_requestAccounts'
});
// Returns: ['0x...']eth_accounts
const accounts = await ethereum.request({
method: 'eth_accounts'
});eth_sendTransaction
personal_sign
eth_signTypedData_v4
wallet_switchEthereumChain
wallet_addEthereumChain
Macro-Specific API
macro_getPrivacyFeatures
macro_sendPrivateTransaction
macro_privateSwap
macro_getSigningPolicy
macro_getVPNStatus
macro_getCurrentProfile
Events
profileChanged
vpnStatusChanged
signingPolicyUpdated
Error Codes
Code
Meaning
Last updated