UNPKG

@keplr-ewallet/ewallet-sdk-eth

Version:
50 lines 1.4 kB
export const PUBLIC_RPC_METHODS = new Set([ "web3_clientVersion", "eth_blobBaseFee", "eth_blockNumber", "eth_chainId", "eth_call", "eth_coinbase", "eth_feeHistory", "eth_estimateGas", "eth_gasPrice", "eth_getBalance", "eth_getBlockByHash", "eth_getBlockByNumber", "eth_getBlockTransactionCountByHash", "eth_getBlockTransactionCountByNumber", "eth_getCode", "eth_getProof", "eth_getFilterChanges", "eth_getFilterLogs", "eth_getLogs", "eth_newBlockFilter", "eth_newFilter", "eth_newPendingTransactionFilter", "eth_uninstallFilter", "eth_getStorageAt", "eth_getTransactionByBlockHashAndIndex", "eth_getTransactionByBlockNumberAndIndex", "eth_getTransactionByHash", "eth_getTransactionCount", "eth_getTransactionReceipt", "eth_getUncleByBlockHashAndIndex", "eth_getUncleByBlockNumberAndIndex", "eth_getUncleCountByBlockHash", "eth_getUncleCountByBlockNumber", "eth_maxPriorityFeePerGas", "eth_protocolVersion", "eth_sendRawTransaction", "eth_syncing", ]); export const WALLET_RPC_METHODS = new Set([ "eth_accounts", "eth_requestAccounts", "eth_sendTransaction", "eth_signTransaction", "eth_signTypedData_v4", "personal_sign", "wallet_addEthereumChain", "wallet_switchEthereumChain", ]); //# sourceMappingURL=constants.js.map