Provider methods
Wallet
| Method | Result |
|---|---|
eth_requestAccounts | [account]. Never prompts. |
eth_accounts | [account] |
eth_chainId | "0x13b2" on Arc mainnet, "0x4cef52" on Arc Testnet |
net_version | "5042" on Arc mainnet, "5042002" on Arc Testnet |
wallet_switchEthereumChain | null for Arc; error 4902 for any other chain |
wallet_addEthereumChain | null for Arc; error 4200 for any other chain |
eth_sendTransaction | The transaction hash, once final. See Send a transaction. |
CrackPay
| Method | Result |
|---|---|
crackpay_getProfile | { account, handle }. handle is the CrackPay handle without the "@", or null. Never prompts. Use getCrackPayUser. |
Read-only, forwarded to an Arc node
eth_blockNumber, eth_call, eth_estimateGas, eth_feeHistory,
eth_gasPrice, eth_getBalance, eth_getBlockByHash, eth_getBlockByNumber,
eth_getCode, eth_getLogs, eth_getStorageAt, eth_getTransactionByHash,
eth_getTransactionCount, eth_getTransactionReceipt, eth_maxPriorityFeePerGas.
Not supported
Everything else returns error 4200, including:
personal_sign,eth_sign,eth_signTypedData,eth_signTypedData_v3,eth_signTypedData_v4eth_sendRawTransaction,eth_signTransactionwallet_sendCallsand the rest of EIP-5792wallet_requestPermissions,wallet_getPermissions,wallet_watchAsset
Events
The provider implements on and removeListener. CrackPay emits no
accountsChanged or chainChanged: neither changes during a session.
Not available yet
These are planned but not available yet. Do not depend on them:
- QR scanning, contact picker and exchange-rate methods
- Phone-number lookup
- Message and typed-data signing
- Batched calls