/** Read-only methods available through Zone RPC. */ export const readMethods = new Set([ 'eth_blobBaseFee', 'eth_blockNumber', 'eth_call', 'eth_chainId', 'eth_createAccessList', 'eth_estimateGas', 'eth_feeHistory', 'eth_fillTransaction', 'eth_gasPrice', 'eth_getBalance', 'eth_getBlockAccessList', 'eth_getBlockByHash', 'eth_getBlockByNumber', 'eth_getBlockReceipts', 'eth_getBlockTransactionCountByHash', 'eth_getBlockTransactionCountByNumber', 'eth_getCode', 'eth_getLogs', 'eth_getProof', 'eth_getRawTransactionByHash', 'eth_getStorageAt', 'eth_getStorageValues', 'eth_getTransactionByBlockHashAndIndex', 'eth_getTransactionByBlockNumberAndIndex', 'eth_getTransactionByHash', 'eth_getTransactionCount', 'eth_getTransactionReceipt', 'eth_getUncleByBlockHashAndIndex', 'eth_getUncleByBlockNumberAndIndex', 'eth_getUncleCountByBlockHash', 'eth_getUncleCountByBlockNumber', 'eth_maxPriorityFeePerGas', 'eth_simulateV1', 'eth_syncing', 'net_listening', 'net_peerCount', 'net_version', 'web3_clientVersion', 'web3_sha3', 'zone_getEncryptionKey', 'zone_getZoneInfo', ]) /** Methods that broadcast caller-signed Zone transactions. */ export const writeMethods = new Set(['eth_sendRawTransaction', 'eth_sendRawTransactionSync']) /** Reads that require the public node to enforce the caller's account authorization. */ export const tokenMethods = new Set(['zone_getAuthorizationTokenInfo', 'zone_getDepositStatus'])