Skip to main content

Provider methods

Wallet​

MethodResult
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_switchEthereumChainnull for Arc; error 4902 for any other chain
wallet_addEthereumChainnull for Arc; error 4200 for any other chain
eth_sendTransactionThe transaction hash, once final. See Send a transaction.

CrackPay​

MethodResult
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_v4
  • eth_sendRawTransaction, eth_signTransaction
  • wallet_sendCalls and the rest of EIP-5792
  • wallet_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